Update main.py
Browse files
main.py
CHANGED
|
@@ -216,6 +216,7 @@ async def chat(request: ChatRequest, background_tasks: BackgroundTasks, api_key:
|
|
| 216 |
"model_id": 'openai/gpt-4o-mini',
|
| 217 |
"conversation_id": conversation_id,
|
| 218 |
"user_id": request.user_id
|
|
|
|
| 219 |
endpoint_url = "https://pvanand-general-chat.hf.space/v2/followup-agent"
|
| 220 |
|
| 221 |
else:
|
|
|
|
| 216 |
"model_id": 'openai/gpt-4o-mini',
|
| 217 |
"conversation_id": conversation_id,
|
| 218 |
"user_id": request.user_id
|
| 219 |
+
}
|
| 220 |
endpoint_url = "https://pvanand-general-chat.hf.space/v2/followup-agent"
|
| 221 |
|
| 222 |
else:
|