fix(providers): remove Close() not in LLMProvider interface and no call sites
This commit is contained in:
parent
ce22c31c87
commit
a9b10ce5d7
1 changed files with 0 additions and 7 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue