mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
24 lines
606 B
Plaintext
24 lines
606 B
Plaintext
---
|
|
title: "BashServerToolEngine"
|
|
---
|
|
|
|
Which bash engine to use. "openrouter" runs commands server-side in the OpenRouter sandbox. "auto" (default) and "native" use native passthrough, returning the tool call to your application to run client-side; OpenRouter does not execute the commands.
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import BashServerToolEngine
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: BashServerToolEngine = "auto"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"auto"`
|
|
- `"native"`
|
|
- `"openrouter"`
|