Skip to content

Commit 4de08ed

Browse files
committed
feat: Add reasoning_content field to chunk message in OpenAPI specification
Signed-off-by: Eden Reich <[email protected]>
1 parent 72ffce5 commit 4de08ed

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Taskfile.yml

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ tasks:
2626
desc: Generate TypeScript types from OpenAPI specification
2727
cmds:
2828
- npx openapi-typescript openapi.yaml --enum --enum-values --dedupe-enums=true --root-types -o src/types/generated/index.ts
29+
- npx prettier --write src/types/generated/index.ts

openapi.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,9 @@ components:
904904
content:
905905
type: string
906906
description: The contents of the chunk message.
907+
reasoning_content:
908+
type: string
909+
description: The reasoning content of the chunk message.
907910
tool_calls:
908911
type: array
909912
items:

src/types/generated/index.ts

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)