fix(providers): remove Close() not in LLMProvider interface and no call sites

This commit is contained in:
Sai Sankar Gochhayat 2026-02-20 13:40:18 -08:00
parent ce22c31c87
commit a9b10ce5d7

View file

@ -57,13 +57,6 @@ func NewGitHubCopilotProvider(uri string, connectMode string, model string) (*Gi
}, nil }, nil
} }
func (p *GitHubCopilotProvider) Close() error {
if p.client != nil {
p.client.Stop()
}
return nil
}
// Chat sends a chat request to GitHub Copilot // Chat sends a chat request to GitHub Copilot
func (p *GitHubCopilotProvider) Chat(ctx context.Context, messages []Message, tools []ToolDefinition, model string, options map[string]interface{}) (*LLMResponse, error) { func (p *GitHubCopilotProvider) Chat(ctx context.Context, messages []Message, tools []ToolDefinition, model string, options map[string]interface{}) (*LLMResponse, error) {
type tempMessage struct { type tempMessage struct {