feat: update llm selector (#2061)

Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
Shubham Naik
2025-05-07 16:06:34 -07:00
committed by GitHub
parent 3a2a7e4001
commit 750ac03fc8

View File

@@ -47,7 +47,8 @@ def create_provider(
"""
actor = server.user_manager.get_user_or_default(user_id=actor_id)
provider = Provider(**request.model_dump())
provider = ProviderCreate(**request.model_dump())
provider = server.provider_manager.create_provider(provider, actor=actor)
return provider