Skip to content

Conversation

haikow
Copy link

@haikow haikow commented Sep 1, 2025

Closes #710

feat: Add provider testing and enhance templates

This PR introduces new features and improvements to the Claude Code Router:

Provider Connectivity Testing: Implemented new API endpoints (/api/test-providers and
/api/test-provider) and CLI commands (ccr test and ccr test ) to allow users to test the
connectivity and authentication of their configured LLM providers. This helps in diagnosing configuration
issues.
Enhanced Provider Templates: Added qwen_cli and gemini_cli_oauth templates to the frontend's
"Import from template" functionality, making it easier for users to configure these providers. These
templates are also prioritized to appear at the top of the list.
Improved OAuth Handling in Tests: Refactored the providerTest.ts utility to dynamically handle
OAuth-managed providers (like Qwen CLI and Gemini CLI), ensuring proper token validation and API call
formatting.
Configuration Path Correction: Fixed a minor typo in a configuration path within ui/config.json.
Removed Hardcoded Project ID: Eliminated a hardcoded private project ID from the providerTest.ts
to ensure that project configurations are strictly managed via user settings.
These changes significantly improve the usability and debuggability of the Claude Code Router for users
managing multiple LLM providers.

chekayo and others added 13 commits August 31, 2025 00:56
…r testing functionality\nfeat: enhance provider templates in UI\nfix: fix oauth provider testing logic\n\n🤖 Generated with [Claude Code](https://claude.ai/code)\n\nCo-Authored-By: Claude <[email protected]>
feat: add provider testing and enhance templates\n\nfeat: add provide…
…d detailed steps for building and running the project from source, including cloning the repository, installing dependencies, and running various commands. Updated the quick start section to improve clarity for developers.
docs: enhance README_zh with local build and run instructions\n\nAdde…
Document how to use npm link to run ccr from the local working copy, plus unlink and fallback to published version steps for smoother local development.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Includes rovo-cli test fixes, regex match, transformer-driven auth, UI rovo-cli template, and README_zh npm link docs.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
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.

ccr ui 这个页面,能提供一键测试所有模型的是否接通的功能么
1 participant