docs(usage): document Chainlit on CHAINLIT_PORT under Ray Serve - #509
Conversation
The default-ports table only covered the uvicorn case (Chainlit at /chainlit), but env_vars.md points here for the Ray Serve behavior. Add a note: with ENABLE_RAY_SERVE=true the API is on RAY_SERVE_PORT and Chainlit on its own CHAINLIT_PORT (8090), and the compose port mapping must be uncommented.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA note block is added to the "Default ports" section of the usage documentation. It describes the alternate routing behavior when ChangesRay Serve Mode Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The
CHAINLIT_PORTenv var doc points to the Usage Default ports section to explain Chainlit's location, but that table only covered the default (uvicorn) case — Chainlit at the/chainlitsubroute — and never mentioned the Ray Serve behavior.Adds a note to the Default ports section: when
ENABLE_RAY_SERVE=true, the API is served by Ray Serve onRAY_SERVE_PORTand the Chainlit UI runs on its ownCHAINLIT_PORT(default8090) instead of the subroute (confirmed inopenrag/api.py, which startschainlit_appvia uvicorn onconfig.ray.serve.chainlit_port). Also flags that the${CHAINLIT_PORT}:${CHAINLIT_PORT}mapping indocker-compose.yamlis commented out by default and must be uncommented to expose it.Summary by CodeRabbit
Release Notes