Conversation
|
Cursor Agent can help with this pull request. Just |
cursor Bot
pushed a commit
that referenced
this pull request
Mar 6, 2026
* Providers: add built-in AIPing provider support * Docs: clarify AIPing router-param usage * Onboard: add AIPing routing presets * Docs: add AIPing API key portal link --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Describe the problem and fix in 2–5 bullets:
test-keyinstead of a genericapi-key, and AIPing'srouter-paramfeature was not exposed to users.https://aiping.cn/api/v1.AIPING_API_KEYenvironment variable support.aiping-api-keyplaceholder.router-paramfeature, showing how to use it via model name colon syntax (e.g.,aiping/model:latency).test-keyusage in non-AIPing specific tests.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
--auth-choice aiping-api-keyor--aiping-api-key <key>.router-paramfeature can be used by appending colon-separated parameters to the model name (e.g.,aiping/DeepSeek-R1:latency).Security Impact (required)
Yes) - New provider integration allows calls to AIPing API.Yes) - Added handling forAIPING_API_KEY.Yes) - New network calls tohttps://aiping.cn/api/v1.Yes) - New CLI flags for AIPing authentication.No)Yes, explain risk + mitigation:Repro + Verification
Environment
Steps
AIPING_API_KEYenvironment variable.openclaw models listto seeaipingmodels.openclaw models set aiping/DeepSeek-V3.2.openclaw chat "Hello, AIPing!".openclaw models set "aiping/DeepSeek-R1:latency".openclaw chat "Test router param.".Expected
Actual
Evidence
Human Verification (required)
What you personally verified (not just CI), and how:
AIPING_API_KEY.router-paramsyntax inopenclaw models set.router-param.AIPING_API_KEY(falls back to interactive onboarding).router-paramon AIPing's backend routing logic (assumed correct based on AIPing API docs).Compatibility / Migration
Yes)Yes) - NewAIPING_API_KEYenvironment variable.No)Failure Recovery (if this breaks)
openclaw models list.AIPING_API_KEYis set.Risks and Mitigations
router-paramsyntax conflicts with other providers or future OpenClaw features.