mirror of
https://github.com/langgenius/dify.git
synced 2026-05-25 11:27:19 +08:00
Restores two assertions lost when the legacy per-mode unit tests were deleted in api-3 Task 4: - invoke_from == InvokeFrom.OPENAPI on the unified runner - body-side user field is stripped before reaching the generator (Model 2: bearer is identity, body cannot spoof user) Both run as part of test_run_chat_dispatches_to_chat_handler; no new tests added.