This commit is contained in:
pablodanswer 2024-10-18 16:24:37 -07:00
parent b938b42e02
commit 95ff96080c

@ -95,10 +95,11 @@ def upsert_llm_provider(
group_ids=llm_provider.groups,
db_session=db_session,
)
full_llm_provider = FullLLMProvider.from_model(existing_llm_provider)
db_session.commit()
return FullLLMProvider.from_model(existing_llm_provider)
return full_llm_provider
def fetch_existing_embedding_providers(