Skip to content

Commit

Permalink
Remove Knowledge cutoff prompt (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunls24 authored Nov 7, 2023
1 parent 0f45264 commit a7b3472
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/api/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ function systemPrompt(): CreateMessage {
return {
role: "system",
content: `You are ChatGPT, a large language model trained by OpenAI.
Knowledge cutoff: 2021-09
Current time: ${getLocaleTime()}`,
};
}
2 changes: 1 addition & 1 deletion lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const StoreVersion = 2.0;
export const VERSION = "2.0.1";
export const VERSION = "2.0.2";

export enum Store {
Chat = "chat-next-store",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chat-next",
"version": "2.0.1",
"version": "2.0.2",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit a7b3472

Please sign in to comment.