mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
13 lines
1.8 KiB
Plaintext
13 lines
1.8 KiB
Plaintext
---
|
|
title: "StopServerToolsWhenFinishReasonIs"
|
|
---
|
|
|
|
Stop when the upstream model emits this finish reason (e.g. `length`).
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
| `reason` | *str* | :heavy_check_mark: | N/A |
|
|
| `type` | [components.StopServerToolsWhenFinishReasonIsType](../components/stopservertoolswhenfinishreasonistype.mdx) | :heavy_check_mark: | N/A | |