Update wellbe_agent.py (#9)
Browse files- Update wellbe_agent.py (86a4c512f8e0ea77a9bcac1b12f9eb13e6c1b9c4)
Co-authored-by: Victoria Latynina <victoria-latynina@users.noreply.huggingface.co>
- 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 |
-
|
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 |
)
|