chore: update OpenAPI spec from monorepo (#131)

Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
robert-j-y
2026-04-16 12:44:05 -05:00
committed by GitHub
co-authored by OpenRouter SDK Bot
parent c2a933ff6b
commit 6006c3a84f
+24
View File
@@ -7244,6 +7244,30 @@ components:
- type
- schema
type: object
task_budget:
description: >-
Task budget for an agentic turn. The model sees a countdown of remaining tokens and uses it to prioritize
work and wind down gracefully. Advisory — does not enforce a hard cap.
example:
total: 400000
type: tokens
nullable: true
properties:
remaining:
minimum: 0
nullable: true
type: integer
total:
minimum: 20000
type: integer
type:
enum:
- tokens
type: string
required:
- type
- total
type: object
type: object
MessagesPingEvent:
description: Keep-alive ping event