Skip to content

Commit

Permalink
feat: pass the workspace tool as a global option to the SDK server (#76)
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams authored Oct 20, 2024
1 parent d85190d commit d72fa05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ func (g GlobalOptions) toEnv() []string {
if g.DefaultModelProvider != "" {
args = append(args, "GPTSCRIPT_SDKSERVER_DEFAULT_MODEL_PROVIDER="+g.DefaultModelProvider)
}
if g.WorkspaceTool != "" {
args = append(args, "GPTSCRIPT_SDKSERVER_WORKSPACE_TOOL="+g.WorkspaceTool)
}

return args
}
Expand Down

0 comments on commit d72fa05

Please sign in to comment.