diff --git a/src/anthropic/types/beta/beta_message.py b/src/anthropic/types/beta/beta_message.py index f594bc03..f284fde3 100644 --- a/src/anthropic/types/beta/beta_message.py +++ b/src/anthropic/types/beta/beta_message.py @@ -95,7 +95,9 @@ class BetaMessage(BaseModel): - `"stop_sequence"`: one of your provided custom `stop_sequences` was generated - `"tool_use"`: the model invoked one or more tools - `"pause_turn"`: we paused a long-running turn. You may provide the response - back as-is in a subsequent request to let the model continue. + back in a subsequent request to let the model continue. For server tool + flows, make sure any pending tool-use blocks are resumed in the shape the + API expects, including any required tool-result blocks. - `"refusal"`: when streaming classifiers intervene to handle potential policy violations diff --git a/src/anthropic/types/message.py b/src/anthropic/types/message.py index f7971468..230f5f67 100644 --- a/src/anthropic/types/message.py +++ b/src/anthropic/types/message.py @@ -88,7 +88,9 @@ class Message(BaseModel): - `"stop_sequence"`: one of your provided custom `stop_sequences` was generated - `"tool_use"`: the model invoked one or more tools - `"pause_turn"`: we paused a long-running turn. You may provide the response - back as-is in a subsequent request to let the model continue. + back in a subsequent request to let the model continue. For server tool + flows, make sure any pending tool-use blocks are resumed in the shape the + API expects, including any required tool-result blocks. - `"refusal"`: when streaming classifiers intervene to handle potential policy violations