Enum
stop-reason
No description available.
enum stop-reason {
end-turn,
max-tokens,
max-turn-requests,
refusal,
cancelled,
}Cases
| Case | Description |
|---|---|
| end-turn | |
| max-tokens | |
| max-turn-requests | |
| refusal | |
| cancelled | The caller dropped the [agent.prompt-turn] before the
agent finished. Agents MUST resolve response() with this
when their turn is cancelled. |