Conversation
added 2 commits
May 19, 2026 09:44
The 🪿 (goose) emoji in the CLI prompt is rendered as 1 cell wide on many terminals while unicode-width counts it as 2. This causes cursor misalignment — characters appear spaced out and backspace behaves oddly. Rather than try to detect which terminals render it correctly, just use the plain '> ' prompt everywhere in the CLI. Users who want a fancier UI can use the TUI. Fixes #8841 Signed-off-by: Douwe Osinga <douwe@squareup.com>
When an MCP tool has no parameters, tool_call.arguments is None, which
serialized to JSON null. The Anthropic API rejects null for the input
field, requiring an empty object {} instead.
This is the same fix applied to Bedrock in #8121 but was missing from
the Anthropic provider.
Fixes #9287
Signed-off-by: Douwe Osinga <douwe@squareup.com>
Member
|
fixed in #9355 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When an MCP tool has no parameters,
tool_call.argumentsisNone, which serialized to JSONnull. The Anthropic API rejectsnullfor theinputfield, requiring an empty object{}instead.This is the same fix applied to Bedrock in #8121 but was missing from the Anthropic provider.
Fixes #9287