(user_id, question, *, limit=8, pinned_nodes=None, **_kwargs)
| 813 | monkeypatch.setattr(agents, "_daily_note_reading_entries", lambda **_kwargs: [daily_entry]) |
| 814 | |
| 815 | def fake_answer_question_stream(user_id, question, *, limit=8, pinned_nodes=None, **_kwargs): |
| 816 | captured["pinned_nodes"] = pinned_nodes or [] |
| 817 | yield {"event": "meta", "data": {"citations": [], "streaming": {"provider": True, "transport": "sse"}}} |
| 818 | yield {"event": "chunk", "data": {"text": "趋势摘要"}} |
| 819 | yield {"event": "done", "data": {"text": "趋势摘要", "citations": [], "streaming": {"provider": True, "transport": "sse"}}} |
| 820 | |
| 821 | monkeypatch.setattr(agents.wiki_answer, "answer_question_stream", fake_answer_question_stream) |
| 822 |
nothing calls this directly
no outgoing calls
no test coverage detected