YueGuobin 425ce43bdd feat(chat): add project status checks to chat endpoints
Add project status validation to all chat API endpoints to ensure the project is opened before allowing chat operations. This prevents unauthorized access and ensures chat functionality only works with active projects.

- Check project.status == "opened" in stream_chat, list_sessions, get_history, and delete_session endpoints
- Return HTTP 403 FORBIDDEN with descriptive error message if project is not opened
- Update docstring for stream_chat endpoint to document the requirement
2026-03-04 13:55:09 +08:00
..
2025-02-22 20:14:13 +10:00
2024-03-16 16:00:27 +01:00
2026-02-23 23:26:42 +08:00
2023-09-14 22:41:08 +07:00
2024-10-31 19:23:28 +10:00