EE 5

EE 5 — Files, sync and usage

This chapter covers getting files into and out of a cloud workspace, keeping a desktop folder in step with one, and keeping an eye on your usage allowance.

Upload files to a cloud workspace

  • In the chat: click the paperclip (Upload files), or drag files onto the chat, or paste them. Up to 5 files at a time, 25 MB each. They are saved in the _uploads/ folder, and the path is added to your message so the agent can find them.
  • In the Files tab: drag files onto a folder in the tree. The tree shows “Drop to upload to …”. Each file is limited to 25 MB.

Files cannot be uploaded into .thclaws/. That folder holds the agent’s own settings.

Download files from a cloud workspace

In the Files tab, right-click a file and choose Download.

Folders cannot be downloaded in one go. To take a whole folder, ask the agent to zip it (for example “zip the reports folder into reports.zip”), then download the zip. You can also sync it to the desktop app, as below.

Sync a desktop folder with a cloud workspace

The desktop app can copy a folder to a cloud workspace and back. This is useful for starting on your laptop and continuing in the browser, or the reverse. The app must be signed in.

Command What it does
/cloud push Copies this folder to the workspace
/cloud pull Copies the workspace into this folder
/cloud revision Shows whether the two sides agree. Read-only; it never wakes a sleeping workspace

The buttons ⬆ Push to cloud and ⬇ Pull from cloud under Settings → Workspace sync do the same.

The first push pairs the folder with a workspace, and later commands reuse that pairing. If you have more than one workspace, name it the first time: /cloud push --workspace <slug>. A sleeping workspace is woken automatically. This takes a few seconds.

Useful options:

Option Effect
--dry-run List what would change; change nothing
--delete Also delete files on the other side that you deleted here
--force Overwrite even though the other side changed since you last synced

Start with --dry-run. Use --force only when you are sure the other side’s changes can be thrown away.

Your usage allowance

Every model call uses part of your allowance. The allowance is counted in credits and has two limits:

  • a monthly limit, which resets on the 1st;
  • a daily limit, which resets at midnight.

Both follow Bangkok time. Your organisation decides the amounts.

Where to see it

  • At the top right of this site and at the bottom of the menu, for example Credits: 120 / 2,000 this month · 15 / 500 today.
  • In the desktop app’s sidebar, once signed in.
  • Usage in the menu lists your calls over the last 30 days: number of calls, tokens per day, a breakdown by workspace (desktop calls appear as Desktop), and the most recent calls.

When you reach a limit

New requests are refused until the limit resets. A request that is already running may finish. You see a message such as:

You’ve used this month’s … credits (2,000/2,000). They reset on 1 Nov. Ask your administrator for more.

On the website, the credits indicator shows “Limit reached — new requests resume …”.

Your work is not lost. Workspaces, files and chats stay as they are. You can continue when the limit resets, or ask your administrator for a higher limit.

Using less

  • Long tasks on large files use the most. Give the agent the specific file or section it needs.
  • A faster, smaller model, if your organisation offers one, costs fewer credits for routine work.
  • Start a new session when you switch topic, so old context isn’t re-sent (Chapter 7).