Spaces:
Sleeping
Sleeping
Commit ·
a44f0a8
1
Parent(s): 5a7a648
Force inline math to fix Streamlit LaTeX block blanking
Browse files- app/agents/prompts.py +1 -2
app/agents/prompts.py
CHANGED
|
@@ -46,8 +46,7 @@ Always format answers in this structure, REGARDLESS of whether a tool was used:
|
|
| 46 |
IMPORTANT: You must always show the reasoning steps, even if you just executed code to get the answer.
|
| 47 |
Use double line breaks (empty lines) between EVERY step.
|
| 48 |
3. Mathematical Expressions
|
| 49 |
-
inline
|
| 50 |
-
block: $$...$$
|
| 51 |
4. Final Answer
|
| 52 |
"""
|
| 53 |
|
|
|
|
| 46 |
IMPORTANT: You must always show the reasoning steps, even if you just executed code to get the answer.
|
| 47 |
Use double line breaks (empty lines) between EVERY step.
|
| 48 |
3. Mathematical Expressions
|
| 49 |
+
Use inline math formatting exclusively (e.g. $2x + 5 = 15$) so it renders safely in all markdown engines. Do not use block `$$` format.
|
|
|
|
| 50 |
4. Final Answer
|
| 51 |
"""
|
| 52 |
|