Skip to content

Commit 824b032

Browse files
committed
【代码优化】AI:完善相关注释
1 parent 46b81b2 commit 824b032

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/api/ai/model/model/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import request from '@/config/axios'
22

3-
// AI 聊天模型 VO
3+
// AI 模型 VO
44
export interface ModelVO {
55
id: number // 编号
66
keyId: number // API 秘钥编号
@@ -42,12 +42,12 @@ export const ModelApi = {
4242
return await request.post({ url: `/ai/model/create`, data })
4343
},
4444

45-
// 修改聊天模型
45+
// 修改模型
4646
updateModel: async (data: ModelVO) => {
4747
return await request.put({ url: `/ai/model/update`, data })
4848
},
4949

50-
// 删除聊天模型
50+
// 删除模型
5151
deleteModel: async (id: number) => {
5252
return await request.delete({ url: `/ai/model/delete?id=` + id })
5353
}

0 commit comments

Comments
 (0)