Tech
[Wunder] Pi Coding Agent
Pi 是 Flask 作者 Mitsuhiko 参与的 Coding Agent 项目。
https://pi.dev/
安装:
curl -fsSL https://pi.dev/install.sh | sh
然后打开 ~/.pi/agent/models.json 放入以下内容:
{
"providers": {
"v2ex": {
"baseUrl": "https://edge.v2ex.com/chat/v1",
"api": "openai-completions",
"apiKey": "YOUR_V2EX_ACCESS_TOKEN",
"models": [
{ "id": "coder" },
{ "id": "coder-m3" },
{ "id": "coder-ds4" }
]
}
}
}
不过这样的话,会使用的是 Pi 的相当保守的默认值,如果要发挥这 3 个模型的全部能力,需要用这个...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX