Skip to content

Commit e0e80c5

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#224)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 7db74e5 commit e0e80c5

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4184,6 +4184,25 @@ components:
41844184
$ref: '#/components/schemas/ChatStreamToolCall'
41854185
type: array
41864186
type: object
4187+
ChatStreamingResponse:
4188+
example:
4189+
data:
4190+
choices:
4191+
- delta:
4192+
content: Hello
4193+
role: assistant
4194+
finish_reason: null
4195+
index: 0
4196+
created: 1677652288
4197+
id: chatcmpl-123
4198+
model: openai/gpt-4
4199+
object: chat.completion.chunk
4200+
properties:
4201+
data:
4202+
$ref: '#/components/schemas/ChatStreamChunk'
4203+
required:
4204+
- data
4205+
type: object
41874206
ChatStreamOptions:
41884207
description: Streaming configuration options
41894208
example:
@@ -15448,12 +15467,7 @@ paths:
1544815467
model: openai/gpt-4
1544915468
object: chat.completion.chunk
1545015469
schema:
15451-
properties:
15452-
data:
15453-
$ref: '#/components/schemas/ChatStreamChunk'
15454-
required:
15455-
- data
15456-
type: object
15470+
$ref: '#/components/schemas/ChatStreamingResponse'
1545715471
x-speakeasy-sse-sentinel: '[DONE]'
1545815472
description: Successful chat completion response
1545915473
'400':

0 commit comments

Comments
 (0)