fix conftest and more optionals
This commit is contained in:
parent
9674021fae
commit
77edef26f7
2 changed files with 2 additions and 3 deletions
|
|
@ -633,8 +633,8 @@ async def onboarding(request, flows_service):
|
|||
|
||||
await flows_service.change_langflow_model_value(
|
||||
provider,
|
||||
body["embedding_model"],
|
||||
body["llm_model"],
|
||||
body.get("embedding_model"),
|
||||
body.get("llm_model"),
|
||||
body.get("endpoint"),
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ async def onboard_system():
|
|||
"model_provider": "openai",
|
||||
"embedding_model": "text-embedding-3-small",
|
||||
"llm_model": "gpt-4o-mini",
|
||||
"endpoint": "https://api.openai.com/v1",
|
||||
"sample_data": False,
|
||||
}
|
||||
resp = await client.post("/onboarding", json=onboarding_payload)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue