feat(contact-agent): linking to existing instead of creating new ones

This commit is contained in:
2025-04-12 07:29:29 +01:00
parent 77a0901352
commit 42771ea958
2 changed files with 47 additions and 1 deletions

View File

@@ -209,6 +209,9 @@ func (client AgentClient) Process(info ToolHandlerInfo, req *AgentRequestBody) e
toolResponse := client.ToolHandler.Handle(info, toolCall)
client.Log.SetLevel(log.DebugLevel)
client.Log.Debugf("Response: %s", toolResponse.Content)
req.Chat.AddToolResponse(toolResponse)
}