mgbam commited on
Commit
a2752dc
·
verified ·
1 Parent(s): 548d05e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"].split('/')[-1], # e.g., "DeepSeek-V3-0324" -> "DeepSeek-V3-0324"
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