feat: simplify Claude provider configuration form

- Add optional model input fields (ANTHROPIC_MODEL, ANTHROPIC_SMALL_FAST_MODEL)
- Place model inputs in a single row for better space utilization
- Move website URL field above API configuration section
- Add JSON template for custom mode to guide users
- Simplify field labels and remove redundant descriptions
- Keep JSON editor for advanced configuration flexibility
This commit is contained in:
Jason
2025-09-12 12:04:19 +08:00
parent eca9c02147
commit 442b05507c
3 changed files with 145 additions and 49 deletions

View File

@@ -38,8 +38,8 @@ const ClaudeConfigEditor: React.FC<ClaudeConfigEditorProps> = ({
onChange={onChange}
placeholder={`{
"env": {
"ANTHROPIC_BASE_URL": "https://api.anthropic.com",
"ANTHROPIC_AUTH_TOKEN": "sk-your-api-key-here"
"ANTHROPIC_BASE_URL": "https://your-api-endpoint.com",
"ANTHROPIC_AUTH_TOKEN": "your-api-key-here"
}
}`}
rows={12}