@@ -14,27 +14,27 @@ class Settings(BaseSettings):
1414 Application settings.
1515 All can be overridden via environment variables.
1616 """
17-
17+
1818 # Application
1919 app_name : str = "CodebaseQA"
2020 debug : bool = False
21-
21+
2222 # API Server
2323 host : str = "0.0.0.0"
2424 port : int = 8000
25-
25+
2626 # CORS
2727 cors_origins : List [str ] = ["http://localhost:3000" , "http://127.0.0.1:3000" ]
28-
28+
2929 # Database
3030 database_url : str = "sqlite:///./data/codebaseqa.db"
31-
31+
3232 # Vector Store
3333 vector_db_type : str = "chroma" # "chroma" or "qdrant"
3434 chroma_persist_dir : str = "./data/chroma"
3535 qdrant_url : Optional [str ] = None
3636 qdrant_api_key : Optional [str ] = None
37-
37+
3838 # LLM Providers
3939 llm_provider : str = "openai" # "openai", "anthropic", "ollama"
4040 openai_api_key : Optional [str ] = None
@@ -43,28 +43,28 @@ class Settings(BaseSettings):
4343 anthropic_model : str = "claude-sonnet-4-20250514"
4444 ollama_base_url : str = "http://localhost:11434"
4545 ollama_model : str = "llama3.1"
46-
46+
4747 # Embedding Providers
4848 embedding_provider : str = "openai" # "openai", "voyage", "local"
4949 openai_embedding_model : str = "text-embedding-3-small"
5050 voyage_api_key : Optional [str ] = None
5151 voyage_model : str = "voyage-code-3"
5252 local_embedding_model : str = "nomic-ai/nomic-embed-text-v1.5"
53-
53+
5454 # GitHub
5555 github_token : Optional [str ] = None
5656 repos_dir : str = "./data/repos"
57-
57+
5858 # Processing limits
5959 max_file_size_kb : int = 500 # Skip files larger than this
6060 max_files_per_repo : int = 5000
6161 chunk_size_tokens : int = 1500
6262 chunk_overlap_tokens : int = 200
63-
63+
6464 # Rate limiting
6565 rate_limit_requests : int = 100
6666 rate_limit_window_seconds : int = 60
67-
67+
6868 class Config :
6969 env_file = ".env"
7070 env_file_encoding = "utf-8"
0 commit comments