fix linter (#2206)
This commit is contained in:
parent
ee02e30992
commit
31fcf55297
1 changed files with 2 additions and 2 deletions
|
|
@ -41,9 +41,9 @@ func NewGitHubCopilotProvider(uri string, connectMode string, model string) (*Gi
|
|||
}
|
||||
|
||||
session, err := client.CreateSession(context.Background(), &copilot.SessionConfig{
|
||||
Model: model,
|
||||
Model: model,
|
||||
OnPermissionRequest: copilot.PermissionHandler.ApproveAll,
|
||||
Hooks: &copilot.SessionHooks{},
|
||||
Hooks: &copilot.SessionHooks{},
|
||||
})
|
||||
if err != nil {
|
||||
client.Stop()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue