fix: update deployment env variables for core for oauth routing

Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
This commit is contained in:
jnjpng
2025-07-30 13:19:48 -07:00
committed by GitHub
parent 06394b4821
commit df8ccf8b17

View File

@@ -776,7 +776,7 @@ async def connect_mcp_server(
redirect_uri = f"{LETTA_AGENTS_ENDPOINT}/v1/tools/mcp/oauth/callback/{session_id}"
else:
logger.error(
f"No redirect URI found for request and base urls: {http_request} {NEXT_PUBLIC_CURRENT_HOST} {LETTA_AGENTS_ENDPOINT}"
f"No redirect URI found for request and base urls: {http_request.headers} {NEXT_PUBLIC_CURRENT_HOST} {LETTA_AGENTS_ENDPOINT}"
)
raise HTTPException(status_code=400, detail="No redirect URI found")