Skip to content

Commit 49ae9cb

Browse files
authored
fix(tool): inject openrouter key and base url into reasoning tool (MiroMindAI#8)
Update tool_utils.py
1 parent b219f24 commit 49ae9cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/miroflow/src/miroflow/utils/tool_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ def create_mcp_server_parameters(
9393
env={
9494
"ANTHROPIC_API_KEY": cfg.env.anthropic_api_key,
9595
"ANTHROPIC_BASE_URL": cfg.env.anthropic_base_url,
96+
"OPENROUTER_API_KEY": cfg.env.openrouter_api_key,
97+
"OPENROUTER_BASE_URL": cfg.env.openrouter_base_url,
9698
},
9799
),
98100
}

0 commit comments

Comments
 (0)