Message queue
Line up your next requests while Modulify is still working on the last one.
On this page
You do not have to wait for a build to finish before typing the next thing. Send a message while a run is in progress and it joins a queue, which drains in order as soon as the current run ends.
The queue is shared with everyone in the project, so you can see what a teammate lined up and they can see yours.
Every chat has a queue of its own. On a site with several chats, a message waits only behind the run and the queue of its own chat, and the panel shows the queue of the chat you have open. Move to chat sends a queued message to the queue of another chat.
Queue a message
Write and send exactly as normal. When a run is active in the chat, or its queue already has something in it, the message goes to the queue instead of starting a run.
The one exception is a plan waiting for your approval. Because answering a plan means typing again, a message sent while the approval card is up always runs straight away, even with messages already queued behind it.
A panel appears above the chat box headed Queued with a count badge. Click the header to collapse and expand it. Past a few messages the list stops growing and scrolls instead, so the chat box stays in view however many messages wait, in the editor and in the mobile app.
You cannot queue a message whose attachments are still uploading. The send button stays disabled until they finish, and a file that is still not uploaded when the message is queued raises Attachment still uploading, asking you to wait for the upload to finish.
Read the queue
Each row shows the author's avatar and the first 140 characters of the message, with attachment and element chips rendered inline exactly as you wrote them.
Extras appear on the right of a row:
- A red
Runtime error,Build errororLogbadge for each error chip the message carries. - The mode name, if it was queued in a different mode.
A message with no text but with files reads Attached files.
Reorder
Drag the handle on the left of a row to move it. The handle only becomes active when there is more than one message in the queue. In the Modulify app, tap a queued message and use Move up or Move down instead. Reordering applies for everyone.
The row menu
Hover a row and a three dots menu appears with four entries.
- Edit loads the message back into the chat box, chips and all, and switches the mode picker to whatever it was queued with. Only the author can edit their own message, so the entry is disabled on a teammate's.
- Copy copies the message the way Copy message does in the transcript, with its chips and files, so it pastes back into a Modulify chat box as it was queued. See What Copy message copies.
- Move to chat lists the site's other open chats by title and moves the message to the one you pick.
- Remove deletes it before it runs.
Remove asks first with Remove this queued message?, and the confirmation names whose message it is. Anyone in the workspace can remove any queued message, not only their own. Removing applies for everyone, and it cannot be undone.
Move to chat
The message joins the end of the queue of the chat you pick, for everyone, and keeps its text, mode, attachments and chips. When that chat is idle and its queue is not paused, it starts there right away, just as a new message would. Otherwise it waits in that chat's queue. Anyone in the workspace can move any queued message, not only their own, and moving never changes the limits, which count every chat of the site.
The chat the message waits in is left out of the list. When no other chat is open, Move to chat itself is disabled with There is no other open chat. When a message cannot be moved, for example because it started running or the chat you picked was closed in the meantime, a Message not moved notice gives the reason, and a message that is still queued stays where it was. Moving a message you are editing cancels the edit. When someone else moves it while you are editing it, you get That queued message is gone, and your text stays in the chat box as a new message.
While editing
An Editing pill appears on the row being edited, and a Cancel edit button appears in the panel header. The send button turns into a checkmark with the tooltip Save queued message, because pressing it commits the edit rather than sending a new message.
Cancel edit restores whatever was in your chat box before you started.
When the message starts running, is removed or is moved to another chat while you are editing it, or just as you save your edit, you get That queued message is gone, and your text stays in the chat box as a new message.
The limits
A site holds 20 queued messages in total and 8 from any one person, counted across all of its chats. Hitting either raises a toast, Queue is full or You have queued enough, and asks you to remove one before adding another. The text of the message stays in the chat box, or goes back into its chat's box when that box is empty. The count badge shows the messages queued in the chat you have open, and turns red once the site holds as many queued messages as it allows, counting every chat.
When the queue pauses
The queue drains on its own in most cases. It stops and waits in four that need you, and the panel shows a line explaining which.
| The panel says | What to do |
|---|---|
Paused because the last run was stopped. |
Click Run queue |
Paused because the last run failed. |
Fix or acknowledge the problem, then click Run queue |
Paused because the last run stopped before it finished. |
Click Continue on the amber notice, or Run queue to move on |
Paused because the workspace is out of credits. |
Pick a plan or add credits, then the queue resumes |
The Run queue button appears next to the message for the first three, and runs the queue of the chat you have open. This is deliberate: after a stop, a failure or a run that ended part way through, running the rest of the line blindly is usually the wrong thing, so somebody has to say go.
Clearing the chat ends the first three pauses, because the run they wait on goes with the conversation, and so does closing the chat the site came with before it is opened again. While the workspace is out of credits, the panel shows the credits line even when the last run was the one the empty balance stopped. Once credits are added, that run still pauses the queue with Paused because the last run failed. until you click Run queue.
A run that ends part way through leaves an amber Generation stopped early notice on the turn, with a Continue button that picks the work up where it stopped. Continuing counts as a new run, so the queue waits for it to finish and then carries on by itself. Click Run queue instead to abandon the unfinished work and go straight to the next queued message.
The queue also holds quietly while a run is in flight, while a question is waiting for your answer, and while a plan is waiting for approval. The last two read Paused until you answer the question above. and Paused until you approve the plan above. Those clear themselves as soon as you answer, so no button appears.
It holds the same way while a site cannot be edited, because it is locked for going over the plan's site limit or because of the GitHub repository behind it, for example while its code is being copied into your GitHub or after Modulify lost access to the repository. The panel then reads Paused because this site is unavailable right now., and the queue carries on by itself once the site can be edited again. See Move your code to GitHub.
On a site with several chats
A chat can also wait for room on the site, with one of these lines. They all clear by themselves, so no button appears.
| The panel says | Why it waits |
|---|---|
Waiting because the most chats your plan allows are already running. |
The site already runs 4 chats at once, the most it can. The queue carries on when one finishes |
Waiting a moment while another chat starts. |
Other chats in the workspace are starting at the same moment. The queue tries again by itself a few seconds later |
Waiting because the remaining credits are reserved by running chats. |
The credits left over after what the running chats set aside are too few to start another. The queue carries on as they finish |
Waiting while this site gets ready to run several chats. |
The site is switching to working in a copy per chat, which happens once nothing else runs on it, or multiple chats are still being switched on, for example straight after an update. The queue carries on by itself once the site is ready |
Waiting while the site finishes a restore or move. |
A code restore, a backup restore, a move to another workspace or a transfer is stopping the chats, or the preview is moving to a new environment or a bigger machine. The queue carries on once it is done |
Under some of these lines the panel adds the numbers behind them: how many chats run on the site against how many it can run at once, or how many credits the running chats hold, such as 8 credits set aside by 2 running chats.
A chat stopped because the credits left were set aside for the other running chats does not pause its queue. Its next message starts when there is room, and waits with Waiting because the remaining credits are reserved by running chats. while there is still too little free. See Multiple chats.
What each message keeps
A queued message carries its own mode, attachments, skills and connectors, frozen at the moment you queued it. Changing the mode afterwards does not change anything already in the queue, which is why the row shows a badge when they differ.
Each message also runs as its author. If the author has left the workspace, their account is banned or their role on the site is no longer Editor by the time their message reaches the front, it is dropped rather than run.
Sending with no credits
Running out of credits does not queue new messages. Pressing send opens the plan and credits window instead. Only messages already in the queue when the balance hit zero are held.
From an AI client over MCP
An AI client works with the same queues, in the chat the site came with unless it names another with chatId. send_message queues its message when that chat is running, when its queue is paused after a stopped or failed run, or when the site cannot start another chat yet, and list_queued_messages reads a chat's queue. edit_queued_message rewrites a message you queued yourself, reorder_queued_message moves one earlier or later, move_queued_message moves one to another chat and remove_queued_message takes one out, each in the chat whose queue holds it. resume_queue does what Run queue does. remove_queued_message needs the sites:delete scope, which is not ticked when you create a token. Every one of these tools is also an endpoint of the public API, under the same name. See MCP tools.
Next
- Plan and Build modes covers the approval step that holds a queue.
- How work is sized explains how each queued message is sized when it runs.
- Site chat covers the conversation itself.
- Multiple chats covers the queues of a site with several chats.