Skip to content

Commit 36ef213

Browse files
authored
Fix two issues (1 frontend/ 1 backend) (#91)
* Upgrade model version again * Configure Azure Developer Pipeline * Fix os env var error and tailwind error
1 parent 02a1acd commit 36ef213

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/backend/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async def create_app():
5959
content_field=os.environ.get("AZURE_SEARCH_CONTENT_FIELD") or "chunk",
6060
embedding_field=os.environ.get("AZURE_SEARCH_EMBEDDING_FIELD") or "text_vector",
6161
title_field=os.environ.get("AZURE_SEARCH_TITLE_FIELD") or "title",
62-
use_vector_query=(os.environ.get("AZURE_SEARCH_USE_VECTOR_QUERY") == "true") or True
62+
use_vector_query=(os.getenv("AZURE_SEARCH_USE_VECTOR_QUERY", "true") == "true")
6363
)
6464

6565
rtmt.attach_to_app(app, "/realtime")

app/frontend/tailwind.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/** @type {import('tailwindcss').Config} */
2+
import plugin from "tailwindcss-animate";
3+
24
export default {
35
darkMode: ["class"],
46
content: ["./index.html", "./src/**/*.{js,jsx,ts,tsx}"],
@@ -58,5 +60,5 @@ export default {
5860
}
5961
}
6062
},
61-
plugins: [require("tailwindcss-animate")]
63+
plugins: [plugin]
6264
};

0 commit comments

Comments
 (0)