Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 606 Bytes

bashservertoolengine.mdx

File metadata and controls

23 lines (15 loc) · 606 Bytes
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

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"