From 2c37ec37970ac7a612ddb89dcc7123c73c871a02 Mon Sep 17 00:00:00 2001 From: drbh Date: Thu, 20 Feb 2025 21:18:16 +0000 Subject: [PATCH] fix: various linter adjustments --- docs/openapi.json | 4 ++-- .../models/test_grammar_response_format_llama.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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": [ {