# API Settings

OMate supports connecting to AI service providers. By configuring API settings, you can use your own API key to access these services.

# API Configuration List

The API configuration list page displays all the API connections you have configured. Each API configuration card contains the following information:

  • API name
  • API specification (currently fixed as OpenAI specification)
  • API key (partially hidden)

# Adding a New API Configuration

To add a new API configuration:

  1. Navigate to the "Settings" page
  2. In the "API Settings" section, click the "+" button
  3. Fill out the following information in the popup dialog:

# Required Information

  • Name: Name this API configuration
  • API Specification: Currently only supports OpenAI interface specification
  • API Key: Enter your API key

# Editing API Configuration

You can edit any API configuration you've created at any time:

  1. In the API configuration list, swipe left on the API card
  2. The system will automatically enter edit mode
  3. Modify the information that needs to be updated
  4. Click the "Save" button to apply the changes

# Deleting API Configuration

If you no longer need an API configuration, you can delete it:

  1. In the API configuration list, swipe right on the API card
  2. The system will prompt for confirmation of deletion
  3. Enter as prompted and click the confirm button to complete the deletion

# Active API Configuration

The system will automatically set newly added API configurations as active:

  • When you add a new API configuration, the system will set it as active
  • The active API configuration will be used for all functions that require an API
  • In chat settings, you can select different API configurations for specific conversations

# Discovery Page API Settings

In addition to the main API settings, OMate also provides discovery page API settings:

  1. Navigate to the "Settings" page
  2. Click "Discovery Page Settings"
  3. In the API address settings, you can:
    • Add new API addresses
    • Edit existing API addresses
    • Adjust the priority order of API addresses