This commit is contained in:
Timothy Jaeryang Baek
2025-09-08 19:53:44 +04:00
parent 2b2d123531
commit 6f6412dd16
4 changed files with 5 additions and 5 deletions

View File

@@ -135,7 +135,7 @@ async def get_tools(
headers["Authorization"] = (
f"Bearer {request.state.token.credentials}"
)
elif auth_type == "oauth":
elif auth_type == "system_oauth":
cookies = request.cookies
oauth_token = extra_params.get("__oauth_token__", None)
if oauth_token: