mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
40 lines
805 B
Plaintext
40 lines
805 B
Plaintext
---
|
|
title: "StopServerToolsWhenCondition"
|
|
---
|
|
|
|
A single condition that, when met, halts the server-tool agent loop.
|
|
|
|
|
|
## Supported Types
|
|
|
|
### `components.StopServerToolsWhenFinishReasonIs`
|
|
|
|
```python
|
|
value: components.StopServerToolsWhenFinishReasonIs = /* values here */
|
|
```
|
|
|
|
### `components.StopServerToolsWhenHasToolCall`
|
|
|
|
```python
|
|
value: components.StopServerToolsWhenHasToolCall = /* values here */
|
|
```
|
|
|
|
### `components.StopServerToolsWhenMaxCost`
|
|
|
|
```python
|
|
value: components.StopServerToolsWhenMaxCost = /* values here */
|
|
```
|
|
|
|
### `components.StopServerToolsWhenMaxTokensUsed`
|
|
|
|
```python
|
|
value: components.StopServerToolsWhenMaxTokensUsed = /* values here */
|
|
```
|
|
|
|
### `components.StopServerToolsWhenStepCountIs`
|
|
|
|
```python
|
|
value: components.StopServerToolsWhenStepCountIs = /* values here */
|
|
```
|
|
|