Expand description
Chat-template engine for RLX runners.
The implementation moved into the published rlx-text crate so
downstream tools (servers, web playground, training scripts) can
depend on the chat plumbing without pulling in this CLI helper crate.
This module is now a re-export shim — use rlx_cli::ChatTemplate
and use rlx_text::ChatTemplate resolve to the same type.
Structs§
- Chat
Message - One chat turn.
roleis conventionally one ofsystem,user,assistant,tool— but templates can accept anything. - Chat
Template - Compiled Jinja chat template + BOS/EOS strings.
Enums§
- Chat
Template Source - Where a
ChatTemplatewas loaded from. Useful for diagnostics and for letting a caller round-trip the source string into config.
Functions§
- auto_
chat_ template - Convenience for the M3 auto-dispatch family: load the chat template