You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AnthropicSamplingHandler reports stop_sequence as endTurn instead of stopSequence #5603
bugSomething isn't working. Reports of errors, unexpected behavior, or broken functionality.clientRelated to the FastMCP client SDK or client-side functionality.
When Anthropic stops generation because a stop sequence was hit, the sampling result's stop_reason is endTurn, although MCP defines stopSequence for that case.
bugSomething isn't working. Reports of errors, unexpected behavior, or broken functionality.clientRelated to the FastMCP client SDK or client-side functionality.
Activity
Map Anthropic stop_sequence to the MCP stopSequence stop reason (#5625)