sajjadrahman56 commited on
Commit
24c3550
·
verified ·
1 Parent(s): 7650816

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def generate_math_solution_openrouter(api_key, problem_text, history=None):
47
  # calling the model
48
  completion=client.chat.completions.create(
49
  model="microsoft/phi-4-reasoning-plus:free",
50
- messages=messages
51
  extra_headers={
52
  "HTTP-Referer": "https://advancedmathtutor.edu",
53
  "X-Title": "Advanced Math Tutor",
 
47
  # calling the model
48
  completion=client.chat.completions.create(
49
  model="microsoft/phi-4-reasoning-plus:free",
50
+ messages=messages,
51
  extra_headers={
52
  "HTTP-Referer": "https://advancedmathtutor.edu",
53
  "X-Title": "Advanced Math Tutor",