mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
chore: 🐝 Update SDK - Generate (spec change merged) 0.11.1 (#385)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
speakeasybot
speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent
3e57a57bc0
commit
28299a788d
@@ -31,6 +31,12 @@ value: components.BashServerTool = /* values here */
|
||||
value: components.DatetimeServerTool = /* values here */
|
||||
```
|
||||
|
||||
### `components.FilesServerTool`
|
||||
|
||||
```python
|
||||
value: components.FilesServerTool = /* values here */
|
||||
```
|
||||
|
||||
### `components.ImageGenerationServerToolOpenRouter`
|
||||
|
||||
```python
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: "FilesServerTool"
|
||||
---
|
||||
|
||||
OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires the `x-openrouter-file-ids: openrouter` request header.
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
|
||||
| `parameters` | [Optional[components.FilesServerToolConfig]](../components/filesservertoolconfig.mdx) | :heavy_minus_sign: | Configuration for the openrouter:files server tool | \{} |
|
||||
| `type` | [components.FilesServerToolType](../components/filesservertooltype.mdx) | :heavy_check_mark: | N/A | |
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
title: "FilesServerToolConfig"
|
||||
---
|
||||
|
||||
Configuration for the openrouter:files server tool
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
| ----------- | ----------- | ----------- | ----------- |
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: "FilesServerToolType"
|
||||
---
|
||||
|
||||
## Example Usage
|
||||
|
||||
```python
|
||||
from openrouter.components import FilesServerToolType
|
||||
value: FilesServerToolType = "openrouter:files"
|
||||
```
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
- `"openrouter:files"`
|
||||
@@ -106,6 +106,12 @@ value: components.SubagentServerToolOpenRouter = /* values here */
|
||||
value: components.DatetimeServerTool = /* values here */
|
||||
```
|
||||
|
||||
### `components.FilesServerTool`
|
||||
|
||||
```python
|
||||
value: components.FilesServerTool = /* values here */
|
||||
```
|
||||
|
||||
### `components.FusionServerToolOpenRouter`
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user