Commit Graph

1376 Commits

Author SHA1 Message Date
Fred Liang
cad461b121 chore: remove console log 2023-12-25 04:09:38 +08:00
Fred Liang
5af68ac545 fix: fix issue https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/3616 2023-12-25 04:07:35 +08:00
Fred Liang
c0ce70ccc7 Merge pull request #3617 from H0llyW00dzZ/fixfixbug
Fix [Bug] Issue ChatGPTNextWeb#3615
2023-12-25 03:47:16 +08:00
Fred Liang
753c518d33 chore: update how to identify google model 2023-12-25 03:46:35 +08:00
H0llyW00dzZ
0c116251b1 Revert "Fix [TypesScript] [LLM Api] Chaining Model"
This reverts commit 8ca525dc7a.

Reason: It's suddenly stopped lmao
2023-12-25 01:45:24 +07:00
H0llyW00dzZ
e9def2cdc5 Refactor [Model] [LLM Api] Chaining Model
- [+] refactor(model.ts): change forEach loop to arrow function for readability and consistency
- [+] fix(model.ts): mark 'provider' property as optional in modelTable type
- [+] fix(model.ts): use optional chaining when assigning provider property in modelTable
2023-12-25 01:12:44 +07:00
H0llyW00dzZ
8ca525dc7a Fix [TypesScript] [LLM Api] Chaining Model
- [+] fix(api.ts): make provider property optional in LLMModel interface
2023-12-25 01:12:44 +07:00
H0llyW00dzZ
281fe6927a Feat [Server Side] Google Api Configuration
- [+] feat(server.ts): add support for Google API configuration variables
2023-12-25 00:37:49 +07:00
H0llyW00dzZ
35471a41c8 Fix & Feat [Auth] Api Key Variable
- [+] fix(auth.ts): fix variable name from serverApiKey to systemApiKey
- [+] feat(auth.ts): add support for Google API key in addition to Azure API key
2023-12-25 00:37:48 +07:00
Fred Liang
1e05eb1d60 chore: update docs for gemini pro 2023-12-24 17:54:33 +08:00
Fred Liang
aea794e522 chore: remove openai log from google api handler 2023-12-24 17:37:07 +08:00
Fred Liang
7c3dfb7bae feat: support custom gemini pro params 2023-12-24 17:24:04 +08:00
Fred Liang
75057f9a91 chroe: support error reason for gemini pro 2023-12-24 04:32:25 +08:00
Fred Liang
7026bd926a chroe: update prompts 2023-12-24 04:24:38 +08:00
Fred Liang
ae19a0dc5f chroe: update model name 2023-12-24 04:22:12 +08:00
Fred Liang
7d9a2132cb fix: fix server token fetch policy 2023-12-24 03:57:30 +08:00
Fred Liang
20f2f61349 feat: support set api key from client side 2023-12-24 03:44:13 +08:00
Fred Liang
4169431f2c fix: fix add api auth 2023-12-24 03:05:23 +08:00
Fred Liang
45798f993d fix: fix type errors 2023-12-24 02:39:13 +08:00
Fred Liang
ae0d68c27e fix: fix llm models field 2023-12-24 02:39:13 +08:00
Fred Liang
778e88cb56 chore: resolve conflict 2023-12-24 02:15:30 +08:00
Fred Liang
3ef0621eb0 refactor: update product name 2023-12-23 16:48:16 +08:00
Hk-Gosuto
b466fabc0a chore: remove gemini model 2023-12-21 19:09:18 +08:00
Hk-Gosuto
f572df051d chore: code 2023-12-21 19:09:18 +08:00
Hk-Gosuto
ee08ab4070 feat: support gemini pro 2023-12-21 19:09:18 +08:00
Hk-Gosuto
4044891f85 feat: support custom dalle model 2023-12-21 12:39:18 +08:00
Hk-Gosuto
666e62d75a feat: support paste upload image 2023-12-20 13:31:54 +08:00
Rocky
24d7dc9bf9 Update api.ts to set proper header "Accept"
So it can work fine for some GPT forward service.
2023-12-18 20:34:37 +08:00
pacmandoh
4104abf5b8 chore(fix): update cdn emoji links 2023-12-18 13:57:21 +08:00
pacmandoh
07eb9b52b2 chore(update): emoji-datasource-apple version 15.0.1 2023-12-15 15:42:40 +08:00
Yifei Zhang
bcb520ed3b Update emoji.tsx 2023-12-15 15:18:02 +08:00
Eric Huang
943a2707d2 fix(chat-item): selected chat-item showing border in other pages 2023-12-15 09:37:37 +08:00
Hk-Gosuto
789de39b2c feat: support dall-e image not storage 2023-12-14 20:03:53 +08:00
pacmandoh
22f43e5564 update: modify the plugins page close button to fit the overall style 2023-12-12 21:58:11 +08:00
pacmandoh
1f4ae70e0a Fix: plugins-info descriptions nowrap 2023-12-12 21:24:20 +08:00
reece00
1442337e3c The language filtering option of the mask is stored 2023-12-12 02:22:22 +08:00
Hk-Gosuto
1739b035da fix: vercel image preview 2023-12-11 17:26:44 +08:00
Hk-Gosuto
600a7d2197 feat: images using object service storage 2023-12-10 21:23:40 +08:00
Hk-Gosuto
b84da5e120 feat: support custom s3 service 2023-12-10 21:04:24 +08:00
Hk-Gosuto
eb7711f832 fix: visual model bug 2023-12-07 17:08:26 +08:00
Hk-Gosuto
5f5f182cfc chore: remove console log 2023-12-07 12:39:07 +08:00
Hk-Gosuto
148f763769 fix: font size error 2023-12-07 12:38:06 +08:00
Hk-Gosuto
02abc42682 Merge branch 'Yidadaa:main' into main 2023-12-06 20:11:54 +08:00
Hk-Gosuto
addfbd298a fix: fix bug 2023-12-06 14:03:52 +08:00
Hk-Gosuto
f9846e4813 chore: style change 2023-12-06 13:12:47 +08:00
Hk-Gosuto
7f3d261fb2 feat: api supports image input 2023-12-06 13:12:47 +08:00
Hk-Gosuto
4c46de7d1d feat: style change 2023-12-06 13:12:47 +08:00
Hk-Gosuto
796abf83ce Merge remote-tracking branch 'upstream/main' 2023-12-06 11:00:40 +08:00
H0llyW00dzZ
54df355014 Fix Trim Topic in Indonesia Language
- [+] fix(utils.ts): fix trimTopic function to remove double quotes from the start and end of the string, and remove specified punctuation from the end of the string
2023-12-05 07:26:11 +07:00
H0llyW00dzZ
8dc8682078 Fix Api Common [Server Side]
- [+] fix(common.ts): improve handling of OpenAI-Organization header
 - Check if serverConfig.openaiOrgId is defined and not an empty string
 - Log the value of openaiOrganizationHeader if present, otherwise log that the header is not present
 - Conditionally delete the OpenAI-Organization header from the response if [Org ID] is undefined or empty (not setup in ENV)
2023-12-04 13:33:23 +07:00