Skip to content

Commit

Permalink
fix: sdkserver: rename credentialContext to credentialContexts (#855)
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Linville <[email protected]>
  • Loading branch information
g-linville authored Sep 20, 2024
1 parent 354541c commit 8ecad90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/sdkserver/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (s *server) execHandler(w http.ResponseWriter, r *http.Request) {
OpenAI: openai.Options(reqObject.openAIOptions),
Env: reqObject.Env,
Workspace: reqObject.Workspace,
CredentialContexts: reqObject.CredentialContext,
CredentialContexts: reqObject.CredentialContexts,
Runner: runner.Options{
// Set the monitor factory so that we can get events from the server.
MonitorFactory: NewSessionFactory(s.events),
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdkserver/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type toolOrFileRequest struct {
ChatState string `json:"chatState"`
Workspace string `json:"workspace"`
Env []string `json:"env"`
CredentialContext []string `json:"credentialContext"`
CredentialContexts []string `json:"credentialContexts"`
CredentialOverrides []string `json:"credentialOverrides"`
Confirm bool `json:"confirm"`
Location string `json:"location,omitempty"`
Expand Down

0 comments on commit 8ecad90

Please sign in to comment.