Skip to content

Version Packages (canary)#6069

Merged
lgrammel merged 1 commit intov5from
changeset-release/v5
May 2, 2025
Merged

Version Packages (canary)#6069
lgrammel merged 1 commit intov5from
changeset-release/v5

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Apr 30, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v5, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

v5 is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on v5.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

ai@5.0.0-canary.17

Major Changes

  • f04fb4a: chore (ai): replace useChat attachments with file ui parts
  • fd1924b: chore (ai): remove redundant mimeType property
  • fafc3f2: chore (ai): change file to parts to use urls instead of data
  • 92cb0a2: chore (ai): rename CoreMessage to ModelMessage

Minor Changes

  • c9ad635: feat (ai): add filename to file ui parts

Patch Changes

  • 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2 interface (feat (provider): add providerMetadata to ImageModelV2 interface #5977)

    The experimental_generateImage method from the ai package now returnes revised prompts for OpenAI's image models.

    const prompt = 'Santa Claus driving a Cadillac';
    
    const { providerMetadata } = await experimental_generateImage({
      model: openai.image('dall-e-3'),
      prompt,
    });
    
    const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;
    
    console.log({
      prompt,
      revisedPrompt,
    });
  • Updated dependencies [957b739]

  • Updated dependencies [9bd5ab5]

    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/provider-utils@3.0.0-canary.14

Major Changes

  • 957b739: chore (provider-utils): rename TestServerCall.requestBody to requestBodyJson

Patch Changes

  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/amazon-bedrock@3.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/anthropic@2.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/assemblyai@0.0.1-canary.2

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/azure@2.0.0-canary.16

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [136819b]
  • Updated dependencies [9bd5ab5]
  • Updated dependencies [284353f]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/openai@2.0.0-canary.15
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/cerebras@1.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13
    • @ai-sdk/openai-compatible@1.0.0-canary.14

@ai-sdk/cohere@2.0.0-canary.15

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/deepgram@1.0.0-canary.7

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/deepinfra@1.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13
    • @ai-sdk/openai-compatible@1.0.0-canary.14

@ai-sdk/deepseek@1.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13
    • @ai-sdk/openai-compatible@1.0.0-canary.14

@ai-sdk/elevenlabs@1.0.0-canary.7

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/fal@1.0.0-canary.15

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/fireworks@1.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13
    • @ai-sdk/openai-compatible@1.0.0-canary.14

@ai-sdk/gladia@1.0.0-canary.4

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/google@2.0.0-canary.15

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/google-vertex@3.0.0-canary.15

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13
    • @ai-sdk/anthropic@2.0.0-canary.14
    • @ai-sdk/google@2.0.0-canary.15

@ai-sdk/groq@2.0.0-canary.15

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/hume@1.0.0-canary.7

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/langchain@1.0.0-canary.5

Patch Changes

  • Updated dependencies [f04fb4a]
  • Updated dependencies [fd1924b]
  • Updated dependencies [957b739]
  • Updated dependencies [fafc3f2]
  • Updated dependencies [c9ad635]
  • Updated dependencies [9bd5ab5]
  • Updated dependencies [92cb0a2]
    • ai@5.0.0-canary.17
    • @ai-sdk/provider-utils@3.0.0-canary.14

@ai-sdk/llamaindex@1.0.0-canary.5

Patch Changes

  • Updated dependencies [f04fb4a]
  • Updated dependencies [fd1924b]
  • Updated dependencies [957b739]
  • Updated dependencies [fafc3f2]
  • Updated dependencies [c9ad635]
  • Updated dependencies [9bd5ab5]
  • Updated dependencies [92cb0a2]
    • ai@5.0.0-canary.17
    • @ai-sdk/provider-utils@3.0.0-canary.14

@ai-sdk/lmnt@1.0.0-canary.7

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/luma@1.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/mistral@2.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/openai@2.0.0-canary.15

Patch Changes

  • 136819b: chore(providers/openai): re-introduce logprobs as providerMetadata

  • 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2 interface (feat (provider): add providerMetadata to ImageModelV2 interface #5977)

    The experimental_generateImage method from the ai package now returnes revised prompts for OpenAI's image models.

    const prompt = 'Santa Claus driving a Cadillac';
    
    const { providerMetadata } = await experimental_generateImage({
      model: openai.image('dall-e-3'),
      prompt,
    });
    
    const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;
    
    console.log({
      prompt,
      revisedPrompt,
    });
  • 284353f: fix(providers/openai): zod parse error with function

  • Updated dependencies [957b739]

  • Updated dependencies [9bd5ab5]

    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/openai-compatible@1.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/perplexity@2.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/provider@2.0.0-canary.13

Patch Changes

  • 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2 interface (feat (provider): add providerMetadata to ImageModelV2 interface #5977)

    The experimental_generateImage method from the ai package now returnes revised prompts for OpenAI's image models.

    const prompt = 'Santa Claus driving a Cadillac';
    
    const { providerMetadata } = await experimental_generateImage({
      model: openai.image('dall-e-3'),
      prompt,
    });
    
    const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;
    
    console.log({
      prompt,
      revisedPrompt,
    });

@ai-sdk/react@2.0.0-canary.16

Patch Changes

  • c34ccd7: feat (ui/react): support resuming an ongoing stream
  • Updated dependencies [f04fb4a]
  • Updated dependencies [fd1924b]
  • Updated dependencies [957b739]
  • Updated dependencies [fafc3f2]
  • Updated dependencies [c9ad635]
  • Updated dependencies [9bd5ab5]
  • Updated dependencies [92cb0a2]
    • ai@5.0.0-canary.17
    • @ai-sdk/provider-utils@3.0.0-canary.14

@ai-sdk/replicate@1.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/revai@1.0.0-canary.7

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/rsc@1.0.0-canary.15

Patch Changes

  • Updated dependencies [f04fb4a]
  • Updated dependencies [fd1924b]
  • Updated dependencies [957b739]
  • Updated dependencies [fafc3f2]
  • Updated dependencies [c9ad635]
  • Updated dependencies [9bd5ab5]
  • Updated dependencies [92cb0a2]
    • ai@5.0.0-canary.17
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13

@ai-sdk/svelte@3.0.0-canary.16

Patch Changes

  • Updated dependencies [f04fb4a]
  • Updated dependencies [fd1924b]
  • Updated dependencies [957b739]
  • Updated dependencies [fafc3f2]
  • Updated dependencies [c9ad635]
  • Updated dependencies [9bd5ab5]
  • Updated dependencies [92cb0a2]
    • ai@5.0.0-canary.17
    • @ai-sdk/provider-utils@3.0.0-canary.14

@ai-sdk/togetherai@1.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13
    • @ai-sdk/openai-compatible@1.0.0-canary.14

@ai-sdk/valibot@1.0.0-canary.16

Patch Changes

  • Updated dependencies [957b739]
    • @ai-sdk/provider-utils@3.0.0-canary.14

@ai-sdk/vue@2.0.0-canary.16

Patch Changes

  • Updated dependencies [f04fb4a]
  • Updated dependencies [fd1924b]
  • Updated dependencies [957b739]
  • Updated dependencies [fafc3f2]
  • Updated dependencies [c9ad635]
  • Updated dependencies [9bd5ab5]
  • Updated dependencies [92cb0a2]
    • ai@5.0.0-canary.17
    • @ai-sdk/provider-utils@3.0.0-canary.14

@ai-sdk/xai@2.0.0-canary.14

Patch Changes

  • Updated dependencies [957b739]
  • Updated dependencies [9bd5ab5]
    • @ai-sdk/provider-utils@3.0.0-canary.14
    • @ai-sdk/provider@2.0.0-canary.13
    • @ai-sdk/openai-compatible@1.0.0-canary.14

@github-actions github-actions bot force-pushed the changeset-release/v5 branch from 7d13e90 to 2299a25 Compare April 30, 2025 10:28
@github-actions github-actions bot force-pushed the changeset-release/v5 branch from 2299a25 to 2576b66 Compare April 30, 2025 16:23
@github-actions github-actions bot force-pushed the changeset-release/v5 branch from 2576b66 to c1c111d Compare April 30, 2025 17:14
@github-actions github-actions bot force-pushed the changeset-release/v5 branch from c1c111d to 33c047b Compare May 1, 2025 08:08
@github-actions github-actions bot force-pushed the changeset-release/v5 branch from 33c047b to f4f13ac Compare May 1, 2025 09:10
@github-actions github-actions bot force-pushed the changeset-release/v5 branch from f4f13ac to 5d3e5a5 Compare May 2, 2025 06:26
@github-actions github-actions bot force-pushed the changeset-release/v5 branch from 5d3e5a5 to 7f20d74 Compare May 2, 2025 08:39
@github-actions github-actions bot force-pushed the changeset-release/v5 branch from 7f20d74 to 50027dd Compare May 2, 2025 09:06
@github-actions github-actions bot force-pushed the changeset-release/v5 branch from 50027dd to 8f07680 Compare May 2, 2025 09:16
@lgrammel lgrammel closed this May 2, 2025
@lgrammel lgrammel reopened this May 2, 2025
@lgrammel lgrammel merged commit c601562 into v5 May 2, 2025
8 checks passed
@lgrammel lgrammel deleted the changeset-release/v5 branch May 2, 2025 09:32
samdenty added a commit that referenced this pull request May 2, 2025
* origin/v5:
  fix(providers/openai): logprobs for stream alongside completion model (#6091)
  chore (ai): move maxSteps into UseChatOptions (#6113)
  docs (ai): add notes on schema .optional() (#6111)
  chore: update references to use ai-sdk.dev (#6076) (#6107)
  Version Packages (canary) (#6069)
  chore (provider-utils): rename TestServerCall.requestBody to requestBodyJson (#6106)
  chore (ai): rename CoreMessage to ModelMessage (#6105)
  feat (ai): add filename to file ui parts (#6104)
  feat (docs): add Dify community provider (#4084) (#6067) (#6103)
  feat (docs): add Sarvam community provider (#6079) (#6096)
  fix(providers/openai): zod parse error with function (#6074) (#6095)
  feat(docs): add Weave observability provider (#6029) (#6094)
  core (ai/mcp): update experimental MCP client documentation for Streamable HTTP transport usage (#5972) (#6093)
  fix (docs): update formatting in useChat reference docs  (#6100)
  chore (ai): replace useChat attachments with file ui parts (#6071)
  feat (ui/react): support resuming an ongoing stream (#6053)
  test (openai): update snapshot (#6086)
samdenty added a commit that referenced this pull request May 2, 2025
…call

* origin/v5: (43 commits)
  chore (provider-utils): return IdGenerator interface (#6118)
  chore (provider): improve jsdoc comments (#6117)
  chore (ai): remove outdated typecasts (#6116)
  chore (ai): remove useChat keepLastMessageOnError (#6114)
  fix(providers/openai): logprobs for stream alongside completion model (#6091)
  chore (ai): move maxSteps into UseChatOptions (#6113)
  docs (ai): add notes on schema .optional() (#6111)
  chore: update references to use ai-sdk.dev (#6076) (#6107)
  Version Packages (canary) (#6069)
  chore (provider-utils): rename TestServerCall.requestBody to requestBodyJson (#6106)
  chore (ai): rename CoreMessage to ModelMessage (#6105)
  feat (ai): add filename to file ui parts (#6104)
  feat (docs): add Dify community provider (#4084) (#6067) (#6103)
  feat (docs): add Sarvam community provider (#6079) (#6096)
  fix(providers/openai): zod parse error with function (#6074) (#6095)
  feat(docs): add Weave observability provider (#6029) (#6094)
  core (ai/mcp): update experimental MCP client documentation for Streamable HTTP transport usage (#5972) (#6093)
  fix (docs): update formatting in useChat reference docs  (#6100)
  chore (ai): replace useChat attachments with file ui parts (#6071)
  feat (ui/react): support resuming an ongoing stream (#6053)
  ...
samdenty added a commit that referenced this pull request May 5, 2025
* origin/v5: (23 commits)
  chore (ai): remove StreamData and mergeStreams (#6150)
  chore (build): fix typecheck setup (#6151)
  chore (ai): remove IdGenerator duplication (#6147)
  chore (ai): remove content from ui messages (#6145)
  Version Packages (canary) (#6115)
  feat (provider): support reasoning tokens, cached input tokens, total token in usage information (#6140)
  test (ai): use `mock-provider` instead of `openai` to match used `MockImageModelV2` (#6132)
  fix(providers): always use optional instead of mix of nullish for providerOptions (#6122)
  chore (ai): remove sendExtraMessageFields (#6120)
  chore(provider-utils): move ToolResultContent to provider-utils (#6121)
  feat(embed-many): respect supportsParallelCalls & concurrency (#6108)
  chore (provider-utils): return IdGenerator interface (#6118)
  chore (provider): improve jsdoc comments (#6117)
  chore (ai): remove outdated typecasts (#6116)
  chore (ai): remove useChat keepLastMessageOnError (#6114)
  fix(providers/openai): logprobs for stream alongside completion model (#6091)
  chore (ai): move maxSteps into UseChatOptions (#6113)
  docs (ai): add notes on schema .optional() (#6111)
  chore: update references to use ai-sdk.dev (#6076) (#6107)
  Version Packages (canary) (#6069)
  ...
iteratetograceness pushed a commit to iteratetograceness/ai that referenced this pull request May 9, 2025
# Releases
## ai@5.0.0-canary.17

### Major Changes

-   f04fb4a: chore (ai): replace useChat attachments with file ui parts
-   fd1924b: chore (ai): remove redundant `mimeType` property
- fafc3f2: chore (ai): change file to parts to use urls instead of data
-   92cb0a2: chore (ai): rename CoreMessage to ModelMessage

### Minor Changes

-   c9ad635: feat (ai): add filename to file ui parts

### Patch Changes

- 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2
interface (vercel#5977)

The `experimental_generateImage` method from the `ai` package now
returnes revised prompts for OpenAI's image models.

    ```js
    const prompt = 'Santa Claus driving a Cadillac';

    const { providerMetadata } = await experimental_generateImage({
      model: openai.image('dall-e-3'),
      prompt,
    });

const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;

    console.log({
      prompt,
      revisedPrompt,
    });
    ```

-   Updated dependencies [957b739]

-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/provider-utils@3.0.0-canary.14

### Major Changes

- 957b739: chore (provider-utils): rename TestServerCall.requestBody to
requestBodyJson

### Patch Changes

-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/amazon-bedrock@3.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/anthropic@2.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/assemblyai@0.0.1-canary.2

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/azure@2.0.0-canary.16

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [136819b]
-   Updated dependencies [9bd5ab5]
-   Updated dependencies [284353f]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/openai@2.0.0-canary.15
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/cerebras@1.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13
    -   @ai-sdk/openai-compatible@1.0.0-canary.14

## @ai-sdk/cohere@2.0.0-canary.15

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/deepgram@1.0.0-canary.7

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/deepinfra@1.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13
    -   @ai-sdk/openai-compatible@1.0.0-canary.14

## @ai-sdk/deepseek@1.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13
    -   @ai-sdk/openai-compatible@1.0.0-canary.14

## @ai-sdk/elevenlabs@1.0.0-canary.7

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/fal@1.0.0-canary.15

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/fireworks@1.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13
    -   @ai-sdk/openai-compatible@1.0.0-canary.14

## @ai-sdk/gladia@1.0.0-canary.4

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/google@2.0.0-canary.15

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/google-vertex@3.0.0-canary.15

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13
    -   @ai-sdk/anthropic@2.0.0-canary.14
    -   @ai-sdk/google@2.0.0-canary.15

## @ai-sdk/groq@2.0.0-canary.15

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/hume@1.0.0-canary.7

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/langchain@1.0.0-canary.5

### Patch Changes

-   Updated dependencies [f04fb4a]
-   Updated dependencies [fd1924b]
-   Updated dependencies [957b739]
-   Updated dependencies [fafc3f2]
-   Updated dependencies [c9ad635]
-   Updated dependencies [9bd5ab5]
-   Updated dependencies [92cb0a2]
    -   ai@5.0.0-canary.17
    -   @ai-sdk/provider-utils@3.0.0-canary.14

## @ai-sdk/llamaindex@1.0.0-canary.5

### Patch Changes

-   Updated dependencies [f04fb4a]
-   Updated dependencies [fd1924b]
-   Updated dependencies [957b739]
-   Updated dependencies [fafc3f2]
-   Updated dependencies [c9ad635]
-   Updated dependencies [9bd5ab5]
-   Updated dependencies [92cb0a2]
    -   ai@5.0.0-canary.17
    -   @ai-sdk/provider-utils@3.0.0-canary.14

## @ai-sdk/lmnt@1.0.0-canary.7

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/luma@1.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/mistral@2.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/openai@2.0.0-canary.15

### Patch Changes

- 136819b: chore(providers/openai): re-introduce logprobs as
providerMetadata

- 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2
interface (vercel#5977)

The `experimental_generateImage` method from the `ai` package now
returnes revised prompts for OpenAI's image models.

    ```js
    const prompt = 'Santa Claus driving a Cadillac';

    const { providerMetadata } = await experimental_generateImage({
      model: openai.image('dall-e-3'),
      prompt,
    });

const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;

    console.log({
      prompt,
      revisedPrompt,
    });
    ```

-   284353f: fix(providers/openai): zod parse error with function

-   Updated dependencies [957b739]

-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/openai-compatible@1.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/perplexity@2.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/provider@2.0.0-canary.13

### Patch Changes

- 9bd5ab5: feat (provider): add providerMetadata to ImageModelV2
interface (vercel#5977)

The `experimental_generateImage` method from the `ai` package now
returnes revised prompts for OpenAI's image models.

    ```js
    const prompt = 'Santa Claus driving a Cadillac';

    const { providerMetadata } = await experimental_generateImage({
      model: openai.image('dall-e-3'),
      prompt,
    });

const revisedPrompt = providerMetadata.openai.images[0]?.revisedPrompt;

    console.log({
      prompt,
      revisedPrompt,
    });
    ```

## @ai-sdk/react@2.0.0-canary.16

### Patch Changes

-   c34ccd7: feat (ui/react): support resuming an ongoing stream
-   Updated dependencies [f04fb4a]
-   Updated dependencies [fd1924b]
-   Updated dependencies [957b739]
-   Updated dependencies [fafc3f2]
-   Updated dependencies [c9ad635]
-   Updated dependencies [9bd5ab5]
-   Updated dependencies [92cb0a2]
    -   ai@5.0.0-canary.17
    -   @ai-sdk/provider-utils@3.0.0-canary.14

## @ai-sdk/replicate@1.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/revai@1.0.0-canary.7

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/rsc@1.0.0-canary.15

### Patch Changes

-   Updated dependencies [f04fb4a]
-   Updated dependencies [fd1924b]
-   Updated dependencies [957b739]
-   Updated dependencies [fafc3f2]
-   Updated dependencies [c9ad635]
-   Updated dependencies [9bd5ab5]
-   Updated dependencies [92cb0a2]
    -   ai@5.0.0-canary.17
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13

## @ai-sdk/svelte@3.0.0-canary.16

### Patch Changes

-   Updated dependencies [f04fb4a]
-   Updated dependencies [fd1924b]
-   Updated dependencies [957b739]
-   Updated dependencies [fafc3f2]
-   Updated dependencies [c9ad635]
-   Updated dependencies [9bd5ab5]
-   Updated dependencies [92cb0a2]
    -   ai@5.0.0-canary.17
    -   @ai-sdk/provider-utils@3.0.0-canary.14

## @ai-sdk/togetherai@1.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13
    -   @ai-sdk/openai-compatible@1.0.0-canary.14

## @ai-sdk/valibot@1.0.0-canary.16

### Patch Changes

-   Updated dependencies [957b739]
    -   @ai-sdk/provider-utils@3.0.0-canary.14

## @ai-sdk/vue@2.0.0-canary.16

### Patch Changes

-   Updated dependencies [f04fb4a]
-   Updated dependencies [fd1924b]
-   Updated dependencies [957b739]
-   Updated dependencies [fafc3f2]
-   Updated dependencies [c9ad635]
-   Updated dependencies [9bd5ab5]
-   Updated dependencies [92cb0a2]
    -   ai@5.0.0-canary.17
    -   @ai-sdk/provider-utils@3.0.0-canary.14

## @ai-sdk/xai@2.0.0-canary.14

### Patch Changes

-   Updated dependencies [957b739]
-   Updated dependencies [9bd5ab5]
    -   @ai-sdk/provider-utils@3.0.0-canary.14
    -   @ai-sdk/provider@2.0.0-canary.13
    -   @ai-sdk/openai-compatible@1.0.0-canary.14

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant