Skip to content

Commit 178bf07

Browse files
authored
Merge pull request #111 from togethercomputer/yogish/add-warning
adding warnings to openapi spec of inference response
2 parents 31a7948 + ff19911 commit 178bf07

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

openapi.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2223,6 +2223,13 @@ components:
22232223
type: string
22242224
enum:
22252225
- chat.completion
2226+
warnings:
2227+
type: array
2228+
items:
2229+
type: object
2230+
properties:
2231+
message:
2232+
type: string
22262233
required: [choices, id, created, model, object]
22272234

22282235
ChatCompletionStream:
@@ -2305,7 +2312,13 @@ components:
23052312
allOf:
23062313
- $ref: '#/components/schemas/UsageData'
23072314
- nullable: true
2308-
2315+
warnings:
2316+
type: array
2317+
items:
2318+
type: object
2319+
properties:
2320+
message:
2321+
type: string
23092322
AudioSpeechRequest:
23102323
type: object
23112324
required:

0 commit comments

Comments
 (0)