Open History to see the last commit
1# Messages and context
2
3Give the agent a task in the composer. Add files, quote a previous response, or
4include a skill when the task needs more context.
5
6Messages can contain up to 120,000 characters. Longer drafts stay in the composer
7so you can shorten them or split them into several messages.
8
9Pasting 32 KiB or more of text adds that fragment as a text-file attachment so
10the agent can inspect it without filling the model context. A smaller paste also
11becomes an attachment when inserting it would exceed the message limit. On a
12hardware keyboard, use `Cmd+Shift+V` on Apple devices or `Ctrl+Shift+V` elsewhere
13to keep a large paste editable in the composer instead.
14
15## Attach files
16
17Attach up to eight files per message. Images can be up to 10 MB; other files can
18be up to 50 MB, subject to the environment's upload support and limit. The agent
19receives them on the environment's machine.
20
21Uploads begin when you add an attachment. All uploads must finish before the
22message can send. Retry or remove a failed upload. On web and desktop, reloading
23before an upload finishes requires you to attach that file again.
24
25You can drag or paste images into the web or desktop composer. HEIC and HEIF
26photos are converted to JPEG there and when selected from the mobile photo
27library; photos over the image limit are also resized to fit. On mobile, you can
28also send files to T3 Code through another app's system share sheet.
29
30See [images and videos](#images-and-videos-in-messages) for previewing and saving media.
31
32## Queue messages offline on mobile
33
34Mobile keeps local copies of draft attachments, so you can preview them and queue
35messages while disconnected. Uploads resume when you reconnect. Drafts and queued
36messages survive app restarts. Signing out of T3 Connect keeps that work on your
37device until you sign back into the same account.
38
39## Custom models
40
41On web and desktop, use Settings → Providers → **Models** to add an unlisted model with a custom
42name and options. Only options supported by the provider integration affect turns. Antigravity
43uses its account catalog and does not support custom models.
44
45## Model defaults
46
47T3 Code remembers your provider, model, and model options for new threads. A
48project's configured model takes precedence; resetting that project setting
49returns to the remembered selection.
50
51Leaving reasoning level or service tier unset uses the provider's own configuration.
52
53## Quote an assistant response
54
55On web and desktop, select text within one assistant response and choose
56**Cite in composer**. You can add a comment about the quote and write instructions
57around it.
58
59Select the quote in a draft or sent message to return to its source. If the source
60is unavailable or has changed, the saved quote remains readable.
61
62The chip shows your comment when it has one, or a short quote preview otherwise. Use the pencil
63button to add or change the comment. To remove the citation, place the caret beside its chip and
64delete it like other inline context. Copying, reloading, and restoring a
65[stashed prompt](#prompt-stash) keep each comment
66with its quote, and sending tells the agent which words were quoted and which comment you wrote.
67The quoted text and comment count toward the message limit.
68
69Mobile displays saved quotes and comments, but does not create citations or
70navigate to their sources.
71
72## Recall a sent prompt
73
74Press `ArrowUp` in an empty composer to bring back the last prompt you sent in this thread. Press
75`ArrowUp` again to go further back, and `ArrowDown` to come forward. Moving forward past the newest
76prompt clears the composer. Recall walks the prompts loaded in the thread. Attachments, terminal
77context, and other extras from the original message are not restored, only the text you typed. A
78composer that holds an attachment or a picked element does not count as empty.
79
80When the composer has text, the arrow keys move the caret as usual. Recall takes over only while
81the text is an unedited recalled prompt, with the caret on the first visual line for `ArrowUp` or
82the last visual line for `ArrowDown`, counting wrapped lines. Editing a recalled prompt turns it
83into a normal draft.
84
85## Edit an earlier prompt
86
87On web and desktop, choose **Edit from here** beneath a sent message to rewind
88the conversation to before that message. Choose **Revert and keep changes** to
89leave workspace files as they are, or **Revert files too** to restore them as well.
90The selected prompt and its attachments return to the composer for editing and
91resending. Any unsent draft stays above the restored prompt.
92
93This removes the selected message and later conversation from the active thread
94and provider history. It does not undo external actions or separate provider
95memory. The action is available only when the provider supports rewind.
96
97## Prompt stash
98
99On web and desktop, press `Cmd+S` on macOS or `Ctrl+S` on Windows and Linux to save
100the current prompt and its attachments for later. Wait for uploads to finish first.
101With an empty composer, the same shortcut restores a single stash or opens the
102stash menu when there are several.
103
104Stashes containing uploaded files must be restored in their original environment.
105Those files are retained for 24 hours. After an upload expires, restore the prompt
106and use **Attach again** or remove the missing file before sending.
107
108## Voice input on iPhone
109
110On supported iPhones with iOS 26 or later, use the composer's microphone to record,
111then confirm to transcribe. Text is inserted where your selection was when
112recording started, ready for you to review and edit before sending.
113
114The first use may download Apple's speech model and needs a network connection.
115Later transcription works offline for that language. Recordings can be up to five
116minutes long. Canceling, leaving the screen, or an audio interruption discards the
117recording and preserves your existing draft.
118
119Transcription runs on your device. T3 Code deletes the temporary audio after
120transcription or cancellation; only the message text is sent when you submit.
121
122## Commands and skills
123
124Type `/` for commands or `$` to add a skill from the selected environment and
125provider. On mobile, both are also available before starting a thread on
126**New task**.
127
128The slash menu also includes skills unless you turn off **Settings → General →
129Show skills in slash menu**. Only skills enabled for the provider are listed.
130
131Provider commands must start the message to run. T3 Code commands such as
132`/model` and `/plan`, and skill mentions, work on any line.
133
134Send `/compact` in an existing conversation to reduce context usage when the
135provider supports it. Web and desktop also offer compaction from the context meter.
136
137## Context in your message
138
139Context you attach lands where your cursor is, as a chip inside your text: a terminal excerpt,
140a review comment from a diff or file, a preview annotation, or a file. You can type before and
141after a chip, move it by cutting and pasting, and delete it like a character. Hover a chip for
142its brief details. Select a terminal excerpt to open its captured output, or select a review
143comment, picked element, or preview annotation to open its full details. Chips read as "Terminal
144excerpt, Terminal 1 lines 3-4" and similar to screen readers.
145
146A pull request appears as its icon and number. Its color reflects whether it was open, draft,
147merged, or closed when it was attached. Select it to inspect the captured title and branches,
148then choose **Open pull request** to visit the pull request. On web and desktop, type `#` to browse the newest
149pull requests in the current project's repository. Continue typing digits to filter the recent list
150by any part of its pull request numbers. A complete number is also resolved directly, even when that
151pull request is older than the recent list. Type a single word after `#` to search pull requests in
152the repository by text. Choose a result to insert it as a chip.
153
154Images keep their thumbnail shelf above the text and also get a chip at your cursor, so you can
155say exactly which image you mean. Deleting an image chip leaves the image on the shelf; removing
156the thumbnail asks first when the image is still mentioned in your text, then removes both. Files
157exist only as chips: deleting a file's last chip removes the file from the message.
158
159Copy text that holds chips and paste it into another draft, in the same thread or another one,
160and the chips come along with what they point to. Images and files are fetched again from the
161environment they came from; while that happens the chip shows a dashed outline, and if it cannot
162complete T3 Code tells you and leaves the chip for you to remove or replace. A chip whose
163context is no longer available shows the same dashed outline; hover it for what to do.
164
165Copying a message with the copy button, or copying text out of it, gives other apps readable
166Markdown with a link in place of each chip. Older messages that were sent before chips still
167show their context. Stashing a prompt keeps its chips and what they point to; restoring brings
168them back.
169
170On mobile, tap a chip to inspect its content. File references open the current file; attached
171files show the copy that was attached to the message.
172
173## Attached files
174
175Select a file chip in your draft or a sent message to preview it. Code and JSON use syntax
176highlighting; Markdown, HTML, CSV, and TSV offer rendered and raw views. Audio files have
177playback controls. Large text files show a limited preview; save the file to read it in full.
178
179On web and desktop, files open beside the conversation with the same controls as a workspace
180file: a header row with the view toggle, **Copy contents** and **Save file**. On mobile, documents
181open in the same file screen as workspace files; its menu holds **Copy contents**, **Save or
182share** and **Open in file viewer**. Pictures, videos and PDFs keep their native viewers, and
183other document formats such as Word or Pages open in the device's own viewer when it has one.
184If nothing on the device can show a format, save or share it to open it elsewhere.
185
186## Images and videos in messages
187
188Select an image or video attachment or link to preview it. Playback support depends
189on your browser or device; save an unsupported video to open it in another app.
190
191On web and desktop, right-click media to save it or copy its path or URL. On mobile,
192touch and hold an image or video thumbnail and choose **Save or share**. On iOS,
193return to the thumbnail to open this menu after watching a full-screen video.
194
195File links refer to the environment's machine, including when you connect remotely.
196Previews use the original file, even outside the workspace. Moving or deleting it
197can break the preview, so save a copy if you need to keep it.
198
199## Files outside the workspace
200
201Follow an agent's file link to read a report or other file outside the workspace.
202These files open read-only. An HTML file outside the workspace cannot load scripts,
203styles, or images from neighboring files.
204
205## HTML and PDF files in the file viewer
206
207On web and desktop, HTML and PDF files open as rendered pages. Switch an HTML
208file to source view to read its markup; a link to a specific line opens source
209automatically. HTML previews cannot access your T3 Code session.
210
211On mobile, select a PDF attachment or link to open it. iOS uses the native viewer;
212Android opens a compatible installed file viewer.