mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-12-05 15:41:56 +00:00
style(api): 注释掉调试日志
This commit is contained in:
parent
d7e5322f94
commit
883233b443
@ -43,10 +43,10 @@ class OpenaiChat {
|
||||
];
|
||||
|
||||
try {
|
||||
logger.info("[DEBUG] 请求体:", {
|
||||
model: model,
|
||||
messages,
|
||||
});
|
||||
// logger.info("[DEBUG] 请求体:", {
|
||||
//model: model,
|
||||
// messages,
|
||||
//});
|
||||
|
||||
const completion = await this.openai.chat.completions.create({
|
||||
messages: messages,
|
||||
@ -58,7 +58,7 @@ class OpenaiChat {
|
||||
});
|
||||
|
||||
const aiResponse = completion.choices[0].message.content;
|
||||
logger.info(aiResponse);
|
||||
//logger.info(aiResponse);
|
||||
return {
|
||||
success: true,
|
||||
aiResponse: aiResponse,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user