Enha: use tool atrribute to init agent client

This commit is contained in:
Grail Finder
2026-04-03 13:33:54 +03:00
parent 7a6d2b8777
commit 4cf8833423

View File

@@ -201,7 +201,7 @@ func (t *Tools) GetWebAgentClient() *agent.AgentClient {
} }
return "" return ""
} }
t.webAgentClient = agent.NewAgentClient(cfg, logger, getToken) t.webAgentClient = agent.NewAgentClient(t.cfg, t.logger, getToken)
}) })
return t.webAgentClient return t.webAgentClient
} }