[Bugfix][Frontend] Apply the JSON schema in Cohere Chat v2 response_format (#60586)

Signed-off-by: mottopanikeiku <176798723+mottopanikeiku@users.noreply.github.com>
Co-authored-by: mottopanikeiku <176798723+mottopanikeiku@users.noreply.github.com>
This commit is contained in:
alp
2026-10-14 19:42:20 +00:00
committed by GitHub
co-authored by mottopanikeiku
parent ded7ae35e5
commit e73fa00981
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -601,7 +601,7 @@ class CohereServingChatV2(OpenAIServingChat):
json_schema=(
JsonSchemaResponseFormat(
name="cohere_v2_json_schema",
json_schema=rf.json_schema,
schema=rf.json_schema,
)
if rf.json_schema
else None