diff --git a/components/script/chatBar/commands.tsx b/components/script/chatBar/commands.tsx index a05c81af..0cd27462 100644 --- a/components/script/chatBar/commands.tsx +++ b/components/script/chatBar/commands.tsx @@ -34,7 +34,7 @@ import { ingest } from '@/actions/knowledge/knowledge'; to the previous command in the list. This is a bit hacky but it works for now. */ -const gatewayTool = 'github.com/gptscript-ai/knowledge@v0.4.10-gateway.1'; +const gatewayTool = 'github.com/gptscript-ai/knowledge@v0.4.10-gateway.2'; const options = [ { diff --git a/scripts/install-binary.mjs b/scripts/install-binary.mjs index 90c815d0..0b7ee218 100644 --- a/scripts/install-binary.mjs +++ b/scripts/install-binary.mjs @@ -84,7 +84,7 @@ if (process.platform === 'win32') { const gptscript_info = { name: 'gptscript', url: 'https://github.com/gptscript-ai/knowledge/releases/download/', - version: 'v0.4.10-gateway', + version: 'v0.4.10-gateway.2', }; const pltfm = { diff --git a/server/app.mjs b/server/app.mjs index aa9afa51..7aef86c3 100644 --- a/server/app.mjs +++ b/server/app.mjs @@ -140,10 +140,7 @@ const mount = async ( workspace: scriptWorkspace, prompt: true, confirm: true, - env: [ - ...Object.entries(process.env).map(([key, value]) => `${key}=${value}`), - 'GPTSCRIPT_THREAD_ID=' + threadID, - ], + env: ['GPTSCRIPT_THREAD_ID=' + threadID], }; if (tool) opts.subTool = tool;