Repository navigation
fix(web): show api key before base url in every model provider form - #20361
Conversation
Provider instance cards rendered the credential and endpoint inputs in inconsistent orders, forcing users to re-scan each provider's form. Reorder the field configs so the api key always precedes the base url. - buildLocalConfig covers all local/compatible factories (Ollama, VLLM, LMStudio, NewAPI, AIMLAPI, OpenRouter, FunASR, MWS, ...) since custom fields are merged by name and keep the base ordering. - Fix the per-provider configs that declared their own order: AzureOpenAI, SoMark, OpenDataLoader, PaddleOCR and PaddleOCR.local. Only the order of the `fields` entries changed; no field attribute or transform is touched. Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe provider configuration forms reorder selected URL, server, API key, and access-token fields. Their field definitions and validation-related settings remain unchanged. ChangesProvider Form Field Ordering
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The affected forms will display the API key or access-token fields before the related URL or server fields. No behavior or validation regression is indicated, so the change appears ready to merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. I’m a rabbit checking fields in a row, Comment |
Summary
Provider instance cards rendered the credential and endpoint inputs in inconsistent orders, forcing users to re-scan each provider's form. Reorder the field configs so the api key always precedes the base url.
Only the order of the
fieldsentries changed; no field attribute or transform is touched.