forked from phoenix-oss/llama-stack-mirror
Avoid warnings from pydantic for overriding schema
Also fix structured output in completions
This commit is contained in:
parent
ed833bb758
commit
eccd7dc4a9
7 changed files with 50 additions and 26 deletions
|
@ -121,7 +121,7 @@ class TogetherInferenceAdapter(
|
|||
if fmt.type == ResponseFormatType.json_schema.value:
|
||||
options["response_format"] = {
|
||||
"type": "json_object",
|
||||
"schema": fmt.schema,
|
||||
"schema": fmt.json_schema,
|
||||
}
|
||||
elif fmt.type == ResponseFormatType.grammar.value:
|
||||
raise NotImplementedError("Grammar response format not supported yet")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue