Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Diagnose and fix model routing conflicts. Ensure primary model uses correct provider endpoint without duplicate overrides.
Diagnose and fix model routing conflicts. Ensure primary model uses correct provider endpoint without duplicate overrides.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Fix model routing and provider endpoint conflicts.
Model routing issues cause: Wrong provider endpoint used Duplicate provider definitions Agent overrides conflicting with global config Silent fallback to wrong model
# Check global config $cfg = Get-Content "$HOME/.openclaw/openclaw.json" -Raw | ConvertFrom-Json $globalBase = $cfg.models.providers.bailian.baseUrl $globalModel = $cfg.agents.defaults.model.primary # Check agent overrides $agentCfgPath = "$HOME/.openclaw/agents/main/agent/models.json" if (Test-Path $agentCfgPath) { $agentCfg = Get-Content $agentCfgPath -Raw | ConvertFrom-Json $agentBase = $agentCfg.providers.bailian.baseUrl } "Global baseUrl = $globalBase" "Global model = $globalModel" "Agent baseUrl = $agentBase" # Detect conflicts if ($globalBase -ne $agentBase) { Write-Warning "Provider URL mismatch between global and agent config" }
# Correct endpoint (coding.dashscope, not coding-intl) $correctUrl = "https://coding.dashscope.aliyuncs.com/v1" # Update global config $cfg.models.providers.bailian.baseUrl = $correctUrl $cfg | ConvertTo-Json -Depth 10 | Out-File "$HOME/.openclaw/openclaw.json" -Encoding UTF8 # Remove conflicting agent override if (Test-Path $agentCfgPath) { Remove-Item $agentCfgPath -Force } # Restart openclaw gateway restart
# Test model call openclaw models list # Check active route openclaw status
CriteriaVerificationSingle provider URLOnly one bailian.baseUrl in configCorrect endpointURL is coding.dashscope.aliyuncs.comNo duplicate overridesmodels.json removed or alignedModel call succeedsopenclaw models list works
No API keys in audit output Redact key values (show first 4 chars) Config files only, no external logging
Use when: Model calls fail with endpoint errors Config shows multiple provider definitions After gateway restart with model issues Silent fallback to wrong model detected One route. One source of truth.
Agent frameworks, memory systems, reasoning layers, and model-native orchestration.
Largest current source with strong distribution and engagement signals.