WeKnora/internal/application/service/chat_pipeline
wizardchen 497e8312e3 fix(knowledge): harden summary refresh after review feedback
Discard stale async refreshes without clobbering newer summaries, queue manual refreshes instead of blocking HTTP, sort edited chunks by index for summaries, escape document metadata in chat headers, and distinguish lookup failures from true staleness.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 20:23:48 +08:00
..
chat_completion.go refactor(agent): introduce modelcontext registry and fix handle-codec bugs 2026-07-27 11:05:43 +08:00
chat_completion_stream.go refactor(agent): introduce modelcontext registry and fix handle-codec bugs 2026-07-27 11:05:43 +08:00
chat_completion_stream_test.go refactor(agent): introduce modelcontext registry and fix handle-codec bugs 2026-07-27 11:05:43 +08:00
chat_pipeline.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
chat_pipeline_test.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
common.go feat(llm): add prompt-cache observability and wiki cache-friendly prompts 2026-07-23 19:17:30 +08:00
common_image_requirement_test.go fix(chat): enforce retrieved image output in answers 2026-07-15 18:10:31 +08:00
data_analysis.go feat(llm): add prompt-cache observability and wiki cache-friendly prompts 2026-07-23 19:17:30 +08:00
extract_entity.go feat(llm): add prompt-cache observability and wiki cache-friendly prompts 2026-07-23 19:17:30 +08:00
extract_entity_test.go fix(graph): recover JSON from malformed/truncated fences in extract_entity 2026-05-07 15:40:19 +08:00
filter_top_k.go fix(chunks): keep edited retrieval content consistent 2026-07-28 20:23:48 +08:00
filter_top_k_test.go fix: stabilize top-k retrieval ordering 2026-07-17 18:42:45 +08:00
into_chat_message.go fix(knowledge): harden summary refresh after review feedback 2026-07-28 20:23:48 +08:00
into_chat_message_metadata_test.go fix(knowledge): harden summary refresh after review feedback 2026-07-28 20:23:48 +08:00
load_history.go fix: respect multi-turn-disabled flag in KnowledgeQA pipeline 2026-05-26 10:45:42 +08:00
merge.go fix(retrieval): restore image parent context 2026-07-28 20:23:48 +08:00
merge_expand.go fix(chunks): keep edited retrieval content consistent 2026-07-28 20:23:48 +08:00
merge_expand_edit_test.go fix(chunks): keep edited retrieval content consistent 2026-07-28 20:23:48 +08:00
merge_faq.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
merge_group_deterministic_test.go fix(chunks): keep edited retrieval content consistent 2026-07-28 20:23:48 +08:00
merge_history.go feat(prompts): update assistant descriptions and add intent-specific templates 2026-03-25 22:08:29 +08:00
merge_overlap.go fix(chunks): keep edited retrieval content consistent 2026-07-28 20:23:48 +08:00
merge_parent_resolve_test.go fix(retrieval): restore image parent context 2026-07-28 20:23:48 +08:00
plugin_test.go feat(prompt): enhance context and intent classification in templates 2026-03-26 18:57:12 +08:00
progress.go feat(agent): enhance suggested questions API with tag scopes 2026-07-17 10:19:43 +08:00
progress_test.go fix(chat): persist attachment content and fix fallback multi-turn context 2026-07-16 17:41:27 +08:00
query_expansion.go refactor(agent): introduce modelcontext registry and fix handle-codec bugs 2026-07-27 11:05:43 +08:00
query_understand.go feat(llm): add prompt-cache observability and wiki cache-friendly prompts 2026-07-23 19:17:30 +08:00
query_understand_test.go Revert "fix: preserve agent system prompt for greetings" 2026-06-04 17:39:38 +08:00
references.go refactor(agent): introduce modelcontext registry and fix handle-codec bugs 2026-07-27 11:05:43 +08:00
references_test.go refactor(agent): introduce modelcontext registry and fix handle-codec bugs 2026-07-27 11:05:43 +08:00
rerank.go fix(chunks): retain questions across content edits 2026-07-28 20:23:48 +08:00
rerank_clean_test.go fix(chunks): retain questions across content edits 2026-07-28 20:23:48 +08:00
rerank_scope_test.go feat(agent): enhance suggested questions API with tag scopes 2026-07-17 10:19:43 +08:00
search.go feat(agent): enhance suggested questions API with tag scopes 2026-07-17 10:19:43 +08:00
search_entity.go fix(chunks): retain questions across content edits 2026-07-28 20:23:48 +08:00
search_parallel.go feat(web-search): refactor web search provider 2026-03-31 20:22:34 +08:00
web_fetch.go feat(web-search): refactor web search provider 2026-03-31 20:22:34 +08:00
wiki_boost.go refactor(agent): introduce modelcontext registry and fix handle-codec bugs 2026-07-27 11:05:43 +08:00