mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
13 lines
2.5 KiB
Plaintext
13 lines
2.5 KiB
Plaintext
---
|
|
title: "WebFetchPlugin"
|
|
---
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
|
|
| `allowed_domains` | List[*str*] | :heavy_minus_sign: | Only fetch from these domains. |
|
|
| `blocked_domains` | List[*str*] | :heavy_minus_sign: | Never fetch from these domains. |
|
|
| `id` | [components.WebFetchPluginID](../components/webfetchpluginid.mdx) | :heavy_check_mark: | N/A |
|
|
| `max_content_tokens` | *Optional[int]* | :heavy_minus_sign: | Maximum content length in approximate tokens. Content exceeding this limit is truncated. |
|
|
| `max_uses` | *Optional[int]* | :heavy_minus_sign: | Maximum number of web fetches per request. Once exceeded, the tool returns an error. | |