mirror of
https://github.com/acon96/home-llm.git
synced 2026-01-08 21:28:05 -05:00
fix: Initialize the tool_response (#218)
This commit is contained in:
@@ -421,6 +421,7 @@ class LocalLLMAgent(ConversationEntity, AbstractConversationAgent):
|
||||
response=intent_response, conversation_id=conversation_id
|
||||
)
|
||||
|
||||
tool_response = None
|
||||
# parse response
|
||||
to_say = service_call_pattern.sub("", response.strip())
|
||||
for block in service_call_pattern.findall(response.strip()):
|
||||
|
||||
Reference in New Issue
Block a user