@janole/ai-sdk-provider-codex-asp 0.3.1 → 0.3.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.js CHANGED
@@ -956,7 +956,7 @@ var DynamicToolsDispatcher = class {
956
956
  // package.json
957
957
  var package_default = {
958
958
  name: "@janole/ai-sdk-provider-codex-asp",
959
- version: "0.3.1"};
959
+ version: "0.3.2"};
960
960
 
961
961
  // src/package-info.ts
962
962
  var PACKAGE_NAME = package_default.name;
@@ -1791,10 +1791,11 @@ var CodexLanguageModel = class {
1791
1791
  if (text.length === 0) {
1792
1792
  return null;
1793
1793
  }
1794
- return {
1794
+ return stripUndefined({
1795
1795
  type: "text",
1796
- text
1797
- };
1796
+ text,
1797
+ providerMetadata
1798
+ });
1798
1799
  }).filter((part) => part !== null);
1799
1800
  return stripUndefined({
1800
1801
  content: [...textContent, ...passThroughContent],