Skip to content

Chat Interface

The main interface for interacting with AI models.

Message Area

The central area displays your conversation with the AI:

  • User messages: Your messages appear on the right
  • AI responses: AI responses appear on the left
  • System messages: Status updates and notifications

Message Features

Each message supports:

  • Markdown rendering (headers, lists, links)
  • Code syntax highlighting
  • LaTeX math equations
  • Copy to clipboard
  • Regenerate response

Input Area

Text Input

Type your message in the input field at the bottom. Press Enter to send or Shift+Enter for a new line.

Model Selection

Click the model dropdown to switch between models mid-conversation.

Tool Selection

Select which tools the AI can use:

  • Auto: AI decides which tools to use
  • Manual: You select specific tools
  • All: All tools enabled
  • None: No tools

Attachments

Click the attachment button or drag files to attach:

  • Images (PNG, JPG, GIF, WebP)
  • Documents (PDF, TXT)
  • Code files

Response Controls

While the AI is responding:

  • Stop: Cancel the current generation
  • Regenerate: Get a new response

After a response:

  • Copy: Copy the response text
  • Edit: Edit your message and regenerate
  • Delete: Remove a message

Code Blocks

Code blocks have special features:

  • Syntax highlighting for 100+ languages
  • Copy button
  • Line numbers (optional)
  • Word wrap (optional)

Running Code

Some code blocks can be executed directly:

  • JavaScript/TypeScript in sandbox
  • Shell commands (with permission)

Artifacts

When the AI creates artifacts (HTML, React, SVG):

  • Preview appears in a side panel
  • Click to expand full-screen
  • Download or copy the code

See Artifacts for details.

Streaming

Responses stream in real-time by default. You can disable streaming in Chat Settings to show complete responses.

Context Length

Each model has a context limit. The context indicator shows:

  • Current usage
  • Maximum context
  • Warning when approaching limit

When context is full, older messages may be summarized or truncated.

Message History

Scroll up to view previous messages. Messages are automatically saved to the thread.

Use Cmd/Ctrl+F to search within the current thread.

Tips

  1. Be specific: Clear questions get better answers
  2. Use context: Reference previous messages
  3. Try different models: Each model has strengths
  4. Use tools: Enable tools for complex tasks
  5. Iterate: Refine responses by asking follow-ups