代码编辑器添加AI助手,支持AI代码编写

This commit is contained in:
fofolee
2025-02-20 01:04:11 +08:00
parent ac19d06845
commit d82c735cfe
14 changed files with 1033 additions and 325 deletions

View File

@@ -188,8 +188,8 @@ const quickcommand = {
return null;
},
askAI: async function (content, apiConfig) {
return await chat(content, apiConfig);
askAI: async function (content, apiConfig, options) {
return await chat(content, apiConfig, options);
},
...systemDialog,