Skip to content

Replay empty tool inputs as objects#89

Merged
lezama merged 1 commit into
mainfrom
fix/empty-tool-input-object
Jun 4, 2026
Merged

Replay empty tool inputs as objects#89
lezama merged 1 commit into
mainfrom
fix/empty-tool-input-object

Conversation

@lezama
Copy link
Copy Markdown
Owner

@lezama lezama commented Jun 4, 2026

Summary

  • replay no-argument tool calls through WP AI Client with {} instead of []
  • cover the Anthropic tool_use.input empty-object case in MessageAdapterTest

Tests

  • composer test -- --filter MessageAdapterTest
  • composer test
  • composer lint:php

@lezama lezama merged commit cc26cd6 into main Jun 4, 2026
6 checks passed
@lezama lezama deleted the fix/empty-tool-input-object branch June 4, 2026 02:20
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