diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-03-15 10:55:07 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-03-15 10:55:07 +0300 |
| commit | 7e346b5e1971c21d24945c2f09c60b7463a619d1 (patch) | |
| tree | a2ab34d1216cbc3c736c7307aa47644ca6bf3b14 /agent | |
| parent | 1396b3eb05c32d868a3e07b8f60813f28d2042f8 (diff) | |
Refactor: deal with unused code
Diffstat (limited to 'agent')
| -rw-r--r-- | agent/request.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/agent/request.go b/agent/request.go index 754f16e..095dc8e 100644 --- a/agent/request.go +++ b/agent/request.go @@ -30,13 +30,13 @@ func detectAPI(api string) (isCompletion, isChat, isDeepSeek, isOpenRouter bool) } type AgentClient struct { - cfg *config.Config - getToken func() string - log *slog.Logger - chatBody *models.ChatBody - sysprompt string - lastToolCallID string - tools []models.Tool + cfg *config.Config + getToken func() string + log *slog.Logger + chatBody *models.ChatBody + sysprompt string + // lastToolCallID string + tools []models.Tool } func NewAgentClient(cfg *config.Config, log *slog.Logger, gt func() string) *AgentClient { |
