Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
279 changes: 179 additions & 100 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
version: 1.3.96
version: 1.3.97
additionalDependencies:
dev:
pytest: '>=8.3'
Expand Down
287 changes: 186 additions & 101 deletions .speakeasy/out.openapi.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:4195674d477f915085b147e820939116117bb3cd2aca4b4907100cd3742d6a4f
sourceBlobDigest: sha256:99c4030ee3cf77a2d1a6de79ada9ed0a4ee0790c2478011e30c45b067446ee51
sourceRevisionDigest: sha256:e68f6e81a66c91c18611abd72e741995f83228a5e69c34acdc1f570ed66ef012
sourceBlobDigest: sha256:95a532f816db55bae4bb6529bb8239de9e69b235023a5a0a7da4d138433477dc
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:4195674d477f915085b147e820939116117bb3cd2aca4b4907100cd3742d6a4f
sourceBlobDigest: sha256:99c4030ee3cf77a2d1a6de79ada9ed0a4ee0790c2478011e30c45b067446ee51
sourceRevisionDigest: sha256:e68f6e81a66c91c18611abd72e741995f83228a5e69c34acdc1f570ed66ef012
sourceBlobDigest: sha256:95a532f816db55bae4bb6529bb8239de9e69b235023a5a0a7da4d138433477dc
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:749e9f581dcf51ae7d60d5a189cd3ee840b774fc17213a568add9217a687d5e3
codeSamplesRevisionDigest: sha256:83249b88a852f8f22434d3cff10a3509e964f9a2e17cf03cb80d14f7c497ff4c
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.803.2
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3729,4 +3729,14 @@ Based on:
### Generated
- [python v1.3.96] .
### Releases
- [PyPI v1.3.96] https://pypi.org/project/openrouter/1.3.96 - .
- [PyPI v1.3.96] https://pypi.org/project/openrouter/1.3.96 - .

## 2026-10-30 00:00:50
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.97] .
### Releases
- [PyPI v1.3.97] https://pypi.org/project/openrouter/1.3.97 - .
18 changes: 18 additions & 0 deletions docs/components/classifierfiltersfilter.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "ClassifierFiltersFilter"
---

## Supported Types

### `components.ClassifierScalarFilter`

```python
value: components.ClassifierScalarFilter = /* values here */
```

### `components.ClassifierSetFilter`

```python
value: components.ClassifierSetFilter = /* values here */
```

11 changes: 11 additions & 0 deletions docs/components/classifierscalarfilter.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "ClassifierScalarFilter"
---

## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `field` | *str* | βœ”οΈ | Classifier dimension name to filter on (snake_case identifier, e.g. "department", "work_type"). | department |
| `operator` | [components.ClassifierScalarFilterOperator](../components/classifierscalarfilteroperator.mdx) | βœ”οΈ | Equality operator taking a scalar filter value. Ordered comparisons are not available because classification values are strings. | eq |
| `value` | [components.ClassifierScalarFilterValue](../components/classifierscalarfiltervalue.mdx) | βœ”οΈ | Scalar (string or number) filter value. | Engineering |
22 changes: 22 additions & 0 deletions docs/components/classifierscalarfilteroperator.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "ClassifierScalarFilterOperator"
---

Equality operator taking a scalar filter value. Ordered comparisons are not available because classification values are strings.

## Example Usage

```python
from openrouter.components import ClassifierScalarFilterOperator

# Open enum: unrecognized values are captured as UnrecognizedStr
value: ClassifierScalarFilterOperator = "eq"
```


## Values

This is an open enum. Unrecognized values will not fail type checks.

- `"eq"`
- `"neq"`
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
title: "ValueClassifierFilters"
title: "ClassifierScalarFilterValue"
---

Scalar (string or number) filter value.


## Supported Types

### `str`
Expand Down
11 changes: 11 additions & 0 deletions docs/components/classifiersetfilter.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "ClassifierSetFilter"
---

## Fields

| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| `field` | *str* | βœ”οΈ | Classifier dimension name to filter on (snake_case identifier, e.g. "department", "work_type"). | department |
| `operator` | [components.ClassifierSetFilterOperator](../components/classifiersetfilteroperator.mdx) | βœ”οΈ | Set-membership operator taking an array filter value. | in |
| `value` | List[[components.ClassifierSetFilterValue](../components/classifiersetfiltervalue.mdx)] | βœ”οΈ | Array of scalar filter values. | [<br/>"Engineering",<br/>"Support"<br/>] |
22 changes: 22 additions & 0 deletions docs/components/classifiersetfilteroperator.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "ClassifierSetFilterOperator"
---

Set-membership operator taking an array filter value.

## Example Usage

```python
from openrouter.components import ClassifierSetFilterOperator

# Open enum: unrecognized values are captured as UnrecognizedStr
value: ClassifierSetFilterOperator = "in"
```


## Values

This is an open enum. Unrecognized values will not fail type checks.

- `"in"`
- `"not_in"`
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Value2"
title: "ClassifierSetFilterValue"
---

## Supported Types
Expand Down
18 changes: 18 additions & 0 deletions docs/components/filter_.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
title: "Filter"
---

## Supported Types

### `components.ScalarFilter`

```python
value: components.ScalarFilter = /* values here */
```

### `components.SetFilter`

```python
value: components.SetFilter = /* values here */
```

Loading
Loading