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
|
@ -163,7 +163,7 @@ class FireworksInferenceAdapter(ModelRegistryHelper, Inference):
|
|||
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:
|
||||
options["response_format"] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue