Update app.py
Browse files
app.py
CHANGED
@@ -1093,7 +1093,7 @@ This will help me create a better design for you."""
|
|
1093 |
"Content-Type": "application/json"
|
1094 |
}
|
1095 |
payload = {
|
1096 |
-
"model": _current_model["id"]
|
1097 |
"messages": [{"role": m["role"], "content": m["content"]} for m in messages],
|
1098 |
"stream": True,
|
1099 |
"max_tokens": 5000
|
|
|
1093 |
"Content-Type": "application/json"
|
1094 |
}
|
1095 |
payload = {
|
1096 |
+
"model": _current_model["id"], # Use the full model ID from AVAILABLE_MODELS
|
1097 |
"messages": [{"role": m["role"], "content": m["content"]} for m in messages],
|
1098 |
"stream": True,
|
1099 |
"max_tokens": 5000
|