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/dist/index.mjs
    CHANGED
    
    | 
         @@ -750,7 +750,7 @@ import { 
     | 
|
| 
       750 
750 
     | 
    
         
             
            } from "@ai-sdk/provider-utils";
         
     | 
| 
       751 
751 
     | 
    
         | 
| 
       752 
752 
     | 
    
         
             
            // src/version.ts
         
     | 
| 
       753 
     | 
    
         
            -
            var VERSION = true ? "6.0.0-beta. 
     | 
| 
      
 753 
     | 
    
         
            +
            var VERSION = true ? "6.0.0-beta.73" : "0.0.0-test";
         
     | 
| 
       754 
754 
     | 
    
         | 
| 
       755 
755 
     | 
    
         
             
            // src/util/download/download.ts
         
     | 
| 
       756 
756 
     | 
    
         
             
            var download = async ({ url }) => {
         
     | 
| 
         @@ -7638,7 +7638,7 @@ var objectOutputStrategy = (schema) => ({ 
     | 
|
| 
       7638 
7638 
     | 
    
         
             
            });
         
     | 
| 
       7639 
7639 
     | 
    
         
             
            var arrayOutputStrategy = (schema) => {
         
     | 
| 
       7640 
7640 
     | 
    
         
             
              return {
         
     | 
| 
       7641 
     | 
    
         
            -
                type: " 
     | 
| 
      
 7641 
     | 
    
         
            +
                type: "array",
         
     | 
| 
       7642 
7642 
     | 
    
         
             
                // wrap in object that contains array of elements, since most LLMs will not
         
     | 
| 
       7643 
7643 
     | 
    
         
             
                // be able to generate an array directly:
         
     | 
| 
       7644 
7644 
     | 
    
         
             
                // possible future optimization: use arrays directly when model supports grammar-guided generation
         
     |