@iinm/plain-agent 1.8.7 → 1.8.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iinm/plain-agent",
3
- "version": "1.8.7",
3
+ "version": "1.8.9",
4
4
  "description": "A lightweight CLI-based coding agent",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/config.mjs CHANGED
@@ -87,7 +87,7 @@ export async function loadAppConfig(options = {}) {
87
87
  ...(merged.tools?.askURL ?? {}),
88
88
  ...config.tools.askURL,
89
89
  }
90
- : merged.tools?.askWeb,
90
+ : merged.tools?.askURL,
91
91
  },
92
92
  mcpServers: {
93
93
  ...(merged.mcpServers ?? {}),
@@ -578,7 +578,9 @@ function convertOpenAIStreamDataToAgentPartialContent(
578
578
  content: [
579
579
  firstChoice.delta.tool_calls.at(0)?.function?.name,
580
580
  firstChoice.delta.tool_calls.at(0)?.function?.arguments,
581
- ].join(" "),
581
+ ]
582
+ .filter((s) => s)
583
+ .join(" "),
582
584
  position: previousPartialContent?.type === "tool_use" ? "delta" : "start",
583
585
  });
584
586
  }