mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-11-08 18:02:30 +01:00
Update llm.py
This commit is contained in:
1 parent
3f920aaf60
commit
64dede5c9a
1 file changed
-1
@@ -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