Fix bug double ,
This commit is contained in:
parent
7970e2da15
commit
efbe806913
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ func NewGitHubCopilotProvider(uri string, connectMode string, model string) (*Gi
|
||||||
}
|
}
|
||||||
|
|
||||||
session, err := client.CreateSession(context.Background(), &copilot.SessionConfig{
|
session, err := client.CreateSession(context.Background(), &copilot.SessionConfig{
|
||||||
Model: model,,
|
Model: model,
|
||||||
OnPermissionRequest: copilot.PermissionHandler.ApproveAll,
|
OnPermissionRequest: copilot.PermissionHandler.ApproveAll,
|
||||||
Hooks: &copilot.SessionHooks{}
|
Hooks: &copilot.SessionHooks{}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue