@ai-sdk/openai 3.0.0-beta.81 → 3.0.0-beta.83

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.
@@ -297,14 +297,12 @@ declare const applyPatchToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryW
297
297
  output?: string;
298
298
  }, {}>;
299
299
  /**
300
- * Creates an apply_patch tool instance.
301
- *
302
300
  * The apply_patch tool lets GPT-5.1 create, update, and delete files in your
303
- * codebase using structured diffs.
304
- *
305
- * @returns A provider-defined tool for applying patches.
301
+ * codebase using structured diffs. Instead of just suggesting edits, the model
302
+ * emits patch operations that your application applies and then reports back on,
303
+ * enabling iterative, multi-step code editing workflows.
306
304
  */
307
- declare const applyPatch: () => _ai_sdk_provider_utils.Tool<{
305
+ declare const applyPatch: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{
308
306
  /**
309
307
  * The unique ID of the apply patch tool call generated by the model.
310
308
  */
@@ -325,7 +323,7 @@ declare const applyPatch: () => _ai_sdk_provider_utils.Tool<{
325
323
  * (e.g., patch results or errors).
326
324
  */
327
325
  output?: string;
328
- }>;
326
+ }, {}>;
329
327
 
330
328
  declare const codeInterpreterInputSchema: _ai_sdk_provider_utils.LazySchema<{
331
329
  containerId: string;
@@ -297,14 +297,12 @@ declare const applyPatchToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryW
297
297
  output?: string;
298
298
  }, {}>;
299
299
  /**
300
- * Creates an apply_patch tool instance.
301
- *
302
300
  * The apply_patch tool lets GPT-5.1 create, update, and delete files in your
303
- * codebase using structured diffs.
304
- *
305
- * @returns A provider-defined tool for applying patches.
301
+ * codebase using structured diffs. Instead of just suggesting edits, the model
302
+ * emits patch operations that your application applies and then reports back on,
303
+ * enabling iterative, multi-step code editing workflows.
306
304
  */
307
- declare const applyPatch: () => _ai_sdk_provider_utils.Tool<{
305
+ declare const applyPatch: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{
308
306
  /**
309
307
  * The unique ID of the apply patch tool call generated by the model.
310
308
  */
@@ -325,7 +323,7 @@ declare const applyPatch: () => _ai_sdk_provider_utils.Tool<{
325
323
  * (e.g., patch results or errors).
326
324
  */
327
325
  output?: string;
328
- }>;
326
+ }, {}>;
329
327
 
330
328
  declare const codeInterpreterInputSchema: _ai_sdk_provider_utils.LazySchema<{
331
329
  containerId: string;
@@ -2174,7 +2174,7 @@ var applyPatchToolFactory = (0, import_provider_utils19.createProviderToolFactor
2174
2174
  inputSchema: applyPatchInputSchema,
2175
2175
  outputSchema: applyPatchOutputSchema
2176
2176
  });
2177
- var applyPatch = () => applyPatchToolFactory({});
2177
+ var applyPatch = applyPatchToolFactory;
2178
2178
 
2179
2179
  // src/tool/local-shell.ts
2180
2180
  var import_provider_utils20 = require("@ai-sdk/provider-utils");