Skip to content

Commit

Permalink
feat:Add type
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleurxxx committed Oct 20, 2024
1 parent 6c8fb93 commit 4eea1d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/service/app-center/aiChat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export default class AiChat extends Service {
const aiChatConfig = this.config.aiChat(messages, chatConfig.token);
const { httpRequestUrl, httpRequestOption } = aiChatConfig[chatConfig.model];
this.ctx.logger.debug(httpRequestOption);

res = await ctx.curl(httpRequestUrl, httpRequestOption);
} catch (e: any) {
this.ctx.logger.debug(`调用AI大模型接口失败: ${(e as Error).message}`);
Expand Down

0 comments on commit 4eea1d4

Please sign in to comment.