@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/dist/index.d.mts CHANGED
@@ -606,7 +606,7 @@ type ResponsesTool = {
606
606
  type: "function";
607
607
  name: string;
608
608
  description?: string;
609
- input_schema: Record<string, unknown>;
609
+ parameters: Record<string, unknown>;
610
610
  };
611
611
  declare class ResponsesAdapter extends AdapterBase {
612
612
  readonly kind: "responses";
package/dist/index.mjs CHANGED
@@ -1846,7 +1846,7 @@ var ResponsesAdapter = class extends AdapterBase {
1846
1846
  type: "function",
1847
1847
  name: t.name,
1848
1848
  description: t.description,
1849
- input_schema: t.inputSchema
1849
+ parameters: t.inputSchema
1850
1850
  }));
1851
1851
  body.tool_choice = mapper$3.mapToolChoice(request.toolChoice, {
1852
1852
  auto: "auto",