mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
don't include internal models in /v1/models endpoint (#685)
This commit is contained in:
parent
c1c808feb2
commit
ab391f96c7
3 changed files with 49 additions and 2 deletions
|
|
@ -310,6 +310,7 @@ def validate_and_render_schema():
|
|||
"name": "arch-router",
|
||||
"provider_interface": "arch",
|
||||
"model": config_yaml.get("routing", {}).get("model", "Arch-Router"),
|
||||
"internal": True,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
@ -320,6 +321,7 @@ def validate_and_render_schema():
|
|||
"name": "arch-function",
|
||||
"provider_interface": "arch",
|
||||
"model": "Arch-Function",
|
||||
"internal": True,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
@ -329,6 +331,7 @@ def validate_and_render_schema():
|
|||
"name": "plano-orchestrator",
|
||||
"provider_interface": "arch",
|
||||
"model": "Plano-Orchestrator",
|
||||
"internal": True,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue