Commit Graph
4041 Commits
Author SHA1 Message Date
Byron Wang 4727b0df96 Merge main into knowledge boundaries and reconcile indexing contracts 2026-11-28 21:07:54 -08:00
semanymandClaude Code d040228305 test(api): bring the knowledge index node tests under strict pyrefly (#47421)
Co-authored-by: Claude Code <noreply@anthropic.com>
2026-11-29 03:37:39 +00:00
MindOfqc cdb6e4ff13 test(api): bring the word extractor tests under strict pyrefly (#46387) 2026-11-29 03:35:18 +00:00
Byron Wang 80f814a09f Merge main into the knowledge retrieval boundary refactor 2026-11-28 14:59:51 -08:00
Paul Y Hui 4cbb38e860 refactor(api): read agent tool providers through an injected session maker (#47397) 2026-11-27 14:49:11 +00:00
9k1lsandMattenhaim 809bbddddc refactor(api): read custom API tool providers through an explicitly owned session (#46983)
Co-authored-by: Mattenhaim <279262900+Mattenhaim@users.noreply.github.com>
2026-11-27 13:42:08 +00:00
5081e0ce3e fix(runtime): collect shared Agent, shellctl, and API fixes (#47230)
Co-authored-by: Charles Yao <chongbinyao33@gmail.com>
Co-authored-by: Alter-xyz <88554920+alterxyz@users.noreply.github.com>
Co-authored-by: twwu <twwu@dify.ai>
2026-11-27 08:22:15 +00:00
林玮 (Jade Lin) 6fad22aa56 feat(api): batch and cache hosted moderation (#47368) 2026-11-27 08:16:28 +00:00
林玮 (Jade Lin) edb5d97332 fix(api): keep zero-credit hosted models available when credits run out (#47342) 2026-11-27 07:54:10 +00:00
FFXN 0c9a5be916 fix(evaluation): validate evidence and enforce execution limits (#47267) 2026-11-27 07:32:14 +00:00
Paul Y Hui c2df40d9dc refactor(api): inject the session maker into ProviderManager (#46913) 2026-11-27 04:42:18 +00:00
zyssyz123 f2ff8353c6 feat(agent): enforce per-tool call limits per run (#46641) 2026-11-27 03:44:31 +00:00
ChengFa cd156bb5bd fix(plugin): preserve trailing question mark in serialized request query strings (#46154) 2026-11-27 03:24:59 +00:00
Mariesandtwwu d91051a789 fix(redis): wait for broadcast subscription acknowledgements (#47168)
Co-authored-by: twwu <twwu@dify.ai>
2026-11-27 02:34:46 +00:00
林玮 (Jade Lin) 3193f958dd fix(api): keep custom model providers usable during billing outages (#47226) 2026-11-26 02:59:45 +00:00
林玮 (Jade Lin) e9dc4a3bad fix(api): require a matching quota for hosted model calls (#47207) 2026-11-26 02:02:12 +00:00
gongfppandgongfpp 09ec107c7a refactor(api): parse LLM tool parameters through a pydantic adapter (#44058)
Co-authored-by: gongfpp <22683417+gongfpp@users.noreply.github.com>
2026-11-25 09:32:19 +00:00
非法操作 0a1d652b19 fix(evaluation): attribute hosted AI credit usage (#47154) 2026-11-25 06:25:22 +00:00
非法操作 4e4f7de2d5 refactor(agent): isolate Agent App composer operations (#46395) 2026-11-24 08:36:35 +00:00
林玮 (Jade Lin) ad4495bd8d refactor(api): remove legacy hosted credit fallback (#46962) 2026-11-24 06:31:20 +00:00
zyssyz123 ed6655121a feat(agent): support configurable Chatflow session continuity (#46780) 2026-11-24 04:52:51 +00:00
0677daebd8 fix: serve stable account avatars with Console sessions (#46930)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-11-24 03:09:03 +00:00
FFXN 288474aa9b fix(evaluation): upgrade Ragas and validate Faithfulness evidence (#46963) 2026-11-24 02:51:24 +00:00
kevin4571andkevin4571 a92a64aa4a fix(workflow): validate persisted environment variable mappings (#46427)
Co-authored-by: kevin4571 <194502969+kevin4571@users.noreply.github.com>
2026-11-23 16:59:55 +00:00
Chih-Yun LinandClaude Opus 5.5 580416dd10 refactor(api): drop global db.session from PDF and Word image extraction (#46113)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:56:48 +00:00
kevin4571andkevin4571 232a24d733 fix(api): validate credential and tool parameter cache entries (#46361)
Co-authored-by: kevin4571 <194502969+kevin4571@users.noreply.github.com>
2026-11-23 16:44:00 +00:00
vaibhav375 c4134cac64 refactor(api): write tool model invoke logs through short-lived sessions (#46632) 2026-11-23 16:41:42 +00:00
林玮 (Jade Lin) 9848d311e6 fix(api): fall back to custom models when hosted credits are insufficient (#46958) 2026-11-23 09:40:51 +00:00
zyssyz123andautofix-ci[bot] 0f0913be0d feat(agent): add backend tag management and filtering (#46571)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-23 06:41:58 +00:00
杰尼龟 da347d4e0a perf(api): avoid converting all keyword postings to sets for search (#46887) 2026-11-23 02:53:41 +00:00
Mikhail Grechannikovandautofix-ci[bot] a06bc83cf0 fix(api): send custom tool JSON bodies as JSON when the content type has parameters (#44908)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-22 13:13:09 +00:00
Paul Y HuiandClaude Opus 5.5 5cadff3b04 refactor(api): initialize trial provider records through short-lived sessions (#46446)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 09:55:54 +00:00
JohnxandJohnx-w 946f66f531 refactor(api): decode plugin daemon errors directly with Pydantic (#46731)
Co-authored-by: Johnx-w <231812476+Johnx-w@users.noreply.github.com>
2026-11-20 13:47:15 +00:00
陈民振 dff034fd86 fix: correct trail_models typo to trial_models in hosting_configuration.py (#46712) 2026-11-20 10:33:00 +00:00
hjeesumandByron Wang e6c72656c5 test: use sqlite_session for tool file lookups in message transformer tests (#45000)
Co-authored-by: Byron Wang <byron@dify.ai>
2026-11-19 12:08:53 +00:00
d2aee05216 fix(api): treat an empty tool file mimetype as missing (#45156)
Co-authored-by: Byron.wang <byron@dify.ai>
Co-authored-by: Byron Wang <byron@linux.com>
2026-11-19 12:08:34 +00:00
Byron Wang 012905e587 fix: restore knowledge boundary CI contracts and catalog focus handoff 2026-11-19 17:53:51 +08:00
Byron Wang 0c16845a68 Merge main into knowledge boundaries and preserve invitation concurrency 2026-11-19 15:57:33 +08:00
陈民振 9c4dce6cb8 docs: fix incorrect docstrings in ModelManager methods (#46710) 2026-11-19 06:06:39 +00:00
林玮 (Jade Lin) 110ed838fc fix(api): restore tenant OpenAI moderation for non-credit calls (#46671) 2026-11-18 08:30:06 +00:00
EvanandCursor Agent f8c08df4c4 fix(api): inject sessions into node output inspector and fix its live updates (#45613)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-18 06:02:52 +00:00
9c948cdc10 perf(api): write a finished node execution once (#46266)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-18 05:36:34 +00:00
林玮 (Jade Lin) 733454eae3 feat(api): enforce moderation for Cloud AI-credit model calls (#45987) 2026-11-18 02:48:29 +00:00
FFXN b7b033fac8 feat(evaluation): clarify batch fields and missing-node errors (#46538) 2026-11-18 01:51:39 +00:00
7b19f9d65b fix(hitl): restore form API compatibility and harden IM workflows (#46548)
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-17 13:44:16 +00:00
Jyong 582cab8491 Merge main into stack/knowledge-01-boundaries
Resolve conflicts with the configurable knowledge base description limit,
the blocking workflow run connection fix, read_media tool observations,
debug conversation workspace retirement, Ruff N815 and the strict pyrefly
test conversions.
2026-11-17 17:45:08 +08:00
JyongandClaude Fable 5.2 ff57688251 refactor(file-scan): remove the ClamAV scanner (#46563)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 08:05:29 +00:00
JyongandClaude Fable 5.2 9cbb4e42e3 fix(api): bound upload reference parsing and stop locking keyword reads
- Scan Markdown preview links with linear regexes instead of rendering
  through python-markdown; a 40 KB crafted input took ~45 s before.
- Accept only UUID-shaped ids from free text and treat text-linked files
  as best-effort: lock them when the tenant owns them, ignore them
  otherwise, so foreign or stale preview links no longer fail writes.
  Structured references keep hard validation.
- Drop the exclusive Redis lock from the jieba keyword read path.
- Treat pipeline invoke-entity file cleanup as best-effort.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 15:35:50 +08:00
盐粒 Yanli a2b34dea72 feat(agent): add on-demand read_media multimodal tool (#46499) 2026-11-17 07:28:39 +00:00
568c845f6e fix(agent): retire superseded Chatflow debug conversation workspaces (#46489)
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-11-17 07:04:20 +00:00