Commit Graph

1869 Commits

Author SHA1 Message Date
Dogtiti 9df24e568b
Merge pull request #5996 from ChatGPTNextWeb/feature/cogview
Feature/cogview
2024-12-28 20:25:25 +08:00
Dogtiti bc322be448 fix: type error 2024-12-28 20:24:08 +08:00
Dogtiti a867adaf04 fix: size 2024-12-28 20:23:51 +08:00
Dogtiti 0cb186846a feature: support glm Cogview 2024-12-28 20:23:44 +08:00
Dogtiti cdfe907fb5 fix: failed unit test 2024-12-28 17:54:21 +08:00
Dogtiti d91af7f983
Merge pull request #5883 from code-october/fix/model-leak
fix model leak issue
2024-12-28 14:47:35 +08:00
Kadxy c3108ad333 feat: simple MCP example 2024-12-28 14:31:43 +08:00
suruiqiang 081daf937e since #5984, add DeepSeek as a new ModelProvider (with deepseek-chat&deepseek-corder models), so that user can use openai and deepseek at same time with different api url&key 2024-12-27 16:57:26 +08:00
glay 29b9a20acf feat:add meta.llama3-3-70b-instruct model 2024-12-25 22:47:53 +08:00
glay 26f79aa6e6 feat:add nova VISION_MODEL_REGEXES 2024-12-22 23:38:45 +08:00
glay 92615dae32
Merge branch 'main' into main 2024-12-22 23:28:24 +08:00
zmhuanf 87b5e3bf62 修复bug; 2024-12-22 15:44:47 +08:00
Yiming Zhang ea1329f73e fix: add optional chaining to prevent errors when accessing visionModels 2024-12-21 04:07:58 -05:00
Yiming Zhang 149d732cb7 Merge remote-tracking branch 'upstream/main' into feature/flexible-visual-model 2024-12-21 03:53:05 -05:00
Yiming Zhang 210b29bfbe refactor: remove NEXT_PUBLIC_ prefix from VISION_MODELS env var 2024-12-21 03:51:54 -05:00
dupl 93ac0e5017
Reorganized the Gemini model 2024-12-21 15:26:33 +08:00
glay 9643adcf15
Merge branch 'main' into main 2024-12-21 11:20:20 +08:00
dupl 0a056a7c5c add gemini-exp-1206, gemini-2.0-flash-thinking-exp-1219 2024-12-21 08:00:37 +08:00
Yiming Zhang 74c4711cdd Merge remote-tracking branch 'upstream/main' into feature/flexible-visual-model 2024-12-20 18:34:07 -05:00
Dogtiti eceec092cf
Merge pull request #5932 from fengzai6/update-google-models
Update google models to add gemini-2.0
2024-12-21 00:43:02 +08:00
glay e839940a26 feat:add amazon.nova model tool use support. 2024-12-14 11:01:10 +08:00
InitialXKO e939ce5a02
面具“以文搜图”改成“AI文生图”,微调提示让图片生成更稳定无水印 2024-12-13 22:29:14 +08:00
Nacho.L 46a0b100f7 Update versionKeywords 2024-12-13 08:29:43 +08:00
Nacho.L e27e8fb0e1 Update google models 2024-12-13 07:22:16 +08:00
fishshi 93c5320bf2 Use i18n for DISCOVERY 2024-12-10 15:56:04 +08:00
Yiming Zhang a433d1606c feat: use regex patterns for vision models and allow adding capabilities to models through env var NEXT_PUBLIC_VISION_MODELS. 2024-12-10 00:22:45 -05:00
glay 0ec1ae6276 Enhance encryption security with additional safeguards. 2024-12-10 11:55:14 +08:00
glay cb0422b8f2 Enhance processChunks by attempting to recover by processing the next chunk. 2024-12-10 11:53:49 +08:00
glay e455840ab3
Update app/utils/aws.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-10 11:47:30 +08:00
glay 19437c7aa1 Enhance encryption security with additional safeguards. 2024-12-10 11:35:26 +08:00
glay 12d38aa4b2
Update app/utils/aws.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-09 14:43:52 +08:00
glay 2a9f7d72fc
Update app/client/platforms/bedrock.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-09 14:26:37 +08:00
glay 372a327522
Update app/utils/aws.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-09 10:22:08 +08:00
glay 50a241b715
Update app/utils/aws.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-09 10:18:15 +08:00
glay 44a1cf6d6e
Update app/client/platforms/bedrock.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-09 10:03:06 +08:00
glay a0886875e1 Enhance encryption security with additional safeguards. 2024-12-09 00:03:10 +08:00
glay 93337b2b92
Update app/client/platforms/bedrock.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-08 23:58:05 +08:00
glay 4b2f447474 Enhance encryption security with additional safeguards. 2024-12-08 23:52:31 +08:00
glay 7830b37a90 Enhance encryption security with additional safeguards. 2024-12-08 23:49:59 +08:00
glay fb3437ca01
Update app/client/platforms/bedrock.ts
增加友好提示

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-12-08 23:47:16 +08:00
glay f5ae086d3c Enhance encryption security with additional safeguards. 2024-12-08 23:28:59 +08:00
glay 26b9fa97cd 优化代码 2024-12-08 08:47:46 +08:00
glay 603415f9e1 Enhance log security 2024-12-08 08:33:45 +08:00
glay 5ac651ad8e Enhance encryption security 2024-12-07 20:34:05 +08:00
glay ad49cd0454 优化bedrock工具类,以更安全的处理流式消息的边界值 2024-12-07 17:54:12 +08:00
glay 57dc44a54f 增加bedrock最新nova模型,优化后台代码 2024-12-07 16:49:26 +08:00
glay 4254fd34f9 增加bedrock最新nova模型,包括image解析的支持 2024-12-07 14:20:59 +08:00
glay 0c55850641 优化bedrock流式消息处理的缓冲机制,简化app和后台api调用逻辑判断和处理 2024-12-07 12:18:15 +08:00
glay a75b9f7fbe
Merge branch 'ChatGPTNextWeb:main' into main 2024-12-04 08:22:36 +08:00
code-october 1a678cb4d8 fix model leak issue 2024-11-29 15:47:28 +00:00
frostime 759a09a76c 🎨 style(setting): Place custom-model's input a seperated row. 2024-11-27 13:11:18 +08:00
glay d9d2a27d8f modify the BEDROCK_BASE_URL to use the region from the access store 2024-11-26 16:19:54 +08:00
glay 471b17831a modify the BEDROCK_BASE_URL to use the region from the access stor 2024-11-26 16:18:46 +08:00
glay 8ce2cf5c3b Remove detailed error error message. 2024-11-26 11:57:49 +08:00
glay 9c648e5b64 Remove detailed error error message. 2024-11-26 11:46:16 +08:00
glay b39b3f7a5e Remove detailed error logging in decryption function. 2024-11-26 11:41:56 +08:00
glay 448babd27f 完善mistral tool use功能 2024-11-26 10:10:34 +08:00
glay e6633753a4 完善mistral tool use功能 和llama3消息格式问题 2024-11-25 20:08:21 +08:00
glay 15d0600642
Merge branch 'ChatGPTNextWeb:main' into main 2024-11-25 19:02:50 +08:00
Dogtiti 2623a92763
Merge pull request #5850 from code-october/fix-o1
Fix o1
2024-11-25 12:31:36 +08:00
glay 9a473048b1 去掉Debug日志打印 2024-11-25 09:51:46 +08:00
glay 2fe848ecf3 去掉Debug日志打印 2024-11-25 09:51:02 +08:00
glay 0abfd279e4 完善bedrock中文翻译 2024-11-25 09:20:22 +08:00
glay 5bd7e28f82 去掉Debug日志打印 2024-11-25 09:12:30 +08:00
glay 6f7a635030 完善llama和mistral模型的推理功能 2024-11-24 23:54:04 +08:00
glay 2ccdd1706a 优化前后端代码,将公共方法抽取到util类,修改客户端加密方式 2024-11-24 15:37:49 +08:00
glay a19ba6933a
Merge branch 'ChatGPTNextWeb:main' into main 2024-11-24 11:52:37 +08:00
glay 513cf1b206 完善llama和mistral模型的推理功能 2024-11-23 18:23:20 +08:00
glay 238eb70986 完善mistral模型的推理结果 2024-11-23 16:27:19 +08:00
glay a6337e9f23 完善总结功能的代码逻辑 2024-11-23 15:13:52 +08:00
glay ff88421904 修改密钥加密逻辑 2024-11-23 13:52:14 +08:00
glay a85db21e1f 优化代码,修改方法命名错误 2024-11-23 12:09:45 +08:00
glay b0c1ccd0a0 优化和重构代码,增加前端可以设置加密配置数据的密钥 2024-11-22 22:03:42 +08:00
code-october b7acb89096 update new model for gpt-4o and gemini-exp 2024-11-22 09:48:50 +00:00
glay bd68df1d9b 修改: app/api/bedrock.ts
修改:     app/client/platforms/bedrock.ts
	修改:     app/constant.ts
2024-11-22 06:33:39 +08:00
code-october ef24d3e633 use stream when request o1 2024-11-21 03:46:10 +00:00
code-october 23350c842b fix o1 in disableGPT4 2024-11-21 03:45:07 +00:00
glay f60c237b16 去掉sdk的引入,客户端也能直连 2024-11-20 15:25:36 +08:00
glay 9d3f1d2529 remove document function,only keep the bedrock service provider 2024-11-18 16:12:03 +08:00
glay dfeb9e7f27
Merge branch 'ChatGPTNextWeb:main' into main 2024-11-17 08:53:59 +08:00
Dogtiti a2adfbbd32
Merge pull request #5821 from Sherlocksuper/scroll
feat: support more user-friendly scrolling
2024-11-16 15:24:46 +08:00
opchips e56216549e fix: 代码块嵌入小代码块时渲染错误 2024-11-15 11:56:26 +08:00
Sherlock 19facc7c85 feat: support mort user-friendly scrolling 2024-11-14 21:31:45 +08:00
glay b2d5e0e309
Merge branch 'ChatGPTNextWeb:main' into main 2024-11-13 19:42:15 +08:00
glay 225ad30898 修改: app/api/bedrock.ts
修改:     app/components/ui-lib.tsx
2024-11-13 18:37:47 +08:00
Lloyd Zhou b08ce5630c
Merge pull request #5819 from ConnectAI-E/fix-gemini-summary
Fix gemini summary
2024-11-13 15:17:44 +08:00
DDMeaqua b41c012d27 chore: shouldStream 2024-11-13 15:12:46 +08:00
Lloyd Zhou a392daab71
Merge pull request #5816 from ConnectAI-E/feature/artifacts-svg
artifacts support svg
2024-11-13 14:58:33 +08:00
DDMeaqua 0628ddfc6f chore: update 2024-11-13 14:27:41 +08:00
DDMeaqua 7eda14f138 fix: [#5308] gemini对话总结 2024-11-13 14:24:44 +08:00
glay 6bc1612720 修改: app/locales/cn.ts
修改:     app/locales/en.ts
	修改:     yarn.lock
2024-11-13 12:33:59 +08:00
glay 24261d20b3
Consider adding more Bedrock-specific configurations 2024-11-13 08:18:20 +08:00
glay 1b5a81c7ad
Add AWS secret key validation. 2024-11-13 08:10:10 +08:00
glay 70f066c15f
Add AWS region validation and improve code style. 2024-11-13 08:08:01 +08:00
glay bfa433919f
Add AWS access key validation. 2024-11-13 07:57:51 +08:00
glay afb0752d5d
Merge branch 'ChatGPTNextWeb:main' into main 2024-11-13 07:52:30 +08:00
opchips 9a86c42c95 update 2024-11-12 16:33:55 +08:00
LovelyGuYiMeng 8d66fedb1f
Update visionKeywords 2024-11-12 14:28:11 +08:00
Dogtiti 1d14a991ee fix: use current session id to trigger rerender 2024-11-11 20:30:59 +08:00
glay 09e4f95272
Merge branch 'main' into main 2024-11-11 15:55:20 +08:00