mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
chore: 🐝 Update SDK - Generate (spec change merged) 0.11.17 (#422)
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
e62415b7ce
commit
4a9b45c2a0
@@ -89,7 +89,7 @@ This is an open enum. Unrecognized values will not fail type checks.
|
||||
- `"recraft"`
|
||||
- `"reka"`
|
||||
- `"relace"`
|
||||
- `"sakana-ai"`
|
||||
- `"sakana"`
|
||||
- `"sambanova"`
|
||||
- `"seed"`
|
||||
- `"siliconflow"`
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
---
|
||||
title: "Category"
|
||||
---
|
||||
|
||||
The category of feedback being reported
|
||||
|
||||
## Example Usage
|
||||
|
||||
```python
|
||||
from openrouter.components import Category
|
||||
|
||||
# Open enum: unrecognized values are captured as UnrecognizedStr
|
||||
value: Category = "latency"
|
||||
```
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
This is an open enum. Unrecognized values will not fail type checks.
|
||||
|
||||
- `"latency"`
|
||||
- `"incoherence"`
|
||||
- `"incorrect_response"`
|
||||
- `"formatting"`
|
||||
- `"billing"`
|
||||
- `"api_error"`
|
||||
- `"other"`
|
||||
@@ -106,7 +106,7 @@ Provider-specific options keyed by provider slug. Only options for the matched p
|
||||
| `reka` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `relace` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `replicate` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sakana_ai` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sakana` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sambanova` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sambanova_cloaked` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `seed` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
|
||||
@@ -106,7 +106,7 @@ Provider-specific options keyed by provider slug. Only options for the matched p
|
||||
| `reka` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `relace` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `replicate` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sakana_ai` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sakana` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sambanova` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sambanova_cloaked` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `seed` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: "SubmitGenerationFeedbackRequest"
|
||||
---
|
||||
|
||||
Structured feedback about a specific generation
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
|
||||
| `category` | [components.Category](../components/category.mdx) | :heavy_check_mark: | The category of feedback being reported | incorrect_response |
|
||||
| `comment` | *Optional[str]* | :heavy_minus_sign: | An optional free-text comment describing the feedback | The model repeated the same paragraph three times. |
|
||||
| `generation_id` | *str* | :heavy_check_mark: | The generation to submit feedback on | gen-3bhGkxlo4XFrqiabUM7NDtwDzWwG |
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: "SubmitGenerationFeedbackResponse"
|
||||
---
|
||||
|
||||
Confirmation that the feedback was recorded
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
|
||||
| `data` | [components.SubmitGenerationFeedbackResponseData](../components/submitgenerationfeedbackresponsedata.mdx) | :heavy_check_mark: | N/A |
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: "SubmitGenerationFeedbackResponseData"
|
||||
---
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- |
|
||||
| `success` | *Literal[True]* | :heavy_check_mark: | Whether the feedback was recorded | true |
|
||||
@@ -106,7 +106,7 @@ Provider-specific options keyed by provider slug. Only options for the matched p
|
||||
| `reka` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `relace` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `replicate` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sakana_ai` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sakana` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sambanova` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `sambanova_cloaked` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
| `seed` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
|
||||
|
||||
Reference in New Issue
Block a user