-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
One stop reason for Claude completions is pause_turn. It is common when enabling web search.
Currently, this results in a pydantic parsing error, since we're not explicitly checking for this stop reason.
I think there's a design choice here. We could pass the response through, back to the user, and expect them to handle the retrying of stop_reason == "pause_turn". Or we could bake this retry behavior into the client. I think probably the latter would be preferable, but open to feedback.
Metadata
Metadata
Assignees
Labels
No labels