WeKnora/internal/agent
wizardchen 38c594aec3 feat(chat): implement orphan alias detection and logging in chat completion and streaming
Add functionality to detect unresolvable resource aliases emitted by the model during chat completion and streaming. Introduce logging for these orphan aliases to aid in debugging and improve the handling of resource references. Update the stream processing to ensure held aliases are flushed upon cancellation, preventing data loss. Include tests to verify the correct reporting of orphan aliases.
2026-07-15 17:02:43 +08:00
..
approval refactor(terminology): rename user-facing tenant labels to workspace 2026-07-14 16:14:43 +08:00
memory feat(agent): enhance message consolidation and context management 2026-03-25 22:08:29 +08:00
skills feat: adapt preloaded skills to smart-reasoning agent 2026-02-04 20:08:49 +08:00
token feat(agent): enhance message consolidation and context management 2026-03-25 22:08:29 +08:00
tools feat(storage): add multi-instance storage backends per workspace 2026-07-15 14:54:39 +08:00
act.go feat: scope API MCP OAuth by principal 2026-06-30 20:01:05 +08:00
const.go feat: Implement wiki_config updates in knowledge base management 2026-04-22 21:17:21 +08:00
engine.go feat(resource): add stable resource registry with LLM-context alias compaction 2026-07-15 17:02:43 +08:00
engine_image_test.go feat: auto-describe MCP tool result images via VLM 2026-03-25 21:38:15 +08:00
engine_test.go feat(resource): add stable resource registry with LLM-context alias compaction 2026-07-15 17:02:43 +08:00
finalize.go Add instruction fields to knowledge base configuration 2026-07-13 12:16:19 +08:00
langfuse_test.go feat(observability): instrument agent ReAct loop and tool calls in Langfuse 2026-04-24 19:58:08 +08:00
observe.go fix(agent): treat end_turn as natural stop 2026-07-06 23:16:18 +08:00
observe_test.go fix(agent): treat end_turn as natural stop 2026-07-06 23:16:18 +08:00
prompts.go feat(chat): add @Skill/@MCP mentions with scoped agent runtime 2026-06-29 18:09:44 +08:00
prompts_wiki.go fix(wiki): strip internal chunk aliases from page content 2026-07-13 15:59:09 +08:00
prompts_wiki_test.go fix(wiki): strip internal chunk aliases from page content 2026-07-13 15:59:09 +08:00
think.go feat(chat): implement orphan alias detection and logging in chat completion and streaming 2026-07-15 17:02:43 +08:00