Skip to content

fix(tool): inject openrouter key and base url into reasoning tool#8

Merged
shiqian-su merged 1 commit intoMiroMindAI:mainfrom
Re-bin:main
Aug 19, 2025
Merged

fix(tool): inject openrouter key and base url into reasoning tool#8
shiqian-su merged 1 commit intoMiroMindAI:mainfrom
Re-bin:main

Conversation

@Re-bin
Copy link
Contributor

@Re-bin Re-bin commented Aug 13, 2025

Describe this PR

The reasoning tool defined in reasoning-mcp-server.py appears to use OpenRouter. However, tool_utils.py does not pass the API key and base URL to StdioServerParameters.

Checklist for PR

Must Do

  • Write a good PR title and description, i.e. feat(agent): add pdf tool via mcp, perf: make llm client async and fix(utils): load custom config via importlib etc. CI job check-pr-title enforces Angular commit message format to PR title.
  • Run make precommit locally. CI job lint enforce ruff default format/lint rules on all new codes.
  • Run make pytest. Check test summary (located at report.html) and coverage report (located at htmlcov/index.html) on new codes.

Nice To Have

  • (Optional) Write/update tests under /tests for feat and test PR.
  • (Optional) Write/update docs under /docs for docs and ci PR.

@gali-leilei gali-leilei changed the title Fix API Key and Base URL Handling in Reasoning Tool fix(tool): inject openrouter key and base url into reasoning tool Aug 14, 2025
@gali-leilei
Copy link
Contributor

good catch!

I have updated the pull request title to pass check-pr-title.

Copy link
Contributor

@gali-leilei gali-leilei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@shiqian-su shiqian-su merged commit f0d543e into MiroMindAI:main Aug 19, 2025
5 of 8 checks passed
Zhudongsheng75 pushed a commit to open-compass/MiroFlow that referenced this pull request Dec 27, 2025
BinWang28 pushed a commit that referenced this pull request Mar 11, 2026
fix(agent): fix small bugs to prevent intermediate errors from causing direct failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants