nicepkg / aide

Conquer Any Code in VSCode: One-Click Comments, Conversions, UI-to-Code, and AI Batch Processing of Files! 在 VSCode 中征服任何代码:一键注释、转换、UI 图生成代码、AI 批量处理文件!💪
https://aide.nicepkg.cn
MIT License
2.18k stars 134 forks source link

How to set `Doubao` model #80

Closed kurorinto closed 1 month ago

kurorinto commented 1 month ago

My settings is as follows:

{
    "aide.openaiBaseUrl": "https://ark.cn-beijing.volces.com/api/v3",
    "aide.openaiModel": "Doubao-pro-128k/240628",
    "aide.openaiKey": "my-doubao-apikey"
}

But is don't work, the error message is

404 The request targeted an endpoint that does not exist or is invalid. Request id: 
02172282444093840571e3ce5f26177b37c29bf9d076c3b40a73e

image

2214962083 commented 1 month ago

Your model name is incorrect,follow doubao document, it should be start with ep-xxx https://www.volcengine.com/docs/82379/1263482

kurorinto commented 1 month ago

Thanks🙏