Refactor: deal with unused code

This commit is contained in:
Grail Finder
2026-03-15 10:55:07 +03:00
parent 1396b3eb05
commit 7e346b5e19
9 changed files with 641 additions and 884 deletions

View File

@@ -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 {