Commit Graph

163 Commits

Author SHA1 Message Date
glay
e839940a26 feat:add amazon.nova model tool use support. 2024-12-14 11:01:10 +08: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
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
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
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
8ce2cf5c3b Remove detailed error error message. 2024-11-26 11:57:49 +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
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
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
glay
f60c237b16 去掉sdk的引入,客户端也能直连 2024-11-20 15:25:36 +08:00
glay
09e4f95272
Merge branch 'main' into main 2024-11-11 15:55:20 +08:00
lloydzhou
db060d732a upload save record wav file 2024-11-07 11:45:38 +08:00
glay
3bf55d3530
Merge branch 'main' into main 2024-11-06 10:52:34 +08:00
glay
952d8835a3 修改: app/components/settings.tsx
修改:     app/components/ui-lib.tsx
	修改:     app/constant.ts
	修改:     app/utils/encryption.ts
2024-11-06 09:44:36 +08:00
glay
ca17e90c52 修改: app/utils/encryption.ts 2024-11-06 00:43:03 +08:00
glay
cae20af24d 修改: app/api/bedrock.ts
修改:     app/client/api.ts
	修改:     app/store/access.ts
	新文件:   app/utils/encryption.ts
	修改:     package.json
2024-11-06 00:21:30 +08:00
ryanhex53
8e2484fcdf Refactor: Replace all provider split occurrences with getModelProvider utility method 2024-11-05 13:52:54 +00:00
ryanhex53
b844045d23 Custom model names can include the @ symbol by itself.
To specify the model's provider, append it after the model name using `@` as before.

This format supports cases like `google vertex ai` with a model name like `claude-3-5-sonnet@20240620`.

For instance, `claude-3-5-sonnet@20240620@vertex-ai` will be split by `split(/@(?!.*@)/)` into:

`[ 'claude-3-5-sonnet@20240620', 'vertex-ai' ]`, where the former is the model name and the latter is the custom provider.
2024-11-05 07:44:12 +00:00
Dogtiti
44fc5b5cbf fix: onfinish responseRes 2024-11-04 17:00:45 +08:00
lloydzhou
2c74559010 hitfix 2024-10-25 18:02:51 +08:00
Lloyd Zhou
c5074f0aa4
Merge pull request #5581 from ConnectAI-E/feature/gemini-functioncall
google gemini support function call
2024-10-10 21:02:36 +08:00
Lloyd Zhou
63ab83c3c8
Merge pull request #5621 from ConnectAI-E/hotfix/plugin-result
hotfix plugin result is not string #5614
2024-10-10 12:48:55 +08:00
lloydzhou
268cf3b606 hotfix plugin result is not string #5614 2024-10-10 12:47:25 +08:00
lloydzhou
4ae34ea3ee merge main 2024-10-09 18:27:23 +08:00
lloydzhou
3e63d405c1 update 2024-10-09 16:12:01 +08:00
lloydzhou
6c1cbe120c update 2024-10-09 11:46:49 +08:00
lloydzhou
450766a44b google gemini support function call 2024-10-03 20:28:15 +08:00
lloydzhou
919ee51dca hover show errorMsg when plugin run error 2024-10-01 13:58:50 +08:00
lloydzhou
9c577ad9d5 hotfix for plugin runtime 2024-10-01 12:55:57 +08:00
lloydzhou
ef4665cd8b update 2024-09-30 02:57:51 +08:00
lloydzhou
9be58f3eb4 fix ts error 2024-09-30 01:30:20 +08:00
lloydzhou
a50c282d01 remove DEFAULT_API_HOST 2024-09-30 01:19:20 +08:00
lloydzhou
b5f6e5a598 update 2024-09-30 00:38:30 +08:00