Skip to content

Commit 8b8107a

Browse files
authored
Merge pull request #54 from thedadams/use-sys-sdkserver
fix: use the new sys.sdkserver subcommand
2 parents 1c7120e + 2d35d8f commit 8b8107a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gptscript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class GPTScript {
9696

9797
globalOptsToEnv(env, opts)
9898

99-
GPTScript.serverProcess = child_process.spawn(getCmdPath(), ["--listen-address", GPTScript.serverURL.replace("http://", ""), "sdkserver"], {
99+
GPTScript.serverProcess = child_process.spawn(getCmdPath(), ["sys.sdkserver", "--listen-address", GPTScript.serverURL.replace("http://", "")], {
100100
env: env,
101101
stdio: ["pipe"]
102102
})

0 commit comments

Comments
 (0)