Chat & context

Written By Stanislas

Last updated 7 days ago

Overview

Everything about talking to Swiftask Code: the panel, sessions, and the context you provide.

Prerequisites

  • Swiftask Code installed and signed in
  • A project folder open in VS Code (session history is tied to it)

Step-by-step guide

1. Open the chat panel

Open Swiftask β†’ Sessions from the activity bar.

ScreenWhen
Talk starterWelcome β€” tips and input area
Active chatOngoing conversation
HistoryPast chats β€” clock icon
Plans librarySaved plans β€” checklist icon
Chat panel layout

See it: Title bar icons β€” + (new chat), clock (history), checklist (plans), gear (settings).

2. Manage sessions

A session is one conversation. Swiftask Code saves your chats on your computer.

ActionHow
New chat+ in the title bar
HistoryClock β†’ pick a session
ResetDiscard icon
StopWhile Swiftask Code is working
ForkFrom a message β€” new chat from that point

History is tied to the project folder you have open in VS Code.

Session history

3. Pick a model and thinking level

Model β€” which AI powers this chat (limited to what your workspace allows).

Thinking level (low / medium / high) β€” higher levels reason more deeply (often slower, more usage).

Both are set in the chat input, per session. See Account & workspace for models and credits.

4. Add context with @-mentions

Type @ to point at something specific:

MentionWhen to use
FileFocus on one file
FolderLimit to part of the project
TerminalInclude command output
BranchDiscuss git / merge
URLOnline doc, ticket, or spec
@-mention picker

Examples:

  • @src/components/ β€” "How is this folder organized?"
  • @Terminal 1 β€” "Why did this command fail?"
  • @README.md β€” "Summarize setup steps"

5. Use Add to Chat and images

  • Editor β€” select text β†’ right-click β†’ Add to Chat
  • Terminal β€” select output β†’ Add to Chat
  • Images β€” attachment button in the input
Add to Chat from editor
Add to Chat from terminal

When to use: Stack traces, error logs, or UI screenshots β€” faster than retyping.

Practical use cases

Ask mode examples β€” use Ask when you want answers without file changes. Combine with @-mentions for best results.

GoalSample prompt
Explore a codebaseGive me an overview: main folders, how the app starts, and where the important logic lives.
Go deeperHow does [feature] work here? Walk me through the flow. β€” try @src/ or a specific file
Code reviewReview [file or selection] for bugs, edge cases, and style. Don't modify anything β€” explain what you'd improve. β€” use Add to Chat on a selection

Switch to Build when you're ready to implement. See Build, plan & review for Build and Plan prompts.

Multiple chatsYou can run up to five active Swiftask Code tasks at once. If you hit the limit, stop a chat in another session.

A banner appears if another session is waiting for your approval.

Multiple sessions and approval banner

Tips & best practices

Automatic context β€” every message already includes:

  • Your open file and any selection
  • A git summary (branch, changes)
  • Project rules β€” see Customize

You don't need to paste the active file path β€” Swiftask Code picks it up automatically.

Context indicator β€” the ring near the input shows how full the conversation's context window is.

  • Full β†’ older messages are summarized to free space
  • New topic β†’ start a new chat
  • Explore in Ask, implement in Build
Context indicator ring

Tip: Open the same root folder to see past chats for that project. Switching workspace in Swiftask doesn't delete local history.

Troubleshooting

Chat feels "forgetful" in long conversationsThis usually means older messages were summarized due to context limits. See Help & FAQ for more on long chats and context.

Additional resources