Merge remote-tracking branch 'origin/qyqy_develop' into nl-merge-latest

# Conflicts:
#	app/service/model_gateway.py
This commit is contained in:
qyqy
2026-09-11 15:38:11 +08:00
78 changed files with 5233 additions and 293 deletions
@@ -439,3 +439,10 @@ async def test_general_list_question_uses_complete_search_summary() -> None:
assert "CUST-002" in text
assert "稳健一号" in text
assert "全部命中记录" in text
def test_agent_prompt_requires_truncation_disclosure() -> None:
prompt = public_risk_agent._agent_system_prompt("查看当前预警")
assert "data_truncated=true" in prompt
assert "证据不完整" in prompt