Spaces:
Sleeping

axeronis commited on
Commit
bc03734
·
1 Parent(s): eaae5c4

Fix: Add GEMINI_API_KEY to Settings to fix AttributeError

Browse files
Files changed (1) hide show
  1. backend/app/core/config.py +5 -1
backend/app/core/config.py CHANGED
@@ -24,7 +24,11 @@ class Settings(BaseSettings):
24
 
25
  # Groq AI (LLM)
26
  GROQ_API_KEY: str
27
- EMBEDDING_DIMENSION: int = 384 # sentence-transformers: all-MiniLM-L6-v2
 
 
 
 
28
 
29
  # Security
30
  SECRET_KEY: str
 
24
 
25
  # Groq AI (LLM)
26
  GROQ_API_KEY: str
27
+
28
+ # Gemini AI (Embeddings)
29
+ GEMINI_API_KEY: Optional[str] = None
30
+
31
+ EMBEDDING_DIMENSION: int = 768 # Gemini text-embedding-004
32
 
33
  # Security
34
  SECRET_KEY: str