mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
23 lines
585 B
Plaintext
23 lines
585 B
Plaintext
---
|
|
title: "ShellServerToolEngine"
|
|
---
|
|
|
|
Which shell engine to use. "openrouter" runs commands server-side in the OpenRouter sandbox. "auto" (default) keeps the provider's native hosted shell when available (OpenAI); on other providers the call is routed to the OpenRouter sandbox.
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import ShellServerToolEngine
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: ShellServerToolEngine = "auto"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"auto"`
|
|
- `"openrouter"`
|