Skip to content

fix(core): filter unsupported media inputs - #38145

Merged
rekram1-node merged 3 commits into
v2from
media-capabilities
Jul 21, 2026
Merged

fix(core): filter unsupported media inputs#38145
rekram1-node merged 3 commits into
v2from
media-capabilities

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • preserve catalog input capabilities when resolving a V2 session model
  • replace unsupported outbound media with model-visible errors before provider lowering
  • cover both user attachments and media nested in tool results

Fixes #38144

Checks

  • bun typecheck (packages/core)
  • bun test test/session-model-request.test.ts test/session-runner-model.test.ts (27 pass)
  • full core suite reached 1,385 passing tests; unrelated host-only failures require a node executable and reliable process-contention timing

Requested by: @rekram1-node (Aiden Cline via Slack)

@heimoshuiyu

Copy link
Copy Markdown
Contributor

amazing bot

@opencode-agent
opencode-agent Bot force-pushed the media-capabilities branch from e31e304 to b09fa62 Compare July 21, 2026 17:19
@opencode-agent
opencode-agent Bot force-pushed the media-capabilities branch from b09fa62 to 38c10d6 Compare July 21, 2026 18:20
@rekram1-node
rekram1-node merged commit caf727e into v2 Jul 21, 2026
7 of 8 checks passed
@rekram1-node
rekram1-node deleted the media-capabilities branch July 21, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants