Spaces:
Sleeping
Sleeping
Update src/config.py
Browse files- src/config.py +1 -1
src/config.py
CHANGED
|
@@ -49,7 +49,7 @@ def create_llm():
|
|
| 49 |
return ChatOpenAI(
|
| 50 |
model="gpt-4o-mini", # More cost-effective for demos
|
| 51 |
api_key=openai_key,
|
| 52 |
-
base_url=
|
| 53 |
temperature=0.1,
|
| 54 |
max_tokens=1024,
|
| 55 |
request_timeout=30, # Increased timeout for stability
|
|
|
|
| 49 |
return ChatOpenAI(
|
| 50 |
model="gpt-4o-mini", # More cost-effective for demos
|
| 51 |
api_key=openai_key,
|
| 52 |
+
base_url="https://models.inference.ai.azure.com", # Optional custom endpoint
|
| 53 |
temperature=0.1,
|
| 54 |
max_tokens=1024,
|
| 55 |
request_timeout=30, # Increased timeout for stability
|