diff --git a/backend/app/core/config.py b/backend/app/core/config.py index 7a9df5b..8072e6a 100644 --- a/backend/app/core/config.py +++ b/backend/app/core/config.py @@ -1,27 +1,27 @@ -from pydantic_settings import BaseSettings +from pydantic_settings import BaseSettings, SettingsConfigDict class Settings(BaseSettings): - # Frontend Config - FRONTEND_URL: str + # Load environment variables from the local .env file + # so the backend can run correctly during local development. + model_config = SettingsConfigDict( + env_file=".env", + env_file_encoding="utf-8", + ) - # LLM Provider + FRONTEND_URL: str PROVIDER: str - - # Azure OpenAI Config AZURE_API_VERSION: str AZURE_ENDPOINT: str AZURE_API_KEY: str AZURE_DEPLOYMENT_NAME: str AZURE_EMBEDDING_DEPLOYMENT_NAME: str - - # Qdrant Config QDRANT_URL: str QDRANT_COLLECTION_NAME: str - - # Langfuse Config LANGFUSE_SECRET_KEY: str LANGFUSE_PUBLIC_KEY: str LANGFUSE_HOST: str -settings = Settings() + +# Create one shared settings object for the app +settings = Settings() \ No newline at end of file diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index ede5909..41ec79b 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -32,6 +32,7 @@ export default function LandingPage() { AI Explorer +
+ +
@@ -98,7 +104,6 @@ export default function LandingPage() { {/* Features Section */}
- {/* AI Chatbot Feature */}
@@ -111,13 +116,12 @@ export default function LandingPage() {

Ask questions in natural language and get intelligent - responses. The Chatbot can retrieve, and analyze biomodels - using LLMs with Tool Calling. + responses. The chatbot can retrieve and analyze biomodels + using LLMs with tool calling.

- {/* All-in-One Tools Feature */}
@@ -132,6 +136,7 @@ export default function LandingPage() {

All essential tools in one platform

+
@@ -139,22 +144,23 @@ export default function LandingPage() { Biomodel Database Search
+
VCML and SBML File Retrieval
+
- Biomodels Diagrams + Biomodel Diagrams
- {/* Private Access Feature */}
@@ -175,10 +181,9 @@ export default function LandingPage() {
- {/* Footer */}
); -} +} \ No newline at end of file