la-machina-engine 0.11.0 → 0.11.1
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2007,7 +2007,8 @@ function toAISdkTools(tools) {
|
|
|
2007
2007
|
const schema = tool.inputSchema ?? tool.input_schema ?? { type: "object" };
|
|
2008
2008
|
out[name] = {
|
|
2009
2009
|
description,
|
|
2010
|
-
parameters
|
|
2010
|
+
// AI SDK v6 field name. Must NOT be `parameters` (v3/v4 name).
|
|
2011
|
+
inputSchema: (0, import_ai.jsonSchema)(schema)
|
|
2011
2012
|
};
|
|
2012
2013
|
}
|
|
2013
2014
|
return out;
|