mirror of
https://github.com/langgenius/dify.git
synced 2026-05-24 10:57:52 +08:00
- _DISPATCH value type: tuple[Any, dict[str, Any] | None] (was Any, Any). Helpers always return one of (stream_obj, None) or (None, dict); tightened sig lets mypy flag wrong shapes when Task 3's route handler unpacks the result. - Comment _run_completion's auto_generate_name + query mutations (legacy parity; non-obvious without grep-archaeology). - Unit cover _unpack_blocking (mapping / tuple / non-mapping branches) + AppRunRequest.conversation_id field validator (strip-to-None, invalid-uuid raise, valid-uuid passthrough).