mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
13 lines
1.6 KiB
Plaintext
13 lines
1.6 KiB
Plaintext
---
|
|
title: "StopServerToolsWhenMaxCost"
|
|
---
|
|
|
|
Stop once cumulative cost across the loop exceeds this dollar threshold.
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
|
| `max_cost_in_dollars` | *float* | :heavy_check_mark: | N/A |
|
|
| `type` | [components.StopServerToolsWhenMaxCostType](../components/stopservertoolswhenmaxcosttype.mdx) | :heavy_check_mark: | N/A | |