Update llm.py

This commit is contained in:
SpudGunMan
2025-08-16 21:24:46 -07:00
parent ac33f8a02b
commit 388d862fc9
+1 -1
View File
@@ -135,7 +135,7 @@ def llm_query(input, nodeID=0, location_name=None):
# sanitize the input to remove tool call syntax
if '```' in input:
logger.warning("System: LLM Query: Code markdown detected, removing for raw query")
input = input.replace('```', '').replace('```bash', '').replace('```python', '')
input = input.replace('```bash', '').replace('```python', '').replace('```', '')
modelPrompt = input
else:
# Build the query from the template