victoria-latynina commited on
Commit
86a4c51
·
verified ·
1 Parent(s): 5d81b4c

Update wellbe_agent.py

Browse files
Files changed (1) hide show
  1. wellbe_agent.py +3 -2
wellbe_agent.py CHANGED
@@ -35,8 +35,9 @@ def initialize_mcp_servers(whoop_email: str, whoop_password: str) -> None:
35
  global _healthcare_server, _whoop_server
36
  if _healthcare_server is None:
37
  cfg = deepcopy(MCP_CONFIGS)
38
- cfg["whoop"].update({"username": whoop_email, "password": whoop_password})
39
-
 
40
  _healthcare_server = MCPServerStreamableHttp(
41
  params=cfg["healthcare-mcp-public"], name="Healthcare MCP Server"
42
  )
 
35
  global _healthcare_server, _whoop_server
36
  if _healthcare_server is None:
37
  cfg = deepcopy(MCP_CONFIGS)
38
+ os.environ["WHOOP_EMAIL"] = whoop_email
39
+ os.environ["WHOOP_PASSWORD"] = whoop_password
40
+
41
  _healthcare_server = MCPServerStreamableHttp(
42
  params=cfg["healthcare-mcp-public"], name="Healthcare MCP Server"
43
  )