Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -344,7 +344,7 @@ def generate_ai_reasoning(user_data, diet_tags, exercise_tags):
|
|
| 344 |
{"role": "user", "content": user_prompt},
|
| 345 |
],
|
| 346 |
temperature=0.6,
|
| 347 |
-
max_tokens=
|
| 348 |
include_reasoning=False,
|
| 349 |
)
|
| 350 |
|
|
@@ -461,7 +461,7 @@ CRITICAL LANGUAGE RULE: You MUST translate ALL generated string values (except k
|
|
| 461 |
{"role": "user", "content": user_prompt},
|
| 462 |
],
|
| 463 |
temperature=0.7,
|
| 464 |
-
max_tokens=
|
| 465 |
response_format={"type": "json_object"},
|
| 466 |
include_reasoning=False,
|
| 467 |
)
|
|
|
|
| 344 |
{"role": "user", "content": user_prompt},
|
| 345 |
],
|
| 346 |
temperature=0.6,
|
| 347 |
+
max_tokens=1000,
|
| 348 |
include_reasoning=False,
|
| 349 |
)
|
| 350 |
|
|
|
|
| 461 |
{"role": "user", "content": user_prompt},
|
| 462 |
],
|
| 463 |
temperature=0.7,
|
| 464 |
+
max_tokens=4000,
|
| 465 |
response_format={"type": "json_object"},
|
| 466 |
include_reasoning=False,
|
| 467 |
)
|