Update wellbe_agent.py
#9
by
victoria-latynina
- opened
- 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 |
)
|