Skip to content

Commit 33b2a95

Browse files
mudlergithub-actions[bot]
authored andcommitted
feat(swagger): update swagger
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ee7904f commit 33b2a95

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

swagger/docs.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,6 +1752,13 @@ const docTemplate = `{
17521752
"prompt_tokens": {
17531753
"type": "integer"
17541754
},
1755+
"timing_prompt_processing": {
1756+
"description": "Extra timing data, disabled by default as is't not a part of OpenAI specification",
1757+
"type": "number"
1758+
},
1759+
"timing_token_generation": {
1760+
"type": "number"
1761+
},
17551762
"total_tokens": {
17561763
"type": "integer"
17571764
}

swagger/swagger.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1745,6 +1745,13 @@
17451745
"prompt_tokens": {
17461746
"type": "integer"
17471747
},
1748+
"timing_prompt_processing": {
1749+
"description": "Extra timing data, disabled by default as is't not a part of OpenAI specification",
1750+
"type": "number"
1751+
},
1752+
"timing_token_generation": {
1753+
"type": "number"
1754+
},
17481755
"total_tokens": {
17491756
"type": "integer"
17501757
}

swagger/swagger.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,12 @@ definitions:
646646
type: integer
647647
prompt_tokens:
648648
type: integer
649+
timing_prompt_processing:
650+
description: Extra timing data, disabled by default as is't not a part of
651+
OpenAI specification
652+
type: number
653+
timing_token_generation:
654+
type: number
649655
total_tokens:
650656
type: integer
651657
type: object

0 commit comments

Comments
 (0)