chore: update OpenAPI spec from monorepo (#244)

Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
robert-j-y
2026-05-13 14:58:31 -07:00
committed by GitHub
co-authored by OpenRouter SDK Bot
parent 4c5911ffee
commit ec85ab283b
+6 -5
View File
@@ -280,6 +280,9 @@ components:
- type
type: object
AnthropicCacheControlDirective:
description: >-
Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints
to the last cacheable block in the request. Currently supported for Anthropic Claude models.
example:
type: ephemeral
properties:
@@ -3927,11 +3930,7 @@ components:
temperature: 0.7
properties:
cache_control:
allOf:
- $ref: '#/components/schemas/AnthropicCacheControlDirective'
- description: >-
Enable automatic prompt caching. When set, the system automatically applies cache breakpoints to the
last cacheable block in the request. Currently supported for Anthropic Claude models.
$ref: '#/components/schemas/AnthropicCacheControlDirective'
debug:
$ref: '#/components/schemas/ChatDebugOptions'
frequency_penalty:
@@ -14013,6 +14012,8 @@ components:
background:
nullable: true
type: boolean
cache_control:
$ref: '#/components/schemas/AnthropicCacheControlDirective'
frequency_penalty:
format: double
nullable: true