la-machina-engine 0.11.1 → 0.11.2
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.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1985,7 +1985,12 @@ function toAISdkMessages(messages) {
|
|
|
1985
1985
|
type: "tool-call",
|
|
1986
1986
|
toolCallId: id,
|
|
1987
1987
|
toolName: name,
|
|
1988
|
-
args
|
|
1988
|
+
// AI SDK v6 field name — must NOT be `args` (v4 name).
|
|
1989
|
+
// Engine 0.11.1 fixed the same rename on the tool
|
|
1990
|
+
// declaration side (toolConverter.ts); without this
|
|
1991
|
+
// fix on the history side, the model's own prior
|
|
1992
|
+
// turn is malformed on every multi-turn run.
|
|
1993
|
+
input: block.input ?? {}
|
|
1989
1994
|
});
|
|
1990
1995
|
}
|
|
1991
1996
|
}
|