Merge remote-tracking branch 'origin/qyqy_develop' into nl-merge-latest
# Conflicts: # app/service/model_gateway.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user