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

# anaconda ai config

export const GCell = ({children, className}) => <div className={`grid-table-cell ${className || ""}`} role="cell">
    {children}
  </div>;

export const GTH = ({children, className}) => <div className={`grid-table-th ${className || ""}`} role="columnheader">
    {children}
  </div>;

export const GRow = ({children}) => <div className="grid-table-row" role="row">{children}</div>;

export const GBody = ({children}) => <div className="grid-table-body" role="rowgroup">{children}</div>;

export const GHead = ({children}) => <div className="grid-table-head" role="rowgroup">{children}</div>;

export const GTable = ({children, className, cols}) => <div className={`grid-table not-prose overflow-hidden rounded-2xl ${className || ""}`} style={{
  "--grid-table-cols": cols
}} role="table">
    {children}
  </div>;

## Usage

```bash theme={null}
anaconda ai config [OPTIONS]
```

## Description

Views or updates `anaconda-ai` configuration settings in `~/.anaconda/config.toml` under `[plugin.ai]`. Without `--yes` or `--dry-run`, the command prompts for confirmation before writing changes.

## Options

<GTable cols="25% 25% 50%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Default</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`--backend <BACKEND>`</GCell>
      <GCell>`ai-navigator`</GCell>
      <GCell>Set the default backend (`ai-navigator`, `ai-catalyst`, `anaconda-desktop`)</GCell>
    </GRow>

    <GRow>
      <GCell>`--stop-server-on-exit <BOOL>`</GCell>
      <GCell>`true`</GCell>
      <GCell>Stop servers when the Python interpreter exits</GCell>
    </GRow>

    <GRow>
      <GCell>`--server-operations-timeout <SECONDS>`</GCell>
      <GCell>`60`</GCell>
      <GCell>Timeout in seconds for server start and stop operations</GCell>
    </GRow>

    <GRow>
      <GCell>`--show-blocked-models <BOOL>`</GCell>
      <GCell>`false`</GCell>
      <GCell>Show blocked models in CLI output</GCell>
    </GRow>

    <GRow>
      <GCell>`--yes, -y`</GCell>

      <GCell />

      <GCell>Apply changes and write to the config file without prompting</GCell>
    </GRow>

    <GRow>
      <GCell>`--dry-run`</GCell>

      <GCell />

      <GCell>Show the configuration diff without writing changes</GCell>
    </GRow>

    <GRow>
      <GCell>`-h, --help`</GCell>

      <GCell />

      <GCell>Show help for this command</GCell>
    </GRow>
  </GBody>
</GTable>

## Examples

**Set the default backend to AI Catalyst**

```bash theme={null}
anaconda ai config --backend ai-catalyst --yes
```

**Preview configuration changes without applying them**

```bash theme={null}
anaconda ai config --backend ai-catalyst --server-operations-timeout 120 --dry-run
```

**Disable automatic server shutdown on exit**

```bash theme={null}
anaconda ai config --stop-server-on-exit false --yes
```
