feat: add Nailong Fund advisor capabilities

This commit is contained in:
Windows
2026-09-11 09:47:40 +08:00
parent 5907fcd6d2
commit a4499defee
143 changed files with 12255 additions and 89 deletions
@@ -0,0 +1,9 @@
from app.api.controllers.agent_runs import accepts_event_stream
def test_sse_accept_negotiation() -> None:
assert accepts_event_stream(None)
assert accepts_event_stream("text/event-stream")
assert accepts_event_stream("application/json, text/*;q=0.5")
assert not accepts_event_stream("application/json")
assert not accepts_event_stream("text/event-stream;q=0")