Skip to content

Commit 7b1fb4a

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1331)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent b96856e commit 7b1fb4a

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10106,6 +10106,23 @@ components:
1010610106
- 'pattern'
1010710107
- 'action'
1010810108
type: 'object'
10109+
ContentFilterReadEntry:
10110+
allOf:
10111+
- $ref: '#/components/schemas/ContentFilterEntry'
10112+
- properties:
10113+
is_enforced:
10114+
description: 'Whether inference applies this pattern. False for a pattern saved before pattern validation that is too complex to run safely; it is kept but skipped until replaced.'
10115+
example: true
10116+
type: 'boolean'
10117+
required:
10118+
- 'is_enforced'
10119+
type: 'object'
10120+
description: 'A custom regex content filter, with whether inference enforces it.'
10121+
example:
10122+
action: 'redact'
10123+
is_enforced: true
10124+
label: '[API_KEY]'
10125+
pattern: '\b(sk-[a-zA-Z0-9]{48})\b'
1010910126
ContentPartAddedEvent:
1011010127
allOf:
1011110128
- $ref: '#/components/schemas/BaseContentPartAddedEvent'
@@ -15827,10 +15844,11 @@ components:
1582715844
description: 'Custom regex content filters applied to request messages'
1582815845
example:
1582915846
- action: 'redact'
15847+
is_enforced: true
1583015848
label: '[API_KEY]'
1583115849
pattern: '\b(sk-[a-zA-Z0-9]{48})\b'
1583215850
items:
15833-
$ref: '#/components/schemas/ContentFilterEntry'
15851+
$ref: '#/components/schemas/ContentFilterReadEntry'
1583415852
type:
1583515853
- 'array'
1583615854
- 'null'

0 commit comments

Comments
 (0)