Skip to content

Commit cbb407e

Browse files
committed
refactoring code to use PR 5957
1 parent 46da1dd commit cbb407e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tensorrt_llm/serve/openai_protocol.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ class ResponseFormat(OpenAIBaseModel):
5757
schema: Optional[dict] = None
5858
structures: Optional[List[StructuralTag]] = None
5959
triggers: Optional[List[str]] = None
60-
json_schema: Optional[Dict[str, Any]] = None
6160

6261

6362
class DisaggregatedParams(OpenAIBaseModel):
@@ -213,7 +212,7 @@ class CompletionRequest(OpenAIBaseModel):
213212
default=None,
214213
description=
215214
("Similar to chat completion, this parameter specifies the format of "
216-
"output. {'type': 'json_object'}, {'type': 'text' }, {'type': 'structural_tag'}, {'type': 'json_schema'} are "
215+
"output. {'type': 'json_object'}, {'type': 'text' }, {'type': 'structural_tag'}, {'type': 'json'} are "
217216
"supported."),
218217
)
219218

0 commit comments

Comments
 (0)