AI Configuration
About 394 wordsAbout 1 min
Quick Signup
- SiliconFlow: One-click Signup
Purpose
Configure the AI service, API type, model parameters, and the active configuration.
Steps
- Open the settings page.
- Enter
AI Configuration. - Create a new configuration or edit an existing one.
- Choose the
API type. - Fill
Base URL,API key, andModel name. - Adjust
Max tokens,Temperature, andMemory roundsif needed. - Tap
Test Connection. - Set the working configuration as active.
Field Guide
| Field | Description |
|---|---|
| config name | configuration name used to distinguish providers or models |
Base URL | API base endpoint |
API type | request protocol type |
API key | access credential |
Model name | model ID |
Max tokens | single-response limit |
Temperature | output randomness |
Memory rounds | context window rounds |
How To Fill The URL
Base URL should be the API base endpoint. Do not use the provider home page or a documentation page.
OpenAI-Compatible API
Use the OpenAI-compatible base endpoint provided by the service. This is usually a base path or a compatibility endpoint ending with /v1.
Reference examples:
https://api.openai.com/v1https://api.deepseek.com/v1https://dashscope.aliyuncs.com/compatible-mode/v1
Do not paste full request paths such as these unless the provider explicitly requires them:
/chat/completions/responses
Anthropic API
Use the Anthropic base endpoint or the Anthropic-compatible endpoint provided by the service.
Reference examples:
https://api.anthropic.com- the Anthropic-compatible endpoint from your provider
Do not paste a documentation URL, console URL, or a full business request path into Base URL.
Example Values
| API type | Base URL example | Model name example |
|---|---|---|
| OpenAI-compatible | https://api.openai.com/v1 | gpt-4.1-mini |
| OpenAI-compatible | https://api.deepseek.com/v1 | deepseek-chat |
| OpenAI-compatible | https://dashscope.aliyuncs.com/compatible-mode/v1 | qwen-plus |
| Anthropic | https://api.anthropic.com | claude-3-5-sonnet-latest |
Check These First When Connection Fails
- whether the
API typematches the service - whether
Base URLis a real API endpoint instead of a website URL - whether
Base URLincorrectly includes/chat/completions,/messages, or another full request path - whether
Model namematches a model ID actually supported by the service - whether
API keycontains spaces, line breaks, or a wrong prefix
Parameter Notes
- use a lower
Temperaturefor reverse engineering and code generation - increase
Max tokenswhen output length is insufficient - increase
Memory roundswhen context is too short