Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Image from 'next/image'
import { Callout } from 'nextra-theme-docs'

# Inference Providers

Expand Down Expand Up @@ -26,6 +27,26 @@ You can add a new provider by clicking the **New Config** button at the top of t

<Image src="/create-providers.png" width={700} height={700} />

To configure your provider:

1. In the top-right corner, use the toggle switch to select between "Standard" or "Custom" provider types.
2. Fill in the required provider details in the form:
- Provider: Enter a descriptive name for your provider
- Model: Specify a valid model name supported by your provider
- Plugin: Select the plugin that implements your custom provider's functionality
- Config: Set up your API credentials
3. Important: For the API key configuration:
- Add your API key to your `.env` file
- In the `api_key_env_var` field, reference the environment variable name you created
4. Click "Create" to add your provider. It will appear in your providers list marked as custom.

<Callout type="warning">
If you see a yellow warning triangle next to your provider, it indicates a configuration issue that needs your attention.
</Callout>
The example below shows a custom configuration for Comput3:

<Image src="/custom-provider-preset.png" width={400} height={400} alt="Example custom provider configuration for Comput3"/>

## Updating an Existing Provider

To modify your validator settings, click on any existing validator and modify the fields based on your needs.
Expand Down
Binary file added public/custom-provider-preset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.