ai 6.0.0-beta.72 → 6.0.0-beta.73
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/CHANGELOG.md +6 -0
 - package/dist/index.js +2 -2
 - package/dist/index.js.map +1 -1
 - package/dist/index.mjs +2 -2
 - package/dist/index.mjs.map +1 -1
 - package/dist/internal/index.js +1 -1
 - package/dist/internal/index.mjs +1 -1
 - package/package.json +1 -1
 
    
        package/CHANGELOG.md
    CHANGED
    
    
    
        package/dist/index.js
    CHANGED
    
    | 
         @@ -849,7 +849,7 @@ function detectMediaType({ 
     | 
|
| 
       849 
849 
     | 
    
         
             
            var import_provider_utils2 = require("@ai-sdk/provider-utils");
         
     | 
| 
       850 
850 
     | 
    
         | 
| 
       851 
851 
     | 
    
         
             
            // src/version.ts
         
     | 
| 
       852 
     | 
    
         
            -
            var VERSION = true ? "6.0.0-beta. 
     | 
| 
      
 852 
     | 
    
         
            +
            var VERSION = true ? "6.0.0-beta.73" : "0.0.0-test";
         
     | 
| 
       853 
853 
     | 
    
         | 
| 
       854 
854 
     | 
    
         
             
            // src/util/download/download.ts
         
     | 
| 
       855 
855 
     | 
    
         
             
            var download = async ({ url }) => {
         
     | 
| 
         @@ -7697,7 +7697,7 @@ var objectOutputStrategy = (schema) => ({ 
     | 
|
| 
       7697 
7697 
     | 
    
         
             
            });
         
     | 
| 
       7698 
7698 
     | 
    
         
             
            var arrayOutputStrategy = (schema) => {
         
     | 
| 
       7699 
7699 
     | 
    
         
             
              return {
         
     | 
| 
       7700 
     | 
    
         
            -
                type: " 
     | 
| 
      
 7700 
     | 
    
         
            +
                type: "array",
         
     | 
| 
       7701 
7701 
     | 
    
         
             
                // wrap in object that contains array of elements, since most LLMs will not
         
     | 
| 
       7702 
7702 
     | 
    
         
             
                // be able to generate an array directly:
         
     | 
| 
       7703 
7703 
     | 
    
         
             
                // possible future optimization: use arrays directly when model supports grammar-guided generation
         
     |