Skip to content

Commit 13489e8

Browse files
author
Mishig
authored
[Fix] small fixes in websearch generateQuery (#727)
1 parent ce3e193 commit 13489e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/server/websearch/generateQuery.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Current Question: What about Mexico?
4040
content: `Previous questions:
4141
- When is the next formula 1 grand prix?
4242
43-
Current Question: Where is it being hosted ?`,
43+
Current Question: Where is it being hosted?`,
4444
},
4545
{
4646
from: "assistant",
@@ -54,12 +54,12 @@ Current Question: Where is it being hosted ?`,
5454
from: "assistant",
5555
content: "Epson F2270 DTG printer printhead",
5656
},
57-
{ from: "user", content: "What were the news yesterday ?" },
57+
{ from: "user", content: "What were the news yesterday?" },
5858
{
5959
from: "assistant",
6060
content: `news ${format(new Date(Date.now() - 864e5), "MMMM d, yyyy")}`,
6161
},
62-
{ from: "user", content: "What is the current weather in Paris ?" },
62+
{ from: "user", content: "What is the current weather in Paris?" },
6363
{ from: "assistant", content: `weather in Paris ${currentDate}` },
6464
{
6565
from: "user",
@@ -69,7 +69,7 @@ Current Question: Where is it being hosted ?`,
6969
.map(({ content }) => `- ${content}`)
7070
.join("\n")}`
7171
: "") +
72-
"\n\nCurrent Question:" +
72+
"\n\nCurrent Question: " +
7373
lastMessage.content,
7474
},
7575
];

0 commit comments

Comments
 (0)