fdc310
32215e9a3f
fix:Fixed the issue where the rich text processing in the DingTalk AP… ( #1759 )
...
* fix:Fixed the issue where the rich text processing in the DingTalk API did not account for multiple texts and images, as well as the presence of default line breaks. Also resolved the error in Dify caused by sending only images, which resulted in an empty query.
* fix:Considering the various possible scenarios, there are cases where plan_text is empty when there is file content, and there is no file (the message could not be parsed) and the content is empty.
* fix:Add the default modifiable prompt input for didify in the ai.yaml file to ensure that the error of query being empty occurs when receiving data.
* add: The config migration of Dify
* fix:Migration issue
* perf: minor fix
* chore: minor fix
---------
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-10 21:42:09 +08:00
Junyan Qin
64764c412b
Merge branch 'rc/new-plugin' into refactor/new-plugin-system
2025-08-24 21:40:02 +08:00
Junyan Qin
87ecb4e519
feat: add note for remove_think & remove dify remove cot code
2025-08-21 21:38:58 +08:00
fdc310
ff7bebb782
fix:in the dify agent llm return message can not joint ( #1617 )
2025-08-19 23:23:00 +08:00
Dong_master
67b622d5a6
fix:Some adjustments to the return types
2025-08-17 23:34:19 +08:00
Dong_master
8f863cf530
fix: remove_think bug
2025-08-15 00:55:39 +08:00
Dong_master
2351193c51
fix: in the difysvapi.py add stream , and remove_think on chunk
2025-08-15 00:50:32 +08:00
Dong_master
b8b9a37825
fix: in the dify non-stream remove_think lgic
2025-08-14 22:32:22 +08:00
fdc
4a1d033ee9
fix: Reduce chunk returns in dify and Hundred Refining Runner to every 8 chunks
2025-08-04 19:26:19 +08:00
Junyan Qin
47ff883fc7
perf: ruff format & remove stream params in requester
2025-08-04 19:26:18 +08:00
Dong_master
a9776b7b53
fix:del some print ,and amend respback on stream judge ,and del in dingtalk this is_stream_output_supported() use
2025-08-04 19:26:16 +08:00
Dong_master
074d359c8e
feat:add dashscopeapi stream
...
fix:dify 64chunk yield
2025-08-04 19:26:16 +08:00
Dong_master
4905b5a738
feat:add dingtalk stream
...
fix:adapter is_stream_output_supported bug
fix:stream message reply chunk in message_id
2025-08-04 19:26:16 +08:00
Dong_master
f84a79bf74
perf:del dify stream in ai.yaml config.and enbale stream in lark.yaml.
...
fix:localagent remove_think bug
2025-08-04 19:26:15 +08:00
Dong_master
f5a0cb9175
feat:add dify _agent_chat_message streaming
2025-08-04 19:26:15 +08:00
Dong_master
f9a5507029
fix:修复了因为迭代数据只推入resq_messages和resq_message_chain导致缓存到内存中的数据和写入log中的数据量庞大,以及有思考的think处理
...
feat:增加带有深度思考模型的think的去think操作
feat:dify中聊天机器人,chatflow对流式的支持
2025-08-04 19:26:15 +08:00
zejiewang
ba4b5255a2
feat:support dify message streaming output ( #1437 )
...
* fix:lark adapter listeners init problem
* feat:support dify streaming mode
* feat:remove some log
* fix(bot form): field desc missing
* fix: not compatible with chatflow
---------
Co-authored-by: wangzejie <wangzejie@meicai.cn >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-08-04 18:45:52 +08:00
Junyan Qin
6a1de889b4
refactor: switch llm_entities to plugin sdk
2025-07-13 20:30:17 +08:00
Junyan Qin
6b782f8761
feat: switch Query to langbot-plugin definition
2025-06-30 21:47:40 +08:00
Junyan Qin
1376530c2e
fix: conversation is null
2025-05-20 15:32:04 +08:00
Junyan Qin (Chin)
cd68760c75
Fix/runner bugs ( #1388 )
...
* fix: bugs in runners
* fix: model entity of exists conversation is None after changed runner
2025-05-12 18:21:08 +08:00
Junyan Qin
055b389353
style: restrict line-length
2025-05-10 18:04:58 +08:00
Junyan Qin
247b41bdb2
Merge branch 'master' into version/4.0
2025-05-10 17:47:14 +08:00
Devin AI
e265f267e1
improve: add explicit error handling for empty API responses
...
Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com >
2025-05-09 01:37:04 +00:00
Devin AI
f58d5f184f
fix: initialize chunk variable before reference in difysvapi.py
...
Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com >
2025-05-09 01:28:43 +00:00
Junyan Qin (Chin)
209f16af76
style: introduce ruff as linter and formatter ( #1356 )
...
* style: remove necessary imports
* style: fix F841
* style: fix F401
* style: fix F811
* style: fix E402
* style: fix E721
* style: fix E722
* style: fix E722
* style: fix F541
* style: ruff format
* style: all passed
* style: add ruff in deps
* style: more ignores in ruff.toml
* style: add pre-commit
2025-04-29 17:24:07 +08:00
Junyan Qin (Chin)
446546b69f
fix(dify runner): response message event incorrect when using agent app ( #1325 )
2025-04-23 16:55:52 +08:00
Junyan Qin (Chin)
23a0dba470
feat(dify): throw error event ( #1251 )
2025-03-30 23:04:46 +08:00
Junyan Qin
9f15ab5000
feat: preliminarily implement pipeline invoking
2025-03-29 17:50:45 +08:00
Junyan Qin
dbe46b5770
feat: add query variables
2025-03-12 19:13:04 +08:00
Junyan Qin
92e1ac5c3a
feat: add supports for passing time to dify workflow
2025-03-02 20:18:33 +08:00
Ethan
aa300258ab
feat: enhance user message preprocessing to include message creation timestamp
2025-03-02 19:45:10 +08:00
Ethan
48841daff5
feat: enhance user message preprocessing to include message creation timestamp
2025-03-02 19:30:07 +08:00
Ethan
8878f1ed87
feat: enhance user message preprocessing to include message creation timestamp
2025-03-02 19:20:10 +08:00
Ethan
d6d5dac6b3
feat: enhance user message preprocessing to include message creation timestamp
2025-03-02 19:10:53 +08:00
Ethan
05b979e68a
feat: enhance user message preprocessing to include message creation timestamp
2025-03-02 19:10:09 +08:00
Ethan
9f7d9e4c0d
feat: enhance user message preprocessing to include message creation timestamp
2025-03-02 18:49:32 +08:00
Junyan Qin
7cd4e904ca
perf: add converting options for dify thinking tips ( #1108 )
2025-02-24 12:17:33 +08:00
Junyan Qin
7f034b4ffa
fix(dify): display agent image
2025-01-06 21:28:36 +08:00
Junyan Qin
07ca48d652
fix: 无法传递qq图片的问题
2024-12-24 11:26:33 +08:00
Junyan Qin
793d64303e
perf: 完善dify api runner
2024-12-17 01:04:08 +08:00
Junyan Qin
6642498f00
feat: 添加对 agent 应用的支持 ( #951 )
2024-12-17 00:41:28 +08:00
Junyan Qin
32b400dcb1
fix: dify的timeout无法自定义 ( #949 )
2024-12-16 23:54:56 +08:00
Junyan Qin
dbf9f2398e
feat: 添加对 chat 和 workflow 的支持
2024-12-14 17:51:11 +08:00