> ## Documentation Index
> Fetch the complete documentation index at: https://docs.a0.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# New Chat

## What is a New Chat?

When you see "Chat history is too long", creating a new chat resets your conversation history while preserving your entire app. Your files, builds, and project settings remain unchanged.

## Why Do I Need a New Chat?

Chat histories can become very long over time. When they get too large, they can cause performance issues. Starting a new chat:

* **Fixes:** Chat loading and sending issues
* **Improves:** Response speed and reliability
* **Maintains:** Full access to your app and project

## How to Create a New Chat

For an Existing Project:

1. Navigate to your project
2. Click the **"New Chat"** button in the header

<img src="https://mintcdn.com/a0dev/fi5hkn0OoKy6qtRS/Image7-31-25at5.02PM2.jpg?fit=max&auto=format&n=fi5hkn0OoKy6qtRS&q=85&s=6573f3514fa31bdf7ba9f063276442cd" alt="Image7 31 25at5 02PM JPE" title="Image7 31 25at5 02PM JPE" style={{ width:"89%" }} width="797" height="119" data-path="Image7-31-25at5.02PM2.jpg" />

## What You Keep with a New Chat

When you create a new chat for an existing project, you keep **everything** important:

* **All your app files** (code, images, configuration)
* **Your app builds** and deployment history
* **Project settings** and integrations
* **App Store Connect** configurations
* **Supabase** database connections
* **All your published versions**

## Key Difference

<Card title="New Chat" icon="message" color="#blue">
  **Resets:** Only your conversation history with the AI\
  **Keeps:** Your entire app, files, builds, and project settings
</Card>

<Card title="New App" icon="rocket" color="#green">
  **Creates:** A completely new project from scratch\
  **Resets:** Everything. You start with a blank slate
</Card>

## Common Questions

<AccordionGroup>
  <Accordion title="Will I lose my progress?" icon="question">
    **No!** Your app, files, and all progress remain completely intact. Only the conversation history resets.
  </Accordion>

  <Accordion title="Can the AI still see my code?" icon="code">
    **Yes!** The AI can access all your current project files in the new chat, so it understands your app's current state.
  </Accordion>

  <Accordion title="What about my builds and deployments?" icon="rocket">
    **All preserved!** Your build history, deployed versions, and App Store submissions remain unchanged.
  </Accordion>

  <Accordion title="How often should I create new chats?" icon="clock">
    After about 15-20 messages (or 80,000 characters), or when the AI is making the same mistakes repeatedly, seems confused about your project structure, or you're switching to completely different features.
  </Accordion>
</AccordionGroup>

<Tip>
  The AI can see all your current files in the new chat, so you can immediately ask it to continue working on features or fix issues without any setup.
</Tip>
