mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-06-29 04:24:13 +00:00
log prompt
This commit is contained in:
parent
5b828ee105
commit
83596438af
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ async function getAIResponse(prompt: string): Promise<Array<{
|
||||||
frequency_penalty: 0,
|
frequency_penalty: 0,
|
||||||
presence_penalty: 0,
|
presence_penalty: 0,
|
||||||
};
|
};
|
||||||
|
console.log("Query:", prompt);
|
||||||
try {
|
try {
|
||||||
const response = await openai.chat.completions.create({
|
const response = await openai.chat.completions.create({
|
||||||
...queryConfig,
|
...queryConfig,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue