Zed
Zed is a minimal code editor crafted for speed and collaboration with humans and AI. Official site: zed.dev
1.1 Usage
Agent Panel Settings (Recommended)
-
Open Zed and run
agent: open settings. -
Choose
OpenAI API Compatible. -
Paste your HPC-AI API key into the provider UI.
-
Zed stores API keys in your OS secure credential storage, not as plain text in
settings.json. -
Open the settings file directly with
zed: open settings fileif you want to define the provider metadata explicitly. -
The default user settings file is
~/.config/zed/settings.json. -
Add a provider entry under
language_models.openai_compatible. -
Set the custom endpoint to HPC-AI:
-
api_url:https://api.hpc-ai.com/inference/v1 -
available_models[0].name:minimax/minimax-m2.5
-
-
If you want a per-project override, use
.zed/settings.jsonin the project root.
Example Config
{
"language_models": {
"openai_compatible": {
"HPC_AI": {
"api_url": "https://api.hpc-ai.com/inference/v1",
"available_models": [
{
"name": "minimax/minimax-m2.5",
"display_name": "HPC-AI Minimax M2.5",
"max_tokens": 128000,
"capabilities": {
"tools": true,
"images": false,
"parallel_tool_calls": false,
"prompt_cache_key": false
}
}
]
}
}
}
}