Commit Graph
78 Commits
Author SHA1 Message Date
josc146 9c371f7993 improve chatglm support (#696, #464) 2024-08-04 23:03:20 +08:00
LzSkylineandGitHub 488170068c Add Ollama native API to support keep alive parameters (#748)
* Add Chinese translation.

* Optimize style.

* Add Ollama native API to support keep alive parameters.

* Optimized popup page style.

* fix: Fixed data type for Ollama keep_alive parameter forever
2024-07-30 16:53:08 +08:00
josc146 74e8c1fd08 update generateProofToken (#713, #718) 2024-05-30 22:56:44 +08:00
Peter Dave Helloandjosc146 d4a4971db9 Fix handling of empty choices array in Azure OpenAI API integration
This commit refines the error handling for the Azure OpenAI API
integration to address the 'n.choices[0] is undefined' error by ensuring
'data.choices' and 'data.choices[0]' are properly checked before access.
This update is necessary due to the behavior changes introduced in the
API version update (#684), which can result in empty 'choices' arrays.

Fix #698.
2024-05-12 19:50:30 +08:00
josc146 6fcb5c9ea7 improve #688 (#687, #677, #678, #681, #682) 2024-05-08 21:38:22 +08:00
Ananandjosc146 b494193eb5 Change "chat.openai.com" to "chatgpt.com" 2024-05-08 17:24:52 +08:00
josc146 cb77e035a6 chore 2024-05-02 23:07:00 +08:00
josc146 62655bdafa small fix (#668, #676) 2024-05-02 23:06:43 +08:00
josc146 77a14e23ef upgrade chatgpt web (proofToken) (#677, #678, #681, #682) 2024-05-02 17:11:55 +08:00
josc146 1fe4befa7e small fix for bing web mode 2024-05-02 15:31:05 +08:00
Peter Dave Helloandjosc146 c83e84fc50 Update Azure OpenAI API version version to 2024-02-01
This API version is the replacement for the previous 2023-05-15 GA API release.

Reference:
- https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation#latest-ga-api-release
2024-05-02 14:59:43 +08:00
josc146 97fc651785 improve fetch onmessage 2024-04-16 12:32:46 +08:00
josc146 e6e12a84e9 improve registerWebsocket 2024-03-24 16:02:47 +08:00
josc146 a3b7d2c1f9 chore 2024-03-24 14:05:42 +08:00
josc146 c9cb613961 fix the error caused by the unnecessary ArkoseToken for free accounts (#661) 2024-03-24 12:13:44 +08:00
josc146 9cbe4f3bfc improve websocket support for chatgpt web mode (#652) 2024-03-24 00:04:35 +08:00
josc146 f2bbc86ec9 improve 074b6cc9 2024-03-23 22:46:50 +08:00
josc146 9589509b82 improve 074b6cc9 2024-03-23 21:29:49 +08:00
josc146 074b6cc941 upgrade chatgpt web (new arkoseToken and requirementsToken) (#653, #658, #661) 2024-03-23 20:59:40 +08:00
josc146 74bcba8fcc allow custom claude api url (#644) 2024-03-23 16:18:31 +08:00
josc146 e2ec8ac2e6 claude 3 api support (#642) 2024-03-23 16:08:04 +08:00
josc146 680900b08d add additional finish conditions for OpenAI API and Custom API (both can be customized, thus requiring more condition checks, now the api has better support for ollama and LM Studio) (#631, #648) 2024-03-23 13:42:50 +08:00
josc146 d49280c89a improve delta process (#657) 2024-03-23 11:27:50 +08:00
21b8468dc3 Add support for kimi.moonshot.cn (#656)
* Add support for kimi.moonshot.cn

* some improvements

---------

Co-authored-by: josc146 <josStorer@outlook.com>
2024-03-22 22:50:47 +08:00
Tomasz Panasiukandjosc146 a6fa0ed704 Update index.mjs
for now support for gemini. 
Part "_/BardChatUi/data/assistant.lamda.BardFrontendService/StreamGenerate?" will most likely be changed later.
2024-03-22 16:39:59 +09:00
josc146 c4a537ff28 switch azure openai api version to stable version (#640) 2024-03-05 18:50:03 +08:00
josc146 985adb9273 reduce package size 2024-03-05 18:44:06 +08:00
josc146 1fc3cd8ee0 update chatgpt web support (websocket mode) (#621, #627, #628, #630, #632, #634, #635, #637) 2024-03-04 23:23:29 +08:00
josc146 e7638a9003 upgrade claude.ai client 2024-03-04 14:38:53 +08:00
josc146 643d5fef8d custom npm claude-ai 2024-03-03 23:05:19 +08:00
Jialeiandjosc146 0d7d7354d8 support moonshot 2024-03-03 21:45:22 +09:00
josc146 4510cf421e gpt-4 web DALL·E support 2024-01-25 20:59:45 +08:00
josc146 8d53ab85a5 #573's patch 2023-12-04 11:58:21 +08:00
d24958f9a0 Add ChatGLM API (#567)
* Add ChatGLM API

* add minimal build

* a small patch

---------

Co-authored-by: josc146 <josStorer@outlook.com>
2023-12-03 23:31:04 +08:00
josc146 d0fbc9fecb allow filling in the API Key of CustomModel mode (#561, previously designed for local offline model or custom server, now you can also use it for regular openai API calls and freely fill in the model name(#563)) 2023-11-13 13:42:46 +08:00
josc146 946cadc51d update for chatgpt3.5 web (#562, #551#issuecomment-1803668105, #543#issuecomment-1803666487) 2023-11-13 00:03:12 +08:00
josc146 eb81f65fab improve chatgpt web user guide 2023-10-31 11:27:30 +08:00
josc146 236a1cb706 improve chatgpt web mode compatibility 2023-10-31 10:47:49 +08:00
josc146 40d24e7069 improve chatgpt web user guide 2023-10-31 10:26:24 +08:00
josc146 8dce5d8647 fix #539 bing web 2023-10-30 18:22:38 +08:00
josc146 4859e9a905 fix chatgpt web mode arkose_token (#469, #543, #545) 2023-10-30 12:58:04 +08:00
josc146 74033b538f remove BingImageCreator 2023-10-30 12:43:57 +08:00
josc146 86b9b2075d improve error prompt 2023-10-16 00:33:23 +08:00
josc146 4cc414457f improve claude.ai login prompt 2023-10-15 23:01:49 +08:00
josc146 d639d29d6b upgrade bing client (merge https://github.com/waylaidwanderer/node-chatgpt-api/pull/481) and some other adaptations (#505, #519, #525) 2023-10-15 00:50:13 +08:00
josc146 634c9c95a4 fix: under chatgpt web mode, due to API changes, stored responses became undefined 2023-10-15 00:12:43 +08:00
josc146 83f44a324a improve claude api prompt (#516) 2023-09-30 15:29:28 +08:00
ajkostandGitHub 157399694a feat: Add claude-v2 API (#516) 2023-09-27 21:39:42 +08:00
josc146 1b63f11980 feat: independent Claude.ai model support (#457, #476, #477, #503) 2023-09-23 22:34:41 +08:00
josc146 e71ee74c6d patch: fix(upgrade) bing client (#505) 2023-09-06 23:52:28 +08:00