-
Notifications
You must be signed in to change notification settings - Fork 60.1k
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
Feature/chatglm #5995
Feature/chatglm #5995
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request introduces comprehensive updates across multiple files in the NextChat project. The changes primarily focus on enhancing model support, particularly for ChatGLM, by adding new interfaces, methods, and model types. README files across different languages have been updated with new deployment and donation links. The modifications include expanding model size options, introducing new utility functions for model size handling, and updating import statements to support these changes. Changes
Sequence DiagramsequenceDiagram
participant User
participant ChatComponent
participant ModelAPI
participant Utilities
User->>ChatComponent: Select Model
ChatComponent->>Utilities: getModelSizes(model)
Utilities-->>ChatComponent: Return Available Sizes
ChatComponent->>Utilities: supportsCustomSize(model)
Utilities-->>ChatComponent: Return Custom Size Support
ChatComponent->>ModelAPI: Create Request with Payload
ModelAPI->>ModelAPI: Determine Model Type
ModelAPI->>ModelAPI: Construct Appropriate Payload
ModelAPI->>ModelAPI: Process Response
ModelAPI-->>ChatComponent: Return Response
Possibly Related PRs
Suggested Labels
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command π Recent review detailsConfiguration used: CodeRabbit UI π Files selected for processing (10)
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 (
|
π» εζ΄η±»ε | Change Type
π εζ΄θ―΄ζ | Description of Change
π θ‘₯ε δΏ‘ζ― | Additional Information
Summary by CodeRabbit
Documentation
New Features
Refactor