Skip to content

Commit

Permalink
fix: initial chat state
Browse files Browse the repository at this point in the history
  • Loading branch information
cgawron committed Mar 13, 2024
1 parent 127bc4c commit 3119e19
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/chat/context/initState.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ export const initState = {
ct: "2023-12-12",
messages: [
{
content: "Hello, I'm ChatGPT! Ask me anything!",
sentTime: "1682827639323",
role: "user",
id: 123,
content: "Hallo, ich bin KImpuls, Dein FH-Chatbot. Wie kann ich Dir helfen?",
sentTime: Date.now(),
role: "system",
id: 1,
},
],
},
Expand All @@ -20,7 +20,7 @@ export const initState = {
currentChat: 0,
options: {
account: {
name: "CHAT——AI",
name: "Anonymus",
avatar: "",
},
general: {
Expand All @@ -34,7 +34,7 @@ export const initState = {
organizationId: "",
temperature: 1,
model: "gpt-4",
apiKey: "",
apiKey: "unused",
max_tokens: 2048,
n: 1,
stream: true,
Expand Down

0 comments on commit 3119e19

Please sign in to comment.