mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-05-02 03:22:19 +02:00
Update llm.py
This commit is contained in:
@@ -119,7 +119,6 @@ def llm_query(input, nodeID=0, location_name=None):
|
||||
try:
|
||||
# Build the query from the template
|
||||
modelPrompt = meshBotAI.format(input=input, context='\n'.join(googleResults), location_name=location_name, llmModel=llmModel, history=history)
|
||||
print(modelPrompt)
|
||||
result = ollamaClient.generate(model=llmModel, prompt=modelPrompt)
|
||||
result = result.get("response")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user