log prompt

This commit is contained in:
Michael Lahr 2024-03-14 14:39:41 +08:00
commit 83596438af

View file

@ -122,7 +122,7 @@ async function getAIResponse(prompt: string): Promise<Array<{
frequency_penalty: 0,
presence_penalty: 0,
};
console.log("Query:", prompt);
try {
const response = await openai.chat.completions.create({
...queryConfig,