Skip to content
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

Enhanced the functionality for downloading image-based chat records; added support for the "o1-preview" and "o1-preview-2024-09-12" and "o1-mini" and "o1-mini-2024-09-12" and "chatgpt-4o-latest" and "gpt-4o-2024-11-20" and "gpt-4o-2024-08-06" and "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and revised the default model settings. #606

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

ChenYuZe519
Copy link
Contributor

@ChenYuZe519 ChenYuZe519 commented Jul 27, 2024

Information:
https://platform.openai.com/docs/models/continuous-model-upgrades
Pricing:
https://openai.com/api/pricing/

A. Model adjustments for title generation and default use:
Considering "gpt-3.5-turbo" is deemed obsolete and "gpt-4o-mini" is more cost-effective and intelligent, the model for title generation and the default model have been updated to "gpt-4o-mini."

B. The extraneous space at the end of the second line in the default system prompt has been removed.

C. Repair and optimize the image download function in "Download Chat History":
C(a). Enhance performance and stability by optimizing rendering timing, forcing the browser to recalculate the layout, adding slight delays, and utilizing requestAnimationFrame and Promise.all.
C(b). Address compatibility issues in the image download logic, improving link handling to resolve download failures in browsers such as Alook on iOS and native browsers in some Android brand UI ROMs.
C(c). Resolve the issue of white bars appearing at the bottom in some mobile browsers and at the right side in some desktop browsers.
Crop 3px from both the bottom and right sides; although this resolves the canvas size issue for browsers that previously displayed white bars, browsers that were normal before will now be additionally cropped by 3px. I will include the current state of previously problematic browsers and the current state of previously normal browsers.
Previously problematic browsers now normal:
微信图片_20240808005041

Previously normal browsers now additionally cropped by 3px:
New Chat 2

Modify the model used for generating titles and the default model to 'gpt-4o-mini', and remove the extra space at the end of the second line in the default system prompt.
@ChenYuZe519 ChenYuZe519 changed the title Added support for "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models. Added support for "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and modified default model settings. Aug 5, 2024
Add "gpt-4o-2024-08-06"
Add "gpt-4o-2024-08-06"
@ChenYuZe519 ChenYuZe519 changed the title Added support for "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and modified default model settings. Added support for "gpt-4o-2024-08-06" and "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and modified default model settings. Aug 6, 2024
Copy link

@animalnots animalnots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good shout

Optimize the functionality for downloading chat record images.
Optimize the functionality for downloading chat record images.
@ChenYuZe519 ChenYuZe519 changed the title Added support for "gpt-4o-2024-08-06" and "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and modified default model settings. Enhanced the functionality for downloading image-based chat history; added support for the models "gpt-4o-2024-08-06" and "gpt-4o-mini-2024-07-18," and revised the default model settings. Aug 7, 2024
@ChenYuZe519 ChenYuZe519 changed the title Enhanced the functionality for downloading image-based chat history; added support for the models "gpt-4o-2024-08-06" and "gpt-4o-mini-2024-07-18," and revised the default model settings. The image download feature in chat history has been optimized. Support has been added for the models "gpt-4o-2024-08-06" "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" with adjustments made to the default model settings. Aug 7, 2024
@ChenYuZe519 ChenYuZe519 changed the title The image download feature in chat history has been optimized. Support has been added for the models "gpt-4o-2024-08-06" "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" with adjustments made to the default model settings. Enhanced the functionality for downloading image-based chat records; added support for the "gpt-4o-2024-08-06" "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and revised the default model settings. Aug 7, 2024
ADD chatgpt-4o-latest
Add chatgpt-4o-latest
@ChenYuZe519 ChenYuZe519 changed the title Enhanced the functionality for downloading image-based chat records; added support for the "gpt-4o-2024-08-06" "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and revised the default model settings. Enhanced the functionality for downloading image-based chat records; added support for the "chatgpt-4o-latest" and "gpt-4o-2024-08-06" and "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and revised the default model settings. Aug 14, 2024
Add 
'o1-mini'
'o1-mini-2024-09-12'
'o1-preview'
'o1-preview-2024-09-12'
Add
  'o1-mini'
  'o1-mini-2024-09-12'
  'o1-preview'
  'o1-preview-2024-09-12'
@ChenYuZe519 ChenYuZe519 changed the title Enhanced the functionality for downloading image-based chat records; added support for the "chatgpt-4o-latest" and "gpt-4o-2024-08-06" and "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and revised the default model settings. Enhanced the functionality for downloading image-based chat records; added support for the "o1-preview" and "o1-preview-2024-09-12" and "o1-mini" and "o1-mini-2024-09-12" and "chatgpt-4o-latest" and "gpt-4o-2024-08-06" and "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and revised the default model settings. Sep 13, 2024
@ChenYuZe519 ChenYuZe519 changed the title Enhanced the functionality for downloading image-based chat records; added support for the "o1-preview" and "o1-preview-2024-09-12" and "o1-mini" and "o1-mini-2024-09-12" and "chatgpt-4o-latest" and "gpt-4o-2024-08-06" and "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and revised the default model settings. Enhanced the functionality for downloading image-based chat records; added support for the "o1-preview" and "o1-preview-2024-09-12" and "o1-mini" and "o1-mini-2024-09-12" and "chatgpt-4o-latest" and "gpt-4o-2024-11-20" and "gpt-4o-2024-08-06" and "gpt-4o-mini-2024-07-18" and "gpt-4o-mini" models, and revised the default model settings. Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants