mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 01:19:47 +00:00
Add JSON structured outputs to Ollama
This commit is contained in:
parent
bae197c37e
commit
da82fb22f6
2 changed files with 15 additions and 4 deletions
|
|
@ -191,6 +191,7 @@ class TestInference:
|
|||
provider = inference_impl.routing_table.get_provider_impl(inference_model)
|
||||
if provider.__provider_spec__.provider_type not in (
|
||||
"inline::meta-reference",
|
||||
"remote::ollama",
|
||||
"remote::tgi",
|
||||
"remote::together",
|
||||
"remote::fireworks",
|
||||
|
|
@ -253,6 +254,7 @@ class TestInference:
|
|||
provider = inference_impl.routing_table.get_provider_impl(inference_model)
|
||||
if provider.__provider_spec__.provider_type not in (
|
||||
"inline::meta-reference",
|
||||
"remote::ollama",
|
||||
"remote::fireworks",
|
||||
"remote::tgi",
|
||||
"remote::together",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue