Skip to content

Improve import logic for different output shapes#129

Merged
ankrgyl merged 3 commits intomainfrom
anthropic-stuff
Feb 27, 2026
Merged

Improve import logic for different output shapes#129
ankrgyl merged 3 commits intomainfrom
anthropic-stuff

Conversation

@ankrgyl
Copy link
Contributor

@ankrgyl ankrgyl commented Feb 27, 2026

You can output a list of messages, a single message (which itself may be a list of content parts), or just text. This change fixes the logic so that we try all of these in a provider-agnostic way (though the specific bug has to do with Anthropic)

@ankrgyl ankrgyl requested review from CLowbrow and knjiang February 27, 2026 02:20
Copy link
Contributor

@CLowbrow CLowbrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Floppy is mad at you but seems fine otherwise

@ankrgyl ankrgyl merged commit d92cbd2 into main Feb 27, 2026
5 checks passed
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.

2 participants