This commit is contained in:
Timothy Jaeryang Baek
2025-09-08 19:09:26 +04:00
parent 8a9f862701
commit 4cea3a57be
2 changed files with 11 additions and 0 deletions

View File

@@ -127,6 +127,9 @@ async def get_tools(
headers["Authorization"] = (
f"Bearer {tool_server_connection.get('key', '')}"
)
elif auth_type == "none":
# No authentication
pass
elif auth_type == "session":
cookies = request.cookies
headers["Authorization"] = (