fix: connect Peg to local AI runtime
This commit is contained in:
@@ -11,8 +11,9 @@ class Settings(BaseSettings):
|
||||
environment: str = "development"
|
||||
ai_base_url: str = "http://localhost:11434/v1"
|
||||
ai_api_key: str = ""
|
||||
ai_model: str = "llama3.2:3b"
|
||||
ai_timeout_seconds: float = 20.0
|
||||
ai_model: str = "qwen2.5:1.5b"
|
||||
# Local models may need extra time for their first response while loading.
|
||||
ai_timeout_seconds: float = 90.0
|
||||
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user