fix: modify provider arg (#2065)

This commit is contained in:
cthomas 2025-05-07 17:40:08 -07:00 committed by GitHub
parent 1a5283177d
commit 12fd9dab99
3 changed files with 7 additions and 7 deletions

View File

@ -65,7 +65,7 @@ def modify_provider(
Update an existing custom provider
"""
actor = server.user_manager.get_user_or_default(user_id=actor_id)
return server.provider_manager.update_provider(provider_id=provider_id, request=request, actor=actor)
return server.provider_manager.update_provider(provider_id=provider_id, provider_update=request, actor=actor)
@router.get("/check", response_model=None, operation_id="check_provider")

10
poetry.lock generated
View File

@ -1,4 +1,4 @@
# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand.
# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand.
[[package]]
name = "aiohappyeyeballs"
@ -3174,14 +3174,14 @@ pytest = ["pytest (>=7.0.0)", "rich (>=13.9.4,<14.0.0)"]
[[package]]
name = "letta-client"
version = "0.1.136"
version = "0.1.140"
description = ""
optional = false
python-versions = "<4.0,>=3.8"
groups = ["main"]
files = [
{file = "letta_client-0.1.136-py3-none-any.whl", hash = "sha256:1afce2ef1cde52a2045fd06ef4d32a2197837c8881ddc2031e0da57a9842e2f2"},
{file = "letta_client-0.1.136.tar.gz", hash = "sha256:e79dd4cf62f68ec391bdc3a33f6dc9fa2aa1888e08a6faf47ab3cccd2a10b523"},
{file = "letta_client-0.1.140-py3-none-any.whl", hash = "sha256:f7c049dda1a550b6c01690d3e1f574e7b2d703b391a662cc98bf78e7bd7c1bde"},
{file = "letta_client-0.1.140.tar.gz", hash = "sha256:410a71a07884af1ba6ae6735ea483a543040e0e08a203618c2d32f7615d64bf2"},
]
[package.dependencies]
@ -7503,4 +7503,4 @@ tests = ["wikipedia"]
[metadata]
lock-version = "2.1"
python-versions = "<3.14,>=3.10"
content-hash = "af7c3dd05e6214f41909ae959678118269777316b460fd3eb1d8ddb3d5682246"
content-hash = "e3b9eebd80cb917ef0c911c316d87ccf6abe0b1bb3bcecaadd8708f0fb93d57e"

View File

@ -73,7 +73,7 @@ llama-index = "^0.12.2"
llama-index-embeddings-openai = "^0.3.1"
e2b-code-interpreter = {version = "^1.0.3", optional = true}
anthropic = "^0.49.0"
letta_client = "^0.1.136"
letta_client = "^0.1.140"
openai = "^1.60.0"
opentelemetry-api = "1.30.0"
opentelemetry-sdk = "1.30.0"