@codehz/ai 0.4.1 → 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codehz/ai",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "module": "dist/index.mjs",
6
6
  "exports": {
@@ -71,7 +71,7 @@ type ResponsesTool = {
71
71
  type: "function";
72
72
  name: string;
73
73
  description?: string;
74
- input_schema: Record<string, unknown>;
74
+ parameters: Record<string, unknown>;
75
75
  };
76
76
 
77
77
  const mapper = new NormalizedRequestMapper("responses");
@@ -269,7 +269,7 @@ export class ResponsesAdapter extends AdapterBase {
269
269
  type: "function",
270
270
  name: t.name,
271
271
  description: t.description,
272
- input_schema: t.inputSchema,
272
+ parameters: t.inputSchema,
273
273
  }),
274
274
  );
275
275