> Updated for version 6.0.30

In the **Text** tab of the **AI Generation** window, the chat is now set with a single button, **Mode**, to the right of the model picker. It gathers the reasoning level, what the assistant is allowed to do (**Discussion**, **Graph**) and the tools it may use (web search, connectors). This article also explains how to attach an image or a document to a message, and the "The assistant needs your approval" panel that shows up before any sensitive action on your project.

![The Mode menu open: reasoning level, Discussion and Graph options, then the Tools section](https://chatwoot.fr.nocodespacelab.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBaWNLIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--955109cd3c0e0dd946175cce3328f5d8d6779919/aigeneration--chat-menu-mode.en.png)
*The Mode menu open: the reasoning level at the top, the Discussion and Graph options in the middle, the Tools section at the bottom.*

## Opening the Mode menu

1. Open **AI Generation**, then the **Text** tab.
2. Pick a model in the list at the top of the chat.
3. Click **Mode**, right next to the model. The menu opens in three parts, split by a line.

Your choices apply to the next message. While an answer is being written, the menu shows "An answer is being written: the options are locked until it is done.": wait for the answer to finish before changing them.

## The reasoning level

The first part works like a radio button: one level at a time.

| Level | What the menu says | Cost |
|---|---|---|
| **Fast** | Direct answers, little reasoning. | The model's credits |
| **Normal** | A good balance between speed and care. | Credits ×1.5 |
| **Deep** | The model reasons at length for a more careful answer. Slower. | Credits ×3 |

Some models have no reasoning level. The menu then says: "This model does not offer reasoning levels: it always answers the same way."

> 💡 **Tip:** keep **Fast** for small requests (a line of dialogue, a name, a rewording) and save **Deep** for what needs reasoning, such as reorganising a whole branch of your graph.

## The Discussion and Graph options

The second part works like checkboxes: you can tick one, the other, or both.

| Option | What the menu says |
|---|---|
| **Discussion** | Answers in text, no graph tool. Reads the files you attach and searches the web when asked. |
| **Graph** | Can change the project and use your connectors. Asks for your approval before it deletes or saves. |

When no option and no tool is ticked, the menu reminds you: "No option ticked: the assistant answers in text and leaves the project alone."

When the chosen model does not support tools, both options are greyed out: **Discussion** stays ticked, and **Graph** says "Unavailable with this model, which does not support tools. Pick another one to change the project." A banner also shows above the chat. Pick another model so that the assistant can build your story.

## Tools: web search and connectors

The third part, **Tools**, lists what the next message may also use. Each tool is ticked on its own.

- **Web search**: "Searches the web before answering", with its surcharge shown in the menu (for example **+2.5 ©** per message). The first time you tick it in a conversation, a panel explains that web search goes through Exa, a third-party search engine OpenRouter calls, and that your question is sent to it. Click **Turn search on** to accept, or **Cancel**. The pages an answer cites then show under it, after **Sources:**. If the model does not offer web search, the tool is greyed out.
- **Your connectors**: each MCP connector of the project shows with its number of tools (without **Graph**, its number of read-only tools). A connector that is turned off, not connected or in error is greyed out, with the reason (for example "Could not connect. See the Tools tab.").
- **Manage connectors**: this link, at the bottom of the menu, opens the **Tools** tab of the window.

> 🔺 **Good to know:** in **Discussion**, only the read-only tools of the connectors are used. For a connector to write something, tick **Graph**.

## Attaching an image or a document

1. Click the **+** to the left of the "Type a message…" field.
2. Choose **Attach an image or a document**, then the file.
3. The file shows above the field, with its name and what it will cost or how it will be read. The cross ("Remove the file") takes it back.
4. Type your request and send.

*At the top, an image sent with the "read by…" note; in the middle, an answer and its sources; at the bottom, a pending PDF "read locally · 12 pages".*

### Accepted files

| Type | Formats | Maximum size |
|---|---|---|
| Image | PNG, JPEG, WebP, GIF | 5 MB |
| PDF | PDF with text | 10 MB |
| Document | Word .docx, Excel .xlsx, PowerPoint .pptx, OpenDocument .odt, .ods, .odp, text .txt, .md, .csv, .json, .html | 10 MB |

Old Office formats (.doc, .xls, .ppt) cannot be read: save them as .docx, .xlsx or .pptx. Files with macros (.docm, .xlsm, .pptm) are refused for safety: save a copy without macros. A scanned PDF (an image, with no text) is refused too: attach it as an image instead, a screenshot of each page, or export it again as a PDF with text. Password-protected files and PDFs of more than 50 pages are refused as well.

### Images

An image costs a small surcharge, shown next to the pending thumbnail (for example "+0.5 © for the image").

If the chosen model cannot read images, a panel asks which model will read it instead: first those of the same host, then, under "At a host other than…", the others, each with its cost. This choice holds for the whole conversation, as long as you keep the same model: if you switch, the panel asks again. Once the message is sent, the thumbnail carries the note "read by" followed by the model you picked.

![The choice panel when the model does not read images](https://chatwoot.fr.nocodespacelab.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBaWtLIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--31750adb4e3c327f3b7d4b79ef4df951d0d483ce/aigeneration--chat-choix-lecture-fichier.en.png)
*The chosen model does not read images: you pick which model reads it, or you remove the file.*

### PDFs and documents

A PDF or a document is read as soon as you pick it ("Reading the document…"), then its chip says **read locally** and its number of pages (or slides for a presentation). Read locally means that Celestory extracts the text itself, without handing the file to an outside service: only that text is sent to the model with your message.

The text of a document costs according to its length: beyond the first 2,000 tokens, it counts 0.5 © per 1,000 tokens (default rate), **on every message that sends it**. The surcharge shows on the chip ("+… © for the document length").

If the document is too long for the model, a panel offers to **send an excerpt** (the first characters), to switch to a model with a larger context, or to remove it. Tip: split the document into several files, and send them one at a time.

> 🔺 **Good to know:** the estimated cost of the next message (model, reasoning level, web search, attachments) shows at the top of the chat, next to the token counter. Credits come out of your monthly allowance, shown at the top of the window (**Monthly usage**).

## The assistant needs your approval

With the **Graph** option, the assistant acts in your project itself. For sensitive actions, it stops and shows, above the message field, the **The assistant needs your approval** panel, with the list of what it wants to do.

![The "The assistant needs your approval" panel with two pending actions and the Allow and Decline buttons](https://chatwoot.fr.nocodespacelab.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBaW9LIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e77ad766f111a5a242cce599875850a219f3d613/aigeneration--agent-confirmation-outil.en.png)
*The assistant wants to delete the "Draft" block and then save the project: nothing happens before you answer.*

It asks for your approval before it:

| Action | What you read in the panel |
|---|---|
| Deletes a block, a variable or a character | Delete the block "…" (or the variable, the character) |
| Deletes a group or an annotation | Delete the group "…" (its blocks stay), or Delete the annotation "…" (the blocks stay) |
| Saves the project | Save the project |
| Cuts a link | Cut the link between "…" and "…" |
| Replaces the content of an existing block | Replace what the block "…" holds |
| Uses a connector tool that requires approval | Use the tool "…" of the connector "…" |

Replacing content and cutting a link are only asked about for blocks the assistant did not create itself in the same answer.

1. Read the list: each line names the item concerned (block, variable, character, group, annotation or connector tool).
2. Click **Allow** to let **every** action of the list through, or **Decline** to let **none** of them through.
3. In the chat thread, a declined action is followed by "- declined": it was not carried out.

The panel stays until you answer: as it reminds you, "Nothing is deleted or saved without your approval." If you start a new chat or move to another conversation before answering, the pending actions are declined.

> 💡 **Tip:** if you only want to keep some of the actions, click **Decline**, then ask the assistant again for just what you want to keep.

## Example: describing a room from a map

1. Pick a model that reads images, then in **Mode**: **Normal**, **Discussion** ticked.
2. With the **+**, attach the image of your dungeon map.
3. Type: "Here is the dungeon map: describe the throne room for the player."
4. When the description suits you, tick **Graph** in **Mode** and ask: "Put this description in a new Narrator block after the dungeon entrance, then save."
5. The approval panel shows for the save (and for cutting an existing link, if the assistant needs to cut one): read the list, then click **Allow**.

## See also

- [The AI Assistant That Builds Your Graph](https://documentation.celestory.io/hc/celestorydoc/articles/en-ai-generation-the-ai-assistant-that-builds-your-graph-dddd00)
- [📝 Text Tab](https://documentation.celestory.io/hc/celestorydoc/articles/en-ai-generation-text-tab-62014d)
- [Plugging an MCP Server into the AI Assistant](https://documentation.celestory.io/hc/celestorydoc/articles/en-ai-generation-plugging-an-mcp-server-into-the-ai-assistant-a0b0fc)
- [AI Credits and Subscription](https://documentation.celestory.io/hc/celestorydoc/articles/en-discover-celestory-ai-credits-and-subscription-e390d2)
