Skip to content

fix(llm): stabilize anthropic tool result typecheck#28909

Merged
rekram1-node merged 1 commit into
devfrom
fix/anthropic-tool-result-typecheck
May 22, 2026
Merged

fix(llm): stabilize anthropic tool result typecheck#28909
rekram1-node merged 1 commit into
devfrom
fix/anthropic-tool-result-typecheck

Conversation

@rekram1-node
Copy link
Copy Markdown
Collaborator

Summary

  • preserve the narrowed Anthropic tool-result content array type before passing it to Effect.forEach
  • avoid tsgo widening the mapper input/error type when @opencode-ai/llm is compiled through packages/opencode

Reproduction

Validation

@rekram1-node rekram1-node merged commit 14c511e into dev May 22, 2026
12 checks passed
@rekram1-node rekram1-node deleted the fix/anthropic-tool-result-typecheck branch May 22, 2026 22:14
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