Skip to content

Add multimodal workspace read support#1435

Merged
threepointone merged 1 commit into
mainfrom
think-multimodal-workspace-read
May 1, 2026
Merged

Add multimodal workspace read support#1435
threepointone merged 1 commit into
mainfrom
think-multimodal-workspace-read

Conversation

@threepointone

Copy link
Copy Markdown
Contributor

Summary

  • Add multimodal-aware Think workspace reads for images and PDFs while preserving line-numbered text reads.
  • Keep persisted read tool outputs compact and use AI SDK toModelOutput to rehydrate image/file bytes for model input, including replayed history.
  • Cover image/PDF/binary read behavior, replay conversion, docs, and release notes.

Test plan

  • npm run test --workspace @cloudflare/think -- assistant-tools.test.ts think-session.test.ts
  • npm run build --workspace @cloudflare/think
  • npm run check

Made with Cursor

@changeset-bot

changeset-bot Bot commented May 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 469c7d3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudflare/think Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@threepointone threepointone merged commit b197faf into main May 1, 2026
1 check failed
@threepointone threepointone deleted the think-multimodal-workspace-read branch May 1, 2026 12:07
@github-actions github-actions Bot mentioned this pull request May 1, 2026
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