Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/anthropic/types/beta/beta_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion src/anthropic/types/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down