Skip to content

Commit 3d9267e

Browse files
committed
feat: pass the workspace tool as a global option to the SDK server
Signed-off-by: Donnie Adams <[email protected]>
1 parent d85190d commit 3d9267e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

opts.go

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ func (g GlobalOptions) toEnv() []string {
2929
if g.DefaultModelProvider != "" {
3030
args = append(args, "GPTSCRIPT_SDKSERVER_DEFAULT_MODEL_PROVIDER="+g.DefaultModelProvider)
3131
}
32+
if g.WorkspaceTool != "" {
33+
args = append(args, "GPTSCRIPT_SDKSERVER_WORKSPACE_TOOL="+g.WorkspaceTool)
34+
}
3235

3336
return args
3437
}

0 commit comments

Comments
 (0)