adAstra144 commited on
Commit
e96a058
·
verified ·
1 Parent(s): 5107926

prompt fixed to use same lang as msg

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,8 +43,8 @@ def explain(req: ExplainRequest):
43
  "Output only the explanation as bullet points. "
44
  "Limit each bullet to 1–2 sentences. "
45
  "Limit the number of bullets to 3-4 "
46
- "Reply in the same language as the user's message. "
47
  f"Message:\n\n{user_message}"
 
48
  )
49
 
50
  url = "https://openrouter.ai/api/v1/chat/completions"
 
43
  "Output only the explanation as bullet points. "
44
  "Limit each bullet to 1–2 sentences. "
45
  "Limit the number of bullets to 3-4 "
 
46
  f"Message:\n\n{user_message}"
47
+ "Respond using the same language as the message."
48
  )
49
 
50
  url = "https://openrouter.ai/api/v1/chat/completions"