open-agents-ai 0.185.94 → 0.185.96
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/index.js +2 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -68060,7 +68060,7 @@ ${historyLines}
|
|
|
68060
68060
|
|
|
68061
68061
|
Respond conversationally. Call task_complete with your final response.`;
|
|
68062
68062
|
const oaBin = process.argv[1] || "oa";
|
|
68063
|
-
const args = [taskPrompt, "--json"
|
|
68063
|
+
const args = [taskPrompt, "--json"];
|
|
68064
68064
|
if (model)
|
|
68065
68065
|
args.push("--model", model.replace(/^local\//, ""));
|
|
68066
68066
|
const streamMode = chatBody.stream !== false;
|
|
@@ -68073,10 +68073,8 @@ Respond conversationally. Call task_complete with your final response.`;
|
|
|
68073
68073
|
const child = spawn21("oa", args, {
|
|
68074
68074
|
cwd: cwdPath,
|
|
68075
68075
|
env: runEnv,
|
|
68076
|
-
stdio: ["ignore", "pipe", "pipe"]
|
|
68077
|
-
detached: true
|
|
68076
|
+
stdio: ["ignore", "pipe", "pipe"]
|
|
68078
68077
|
});
|
|
68079
|
-
child.unref();
|
|
68080
68078
|
if (streamMode) {
|
|
68081
68079
|
res.writeHead(200, {
|
|
68082
68080
|
"Content-Type": "text/event-stream",
|
package/package.json
CHANGED