fix linter (#2206)

This commit is contained in:
Cytown
2026-03-31 15:06:47 +08:00
committed by GitHub
parent ee02e30992
commit 31fcf55297
+2 -2
View File
@@ -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()