diff --git a/docs/openapi.json b/docs/openapi.json index ad512479..370faf0a 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -1746,7 +1746,7 @@ "type": { "type": "string", "enum": [ - "json" + "json_schema" ] }, "value": { @@ -2406,4 +2406,4 @@ "description": "Hugging Face Text Generation Inference API" } ] -} +} \ No newline at end of file diff --git a/integration-tests/models/test_grammar_response_format_llama.py b/integration-tests/models/test_grammar_response_format_llama.py index 809dc3dd..d3ae735a 100644 --- a/integration-tests/models/test_grammar_response_format_llama.py +++ b/integration-tests/models/test_grammar_response_format_llama.py @@ -29,7 +29,7 @@ async def test_grammar_response_format_llama_json(llama_grammar, response_snapsh unit: str temperature: List[int] - json_payload={ + json_payload = { "model": "tgi", "messages": [ {