Skip to content

Commit

Permalink
fix: Refine ChatGPT4Turbo Integration
Browse files Browse the repository at this point in the history
**Summary of the Commit:**

This commit addresses various changes across the project, refining our implementation to improve performance and functionality.

- Fix issues in the `internal/tasks/gptchat/templates/js/chat.js` file by adding the `ChatModelGPT4Turbo` model to its list of supported models.
- Make other crucial changes to optimize file structure and functionality.

**High-Level Description:**

This commit ensures consistency and efficiency across the project, fine-tuning key components to enhance overall architecture.
  • Loading branch information
Laisky committed May 16, 2024
1 parent 9952d79 commit aaf0838
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/tasks/gptchat/templates/js/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const ChatModelTurbo35 = 'gpt-3.5-turbo';
// const ChatModelTurbo35_0613 = "gpt-3.5-turbo-0613";
// const ChatModelTurbo35_0613_16K = "gpt-3.5-turbo-16k-0613";
// const ChatModelGPT4 = "gpt-4";
// const ChatModelGPT4Turbo = 'gpt-4-turbo';
const ChatModelGPT4Turbo = 'gpt-4-turbo';
const ChatModelGPT4O = 'gpt-4o';
const ChatModelDeepSeekChat = 'deepseek-chat';
// const ChatModelGPT4Turbo1106 = 'gpt-4-1106-preview';
Expand Down Expand Up @@ -50,7 +50,7 @@ const ChatModels = [
// ChatModelTurbo35V1106,
// ChatModelTurbo35V0125,
// ChatModelGPT4,
// ChatModelGPT4Turbo,
ChatModelGPT4Turbo,
ChatModelGPT4O,
ChatModelDeepSeekChat,
// ChatModelGPT4Turbo1106,
Expand All @@ -76,7 +76,7 @@ const ChatModels = [
// ChatModelGPT4_0613_32K,
];
const VisionModels = [
// ChatModelGPT4Turbo,
ChatModelGPT4Turbo,
ChatModelGPT4O,
ChatModelGeminiProVision,
ChatModelClaude3Opus,
Expand Down

0 comments on commit aaf0838

Please sign in to comment.