Merge remote-tracking branch 'origin/CODEX' into sub_laptop_8

This commit is contained in:
2026-10-06 15:29:28 +09:00
4 changed files with 112 additions and 19 deletions
+2 -1
View File
@@ -49,9 +49,10 @@ def test_chat_searches_all_knowledge_markdown_except_excluded_folders(monkeypatc
result = asyncio.run(chat.ask_knowledge_chat(chat.ChatRequest(question="임도 기준"), {}))
assert result["answer"] == "설명 [1]"
paths = {source["path"] for source in result["sources"]}
assert paths == {"original/법률/현행.md", "technical_info/_검토.md"}
assert paths == {"original/법률/현행.md"}
assert "실무문서" not in sent["prompt"]
assert "비공개 사례" not in sent["prompt"]
assert "STmate" not in sent["prompt"]
assert "다산소프트" not in sent["prompt"]
assert "기술정보 안내" not in sent["prompt"]
chat._sections.cache_clear()