mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
27 lines
695 B
Plaintext
27 lines
695 B
Plaintext
---
|
|
title: "WebFetchEngineEnum"
|
|
---
|
|
|
|
Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" forces the provider's built-in fetch. "exa" uses Exa Contents API. "openrouter" uses direct HTTP fetch. "firecrawl" uses Firecrawl scrape (requires BYOK). "parallel" uses the Parallel extract API.
|
|
|
|
## Example Usage
|
|
|
|
```python
|
|
from openrouter.components import WebFetchEngineEnum
|
|
|
|
# Open enum: unrecognized values are captured as UnrecognizedStr
|
|
value: WebFetchEngineEnum = "auto"
|
|
```
|
|
|
|
|
|
## Values
|
|
|
|
This is an open enum. Unrecognized values will not fail type checks.
|
|
|
|
- `"auto"`
|
|
- `"native"`
|
|
- `"openrouter"`
|
|
- `"exa"`
|
|
- `"parallel"`
|
|
- `"firecrawl"`
|