From 4cf8833423aafe381aeaa8eec662863da7a7f124 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Fri, 3 Apr 2026 13:33:54 +0300 Subject: [PATCH] Enha: use tool atrribute to init agent client --- tools/tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools.go b/tools/tools.go index 967e5de..a266858 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -201,7 +201,7 @@ func (t *Tools) GetWebAgentClient() *agent.AgentClient { } return "" } - t.webAgentClient = agent.NewAgentClient(cfg, logger, getToken) + t.webAgentClient = agent.NewAgentClient(t.cfg, t.logger, getToken) }) return t.webAgentClient }