Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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",
|