Skip to content

Commit

Permalink
fix: remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Mar 13, 2023
1 parent 75be495 commit 4d9696b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/openai/fetchOpenAIResult.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export async function fetchOpenAIResult(
const text = json.choices[0].delta?.content || "";
// todo: add redis cache
tempData += text;
console.log("=====text====", text, tempData);
if (counter < 2 && (text.match(/\n/) || []).length) {
// this is a prefix character (i.e., "\n\n"), do nothing
return;
Expand Down

1 comment on commit 4d9696b

@vercel
Copy link

@vercel vercel bot commented on 4d9696b Mar 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.