Commit 358ac39b authored by Kantz's avatar Kantz
Browse files

math_intet deaktivert

parent a8ba91dd
......@@ -43,14 +43,14 @@ ODER
"""
def solve_with_tools(user_text: str) -> str:
return "none"
messages = [
{"role": "system", "content": SYSTEM},
{"role": "user", "content": user_text + "\nAntworte nur mit 'Keine Lösung' falls es in dieser Nachricht KEINE Berechung gibt."},
]
result, tool_outputs = llm_client.chat_with_tools(
result = llm_client.chat(
messages=messages,
tools=[sympy_solve],
use_ollama=True,
)
return llm_client.get_message_content(result)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment