feat: integrate OpenAI API with configurable settings for model and base URL

This commit is contained in:
Christian Krakau-Louis
2025-03-28 13:50:10 +01:00
parent de06fd1286
commit 43500ce66f
4 changed files with 20 additions and 13 deletions
+2
View File
@@ -13,6 +13,8 @@ class Settings(BaseSettings):
redis_url: str
s3_bucket_name: str
openai_api_key: str
openai_base_url: str = "https://api.openai.com/v1" # Default to OpenAI's endpoint
openai_model: str = "gpt-4o-mini" # Default model
workdir: str
dropbox_app_key: str
dropbox_app_secret: str