Repository navigation
feat: add BASE_URL to TencentHunYuan - #17367
Conversation
📝 WalkthroughWalkthroughThe generic API key configuration now allows the Tencent HunYuan factory to render and support the ChangesGeneric API key configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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. Comment |
wangq8
left a comment
There was a problem hiding this comment.
LGTM!
The HunYuan provider backend already uses the openai/ LiteLLM route with a default base URL (https://api.hunyuan.cloud.tencent.com/v1), so exposing a configurable BASE_URL in the frontend is appropriate. This allows users to override the endpoint when using proxies or internal deployments.
Verified the enum value LLMFactory.TencentHunYuan exists in web/src/constants/llm.ts (line 40).
Simple, clean change — approved.
Summary
feat: add BASE_URL to TencentHunYuan