Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
console.log's removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Nov 15, 2023
1 parent 57a0ab1 commit d80faef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function gptQuery(input: OpenAI.Chat.Completions.ChatCompletionMessagePara

const Home = () => {
const [modeUp, changeModeUp] = useState(false);
console.log(modeUp);

// react query request, error handlers and fetch trigger
const { data, isError, isLoading, mutateAsync } = useMutation(
({ examples, lastPrompt }: { examples: ShotsTypes[]; lastPrompt: string }) =>
Expand Down
1 change: 0 additions & 1 deletion src/app/promptTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ export default function insertExamples(examples: ShotsTypes[], lastPrompt: strin
}
}
msjs.push({ role: 'user', content: lastPrompt });
console.log(msjs);
return msjs;
}

0 comments on commit d80faef

Please sign in to comment.