-
Notifications
You must be signed in to change notification settings - Fork 60.6k
Dev #6322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev #6322
Conversation
- 在设置页面中移除了 SaaS 聊天入口组件 - 在本地化文件中添加了 "服务提供商" 相关翻译 - 注释掉了与 SaaS 聊天相关的代码和文本
- 在模型配置中添加服务商选择选项 - 实现服务商切换时自动选择该服务商下的第一个可用模型 - 优化模型选择界面,仅显示当前选中服务商的模型 - 添加摘要模型服务商选择功能 - 移除授权页面的 Saas 相关功能 - 调整聊天页面的模型选择逻辑
…务提供商选项 -保留 OpenAI 选项,即使没有配置 API 密钥 - 对于其他提供商,根据 API 密钥配置的验证结果决定是否显示 - 优化了用户界面,只显示当前可用的服务提供商选项
-将 CN_MASKS 和 EN_MASKS 数组清空,保留空数组结构 - 移除中英文遮罩文件中的所有遮罩定义
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request removes obsolete SaaS chat functionality from several authentication and settings components while streamlining related interfaces. It introduces a new provider selection feature in the chat and model configuration components, ensuring that only models from the selected provider are displayed. In addition, extensive localization support has been reduced, with many language files removed or modified, and mask definitions have been cleared and simplified. Finally, prompt handling has been updated to exclude removed Taiwanese entries. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant CA as ChatActions Component
participant MS as Model Selector
participant S as Session Config
U->>CA: Clicks Provider Selection button
CA->>MS: Toggles provider selector visibility
U->>MS: Selects a service provider
MS->>CA: Triggers onSelection handler
CA->>S: Updates session's model configuration
CA->>CA: Filters models to display only those from the selected provider
Possibly Related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (33)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
refactor(app): 移除 SaaS 聊天入口并增加服务提供商选项
Tianyi committed 1 hour ago
feat(model): 增加模型服务商选择功能
Tianyi committed 1 hour ago
feat(components): 根据 API密钥配置过滤服务提供商选项- 在聊天组件和模型配置组件中,根据 API 密钥的有效性过滤服…
Tianyi committed 45 minutes ago
refactor: 删除简中和英语外的所有语言文件
Tianyi committed 37 minutes ago
refactor(masks): 清空中英文遮罩数组
Tianyi committed 22 minutes ago
Summary by CodeRabbit
New Features
Refactor
Chores