Spaces:
Running
Running
| from pydantic_settings import BaseSettings, SettingsConfigDict | |
| class Settings(BaseSettings): | |
| model_config = SettingsConfigDict( | |
| env_file=".env", extra="ignore", env_file_encoding="utf-8" | |
| ) | |
| # --- API Keys --- | |
| RAPIDAPI_KEY: str | |
| SEARCH_API_URL: str | |
| RAPIDAPI_HOST: str | |
| REDIS_URL: str | |
| OS_SECURITY_KEY: str | |
| GOOGLE_API_KEY: str | |
| GROQ_API_KEY: str | |
| CO_API_KEY: str | |
| # --- Agent Configuration --- | |
| AGENT_NAME: str = "Gem - Shopping Agent" | |
| AGENT_ID: str = "shopping-agent" | |
| AGENT_MODEL: str = "gemini-2.5-flash" | |
| RERANKING_MODEL: str = "rerank-v3.5" | |
| MEMORY_MANAGER_MODEL: str = "moonshotai/kimi-k2-instruct-0905" | |
| NUM_HISTORY_RUNS: int = 5 | |
| SEARCH_LIMIT: int = 6 | |
| settings = Settings() |