mirror of
https://github.com/katanemo/plano.git
synced 2026-07-02 15:51:02 +02:00
fix tests
This commit is contained in:
parent
b69a3d5bad
commit
ed0772fdd0
2 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,6 @@ def validate_and_render_schema():
|
||||||
llm_provider["model"] = model_id
|
llm_provider["model"] = model_id
|
||||||
llm_provider["provider_interface"] = provider
|
llm_provider["provider_interface"] = provider
|
||||||
llm_provider_name_set.add(llm_provider.get("name"))
|
llm_provider_name_set.add(llm_provider.get("name"))
|
||||||
provider = None
|
|
||||||
if llm_provider.get("provider") and llm_provider.get("provider_interface"):
|
if llm_provider.get("provider") and llm_provider.get("provider_interface"):
|
||||||
raise Exception(
|
raise Exception(
|
||||||
"Please provide either provider or provider_interface, not both"
|
"Please provide either provider or provider_interface, not both"
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ listeners:
|
||||||
name: mistral/mistral-8x7b
|
name: mistral/mistral-8x7b
|
||||||
provider_interface: mistral
|
provider_interface: mistral
|
||||||
- base_url: http://mistral_local
|
- base_url: http://mistral_local
|
||||||
|
cluster_name: mistral_mistral_local
|
||||||
endpoint: mistral_local
|
endpoint: mistral_local
|
||||||
model: mistral-7b-instruct
|
model: mistral-7b-instruct
|
||||||
name: mistral/mistral-7b-instruct
|
name: mistral/mistral-7b-instruct
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue