内容纲要
claude code
打开vscode或者其他编译器,打开extensions,插件市场,安装Claude Code for VS Code
修改C盘-用户-.claude-settings.json
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"permissions": {
"allow": [
"Bash(npm run lint)",
"Bash(npm run test *)",
"Read(~/.zshrc)",
"Read(~/.bashrc)",
"Read(./**/*)",
"Write(./**/*)"
],
"deny": [
"Bash(curl *)",
"Bash(wget *)",
"Read(./.env)",
"Read(./.env.*)",
"Read(./secrets/**)"
]
},
"env": {
"ANTHROPIC_AUTH_TOKEN": "secret-key",
"ANTHROPIC_BASE_URL": "http://ai-network-qwen.top/anthropic",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "MiniMax-M2.5",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "MiniMax-M2.5",
"ANTHROPIC_SMALL_FAST_MODEL": "MiniMax-M2.5"
},
"language": "zh-CN",
"terminalExperience": "ui",
"theme": "dark",
"maxTokens": 8192,
"temperature": 0.1,
"model": "opus"
}
Continue
打开vscode或者其他编译器,打开extensions,插件市场,安装Continue。
修改C盘-用户-.continue-config.yaml
name: Local Config
version: 1.0.0
schema: v1
models:
- name: MiniMax-M2.5
provider: openai
model: MiniMax-M2.5
apiBase: http://ai-network-qwen.top/minimax/v1
apiKey: secret-key
roles:
- chat
- edit
- apply
capabilities:
- image_input
contextLength: 128000
completionOptions:
temperature: 0.1
stream: true
- name: MiniMax-M2.5 Autocomplete
provider: openai
model: MiniMax-M2.5
apiBase: http://ai-network-qwen.top/minimax/v1
apiKey: secret-key
roles:
- autocomplete
embeddingsProvider:
provider: transformers