Skip to content

chore: refactor reasoning parts (spec)#5756

Merged
lgrammel merged 11 commits intov5from
lg/yUiQjoSh
Apr 14, 2025
Merged

chore: refactor reasoning parts (spec)#5756
lgrammel merged 11 commits intov5from
lg/yUiQjoSh

Conversation

@lgrammel
Copy link
Copy Markdown
Collaborator

@lgrammel lgrammel commented Apr 14, 2025

Background

doGenerate will in the future move to returning parts as an array, requiring type annotations. Furthermore, the reasoning parts have been inconsistent due to feature evolution.

Summary

Restructure reasoning parts.

@lgrammel lgrammel changed the title reasoning chore: refactor reasoning parts (spec) Apr 14, 2025
@lgrammel lgrammel marked this pull request as ready for review April 14, 2025 14:48
@lgrammel lgrammel merged commit d9c98f4 into v5 Apr 14, 2025
7 checks passed
@lgrammel lgrammel deleted the lg/yUiQjoSh branch April 14, 2025 14:56
samdenty pushed a commit that referenced this pull request Apr 15, 2025
* origin/v5: (36 commits)
  fix (provider): remove deprecated `Experimental_LanguageModelV2Middleware` (#5775)
  fix (ai): remove deprecated `options.throwErrorForEmptyVectors` from `cosineSimilarity()` (#5772)
  fix (ai/core): filter out empty content/text assistant messages (#5767) (#5783)
  fix (ai): remove deprecated `CoreTool*` types (#5768)
  chore: refactor text parts (spec) (#5759)
  feat(embedding-model-v2): add response body field (#5700)
  feat(embedding-model-v2): add providerOptions (#5698)
  chore: refactor reasoning parts (spec) (#5756)
  chore: update .gitignore (#5755)
  chore: refactor source parts (spec) (#5753)
  chore: refactor file parts (spec) (#5750)
  chore: refactor tool call and tool call delta parts (spec) (#5746)
  fix(providers/xai): edit supported models for structured output (#5715) (#5741)
  chore (ai): remove provider re-exports (#5734)
  chore (provider): extract shared provider options and metadata (spec) (#5733)
  fix(ai/core): properly handle custom separator in provider registry (#5713) (#5732)
  chore (providers/xai): update grok-3 model aliases (#5646)
  chore(embedding-model-v2): rename rawResponse to response (#5699)
  chore(providers/mistral): convert to providerOptions (#5675)
  chore: refactor file towards source pattern (spec) (#5709)
  ...
samdenty pushed a commit that referenced this pull request Apr 15, 2025
…der-options

* origin/v5: (36 commits)
  fix (provider): remove deprecated `Experimental_LanguageModelV2Middleware` (#5775)
  fix (ai): remove deprecated `options.throwErrorForEmptyVectors` from `cosineSimilarity()` (#5772)
  fix (ai/core): filter out empty content/text assistant messages (#5767) (#5783)
  fix (ai): remove deprecated `CoreTool*` types (#5768)
  chore: refactor text parts (spec) (#5759)
  feat(embedding-model-v2): add response body field (#5700)
  feat(embedding-model-v2): add providerOptions (#5698)
  chore: refactor reasoning parts (spec) (#5756)
  chore: update .gitignore (#5755)
  chore: refactor source parts (spec) (#5753)
  chore: refactor file parts (spec) (#5750)
  chore: refactor tool call and tool call delta parts (spec) (#5746)
  fix(providers/xai): edit supported models for structured output (#5715) (#5741)
  chore (ai): remove provider re-exports (#5734)
  chore (provider): extract shared provider options and metadata (spec) (#5733)
  fix(ai/core): properly handle custom separator in provider registry (#5713) (#5732)
  chore (providers/xai): update grok-3 model aliases (#5646)
  chore(embedding-model-v2): rename rawResponse to response (#5699)
  chore(providers/mistral): convert to providerOptions (#5675)
  chore: refactor file towards source pattern (spec) (#5709)
  ...
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.

3 participants