ChatALL
ChatALL copied to clipboard
Remove legacy GPT-3.5 Turbo 16k via OpenAI API
gpt-3.5-turbo now default has the 16k context window, and gpt-3.5-turbo-16k has been marked legacy, though it's not deprecated, there seems to be no reason to maintain both of them.
Reference:
- https://platform.openai.com/docs/models/gpt-3-5-turbo
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| chatall | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 14, 2024 4:26pm |
@coderabbitai review
Actions performed
Review triggered.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.
Walkthrough
The changes involve the complete removal of the OpenAIAPI3516KBot class and its references from the codebase, affecting both the bot collection and localization files. Specifically, the bot's import and instances have been eliminated from the src/bots/index.js file, and the class definition has been removed from src/bots/openai/OpenAIAPI3516KBot.js. Additionally, entries related to the gpt-35-turbo-16k model have been deleted from various localization files, including English, Spanish, Japanese, Korean, Vietnamese, and Chinese, indicating that this model is no longer supported. New bot instances have also been added to the collection.
Changes
| Files | Change Summary |
|---|---|
src/bots/index.js |
Removed references to OpenAIAPI3516KBot, including import, instance from all array, and botTags. Added new bot instances. |
src/bots/openai/OpenAIAPI3516KBot.js |
Completely removed the OpenAIAPI3516KBot class definition. |
src/i18n/locales/en.json |
Removed entry for "gpt-35-turbo-16k". |
src/i18n/locales/es.json |
Removed entry for "gpt-35-turbo-16k". |
src/i18n/locales/ja.json |
Removed entry for "gpt-35-turbo-16k". |
src/i18n/locales/ko.json |
Removed entry for "gpt-35-turbo-16k". |
src/i18n/locales/vi.json |
Removed entry for "gpt-35-turbo-16k". |
src/i18n/locales/zh.json |
Removed entry for "gpt-35-turbo-16k". |
src/i18n/locales/zhtw.json |
Removed entry for "gpt-35-turbo-16k" and added new AI model names and descriptions. |
Sequence Diagram(s)
sequenceDiagram
participant User
participant BotManager
participant Localization
User->>BotManager: Request available bots
BotManager-->>User: Return list of bots (without OpenAIAPI3516KBot)
User->>Localization: Request available models
Localization-->>User: Return list of models (without gpt-35-turbo-16k)
Possibly related PRs
- #882: The main PR involves the addition of several new bot instances, including
Gemma2bItBot, which is related to the addition ofGemma29bGroqAPIBotin the retrieved PR, indicating a connection in the bot management system. - #893: The main PR's changes to the
src/bots/index.jsfile for managing bot instances relate to the addition ofOpenAIAPI4oMiniBotin the retrieved PR, as both involve modifications to the same file for integrating new bot instances.
Poem
🐇 In a meadow bright and fair,
The bots have danced without a care.
The gpt-35 has hopped away,
Leaving room for new to play.
With every change, we cheer and sing,
For fresh ideas that spring and spring! 🌼
📜 Recent review details
Configuration used: CodeRabbit UI Review profile: CHILL
📥 Commits
Files that changed from the base of the PR and between 674997d9b4485f5b445f2c62faa28b74e4f7e799 and 48890bc6ecb234bb1ff949fad29a97c2b49bcbea.
⛔ Files ignored due to path filters (1)
public/bots/openai-35-16k-logo.pngis excluded by!**/*.png
📒 Files selected for processing (13)
- src/bots/index.js (0 hunks)
- src/bots/openai/OpenAIAPI3516KBot.js (0 hunks)
- src/i18n/locales/de.json (0 hunks)
- src/i18n/locales/en.json (0 hunks)
- src/i18n/locales/es.json (0 hunks)
- src/i18n/locales/fr.json (0 hunks)
- src/i18n/locales/it.json (0 hunks)
- src/i18n/locales/ja.json (0 hunks)
- src/i18n/locales/ko.json (0 hunks)
- src/i18n/locales/ru.json (0 hunks)
- src/i18n/locales/vi.json (0 hunks)
- src/i18n/locales/zh.json (0 hunks)
- src/i18n/locales/zhtw.json (0 hunks)
💤 Files with no reviewable changes (13)
- src/bots/index.js
- src/bots/openai/OpenAIAPI3516KBot.js
- src/i18n/locales/de.json
- src/i18n/locales/en.json
- src/i18n/locales/es.json
- src/i18n/locales/fr.json
- src/i18n/locales/it.json
- src/i18n/locales/ja.json
- src/i18n/locales/ko.json
- src/i18n/locales/ru.json
- src/i18n/locales/vi.json
- src/i18n/locales/zh.json
- src/i18n/locales/zhtw.json
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?
🪧 Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>, please review it.Generate unit testing code for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.@coderabbitai read src/utils.ts and generate unit testing code.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.@coderabbitai help me debug CodeRabbit configuration file.
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)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full reviewto do a full review from scratch and review all the files again.@coderabbitai summaryto regenerate the summary of the PR.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai configurationto show the current CodeRabbit configuration for the repository.@coderabbitai helpto get help.
Other keywords and placeholders
- Add
@coderabbitai ignoreanywhere in the PR description to prevent this PR from being reviewed. - Add
@coderabbitai summaryto generate the high-level summary at a specific location in the PR description. - Add
@coderabbitaianywhere in the PR title to generate the title automatically.
CodeRabbit Configuration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
@coderabbitai review
@PeterDaveHello: I have performed a full review of the PR.
Actions performed
Full review triggered.
@coderabbitai review
@PeterDaveHello: I will review the changes.
:white_check_mark: Actions performed
Review triggered.
Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.