This repository was archived by the owner on Sep 15, 2024. It is now read-only.
forked from ChatGPTNextWeb/NextChat
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor [LLM Api] [OpenAI] simplify JSON response - [+] refactor(openai.ts): simplify JSON response handling and error handling in ChatGPTApi class * Remove Custom Model to avoid plagiarism claim by someone - [+] refactor(app/constant.ts): remove dall-e-2-beta-instruct-vision and dall-e-3-beta-instruct-vision from DEFAULT_MODELS array * Fix JSON Response in DALL-E Models - [+] refactor(openai.ts): remove unused variables and simplify response processing - [+] style(openai.ts): remove trailing spaces in if condition - [+] fix(openai.ts): add return statement to fix JSON response handling
- Loading branch information
1 parent
0370604
commit c442418
Showing
2 changed files
with
23 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters