7e8147295b
refactor: convert isinstance chains to match/case (part 5) ( #36298 )
...
Co-authored-by: Stephen Zhou <[email protected] >
2026-05-18 07:16:31 +00:00
chariri and GitHub
af4b9bfa8f
chore: Remove pyright in favor of pyrefly ( #36154 )
2026-05-14 05:49:08 +00:00
非法操作 and GitHub
2d09c4788d
fix: suggest questions more max_tokens ( #35533 )
2026-04-24 08:02:30 +00:00
afec528f51
feat: improve follow-up settings ( #35442 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-22 08:55:16 +00:00
3193e8a712
chore: reorg imports ( #35308 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-16 08:50:02 +00:00
dataCenter430 and GitHub
974d2f1627
refactor: replace bare dict with typed annotations in llm_generator and prompt ( #35100 )
2026-04-14 06:15:52 +00:00
wdeveloper16 and GitHub
0f643bca76
refactor: replace bare dict with dict[str, Any] in core tools and runtime ( #35111 )
2026-04-14 03:03:13 +00:00
Renzo and GitHub
b55bef4438
refactor: migrate session.query to select API in core misc modules ( #34608 )
2026-04-07 04:08:34 +00:00
Statxc and GitHub
0bce6b35b4
refactor(api): type LLM generator results with TypedDict ( #34621 )
2026-04-07 01:06:08 +00:00
364d7ebc40
refactor: core/tools, agent, callback_handler, encrypter, llm_generator, plugin, inner_api ( #34205 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <[email protected] >
2026-03-28 10:14:43 +00:00
40591a7c50
refactor(api): use standalone graphon package ( #34209 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-27 21:05:32 +00:00
99 and GitHub
52e7492cbc
refactor(api): rename dify_graph to graphon ( #34095 )
2026-03-25 21:58:56 +08:00
56593f20b0
refactor(api): continue decoupling dify_graph from API concerns ( #33580 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WH-2099 <[email protected] >
2026-03-25 20:32:24 +08:00
mahammadasim and GitHub
245f6b824d
test: add test for core extension, external_data_tool and llm generator ( #32468 )
2026-03-12 11:44:38 +08:00
-LAN- and GitHub
4fd6b52808
refactor(api): move model_runtime into dify_graph ( #32858 )
2026-03-02 20:15:32 +08:00
-LAN- and GitHub
c917838f9c
refactor: move workflow package to dify_graph ( #32844 )
2026-03-02 18:42:30 +08:00
41177757e6
fix: summary index bug ( #31810 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jyong <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Yansong Zhang <[email protected] >
Co-authored-by: hj24 <[email protected] >
Co-authored-by: CodingOnStar <[email protected] >
Co-authored-by: CodingOnStar <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-02 09:45:17 +08:00
89abea26f9
refactor: rm some dict api/controllers/console/app/generator.py api/core/llm_generator/llm_generator.py ( #31709 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-30 17:37:20 +09:00
c2473d85dc
feat: Add summary index for knowledge. ( #31625 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jyong <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Yansong Zhang <[email protected] >
Co-authored-by: hj24 <[email protected] >
Co-authored-by: CodingOnStar <[email protected] >
Co-authored-by: CodingOnStar <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-29 13:47:35 +08:00
de610cbf39
fix: call get_text_content() instead of casting to str ( #31121 )
...
Signed-off-by: Stream <[email protected] >
Co-authored-by: Copilot <[email protected] >
2026-01-16 18:41:00 +09:00
quicksand and GitHub
1a18012f98
fix(api): use json_repair for conversation title parsing ( #29649 )
2025-12-15 11:29:28 +08:00
c033030d8c
fix: 'list' object has no attribute 'find' ( #29384 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-10 12:45:53 +08:00
ee0fe8c7f9
feat: support suggested_questions_after_answer to be configed ( #29254 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-08 10:27:02 +08:00
4dccdf9478
Ensure suggested questions parser returns typed sequence ( #27104 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-20 13:01:09 +08:00
1bd621f819
remove .value ( #26633 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-11 09:08:29 +08:00
quicksand and GitHub
3bb67885ef
fix(api): resolve error in agent‑strategy prompt generator ( #26278 )
2025-09-26 16:16:55 +08:00
+10
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: twwu <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: jyong <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: QuantumGhost <[email protected] >
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: quicksand <[email protected] >
Co-authored-by: Jyong <[email protected] >
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: nite-knite <[email protected] >
Co-authored-by: Hanqing Zhao <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <[email protected] >
2025-09-18 12:49:10 +08:00
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
08dd3f7b50
Fix basedpyright type errors ( #25435 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 01:54:26 +08:00
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <[email protected] >
2025-09-06 03:32:23 +08:00
-LAN- and GitHub
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking ( #25047 )
...
Signed-off-by: -LAN- <[email protected] >
2025-09-03 11:52:26 +08:00
Bowen Liang and GitHub
7b379e2a61
chore: apply ty checks on api code with script and ci action ( #24653 )
2025-09-02 16:05:13 +08:00
Yongtao Huang and GitHub
826f19e968
Chore : rm dead code detected by pylance ( #24588 )
2025-08-27 13:19:40 +08:00
726c429772
fix: handle non-array segment types in Loop node ( #24590 )
...
Co-authored-by: QuantumGhost <[email protected] >
2025-08-27 11:21:42 +08:00
fa753239ad
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
Co-authored-by: Yongtao Huang <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <[email protected] >
2025-08-26 18:10:31 +08:00
GuanMu and GitHub
47f480c0dc
fix: unify log format, use placeholders instead of string concatenation ( #24544 )
2025-08-26 15:45:16 +08:00
NeatGuyCoding and GitHub
870e3daa95
hotfix: fix multiple case match syntax ( #24204 )
2025-08-20 14:45:46 +08:00
c2606f9062
fix: correct behaviour of code fix ( #24152 )
...
Co-authored-by: Joel <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-19 14:18:49 +08:00
Asuka Minato and GitHub
70da81d0e5
try ast-grep ( #24149 )
2025-08-19 13:41:52 +08:00
de9c5f10b3
feat: enchance prompt and code ( #23633 )
...
Co-authored-by: stream <[email protected] >
Co-authored-by: Stream <[email protected] >
Co-authored-by: Stream <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 12:29:12 +08:00
Asuka Minato and GitHub
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
quicksand and GitHub
8340d775bd
Improve: support custom model parameters in auto-generator ( #22924 )
2025-07-25 09:00:26 +08:00
60c37fe492
Added a check to ensure the input text is a string before proceeding with parsing ( #22809 )
...
Co-authored-by: -LAN- <[email protected] >
2025-07-23 13:53:27 +08:00
4b2baeea65
fix: use model provided by user in prompt generator ( #22541 ) ( #22542 )
...
Co-authored-by: stream <[email protected] >
2025-07-17 14:19:52 +08:00
Yeuoly and GitHub
5487463385
fix: add list contents handling in structured LLM output ( #21837 )
2025-07-02 19:14:21 +08:00
0cb00d5fd2
refactor: move structured output support outside LLM Node ( #21565 )
...
Co-authored-by: Novice <[email protected] >
2025-06-27 14:55:31 +08:00
Yasuhiro Ohno and GitHub
55371e5abf
Improve CONVERSATION_TITLE_PROMPT to correctly handle Japanese and input ( #20351 )
2025-05-30 14:43:51 +08:00
2cad98f01f
fix : #18132 when deepseek llm model, auto_generate name can't work ( #18646 )
...
Co-authored-by: crazywoola <[email protected] >
2025-05-26 18:04:52 +08:00
QuantumGhost and GitHub
bd1bbfee4b
Enhance Code Consistency Across Repository with .editorconfig ( #19023 )
2025-04-29 18:04:33 +08:00
a147d2a200
feat(api): use json_repair to fix invalid json while generating structured output ( #18977 )
...
When generating JSON schema using an LLM in the structured output feature,
models may occasionally return invalid JSON, which prevents clients from correctly
parsing the response and can lead to UI breakage.
This commit addresses the issue by introducing `json_repair` to automatically
fix invalid JSON strings returned by the LLM, ensuring smoother functionality
and better client-side handling of structured outputs.
Co-authored-by: lizb <[email protected] >
2025-04-29 12:39:13 +08:00