Home Explore Blog CI



zed

2nd chunk of `docs/src/ai/text-threads.md`
da1714929beaf4bdec6958943a7d21d2da10ca00f3b11a9d000000010000021b


To submit a message, use {#kb assistant::Assist}(`assistant: assist`). Unlike normal threads, where pressing <kbd>enter</kbd> would submit the message, in text threads, our goal is to make it feel as close to a regular editor as possible. So, pressing {#kb editor::Newline} simply inserts a new line.

After submitting a message, the response will be streamed below, in an `Assistant` message block.


Title: Submitting Messages and Receiving Responses in Text Threads
Summary
In text threads, messages are submitted using the 'assistant: assist' command, not by pressing Enter. Pressing Enter inserts a new line. After submission, the assistant's response streams below in an 'Assistant' message block.