agents-relay 2.0.168 → 2.0.169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters.js +1 -1
- package/package.json +1 -1
package/dist/adapters.js
CHANGED
|
@@ -291,7 +291,7 @@ async function runBrowserWorker(cli, configFile, signal, action = 'new-thread')
|
|
|
291
291
|
if (typeof sessionId !== 'string' || !sessionId)
|
|
292
292
|
throw new Error('webhelm session start returned no session_id');
|
|
293
293
|
try {
|
|
294
|
-
return await browserWorkspaceCommand(cli, ['platform', 'run', 'chatgpt', action, ...(action === 'new-turn' ? ['--mode', '
|
|
294
|
+
return await browserWorkspaceCommand(cli, ['platform', 'run', 'chatgpt', action, ...(action === 'new-turn' ? ['--mode', 'async'] : []), '--session-id', sessionId, '--config', configFile], undefined, signal);
|
|
295
295
|
}
|
|
296
296
|
finally {
|
|
297
297
|
await browserWorkspaceCommand(cli, ['session', 'stop', sessionId]).catch(() => { });
|