We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7040934 commit 92f70daCopy full SHA for 92f70da
1 file changed
theme/ai.js
@@ -77,7 +77,7 @@
77
const loadingBubble = addMsg("", "ht-ai");
78
loadingBubble.innerHTML = LOADER_HTML;
79
80
- const content = context ? `Context:\n${context}\n\nQuestion:\n${question}` : question;
+ const content = context ? `### Context:\n${context}\n\n### Question to answer:\n${question}` : question;
81
try {
82
const res = await fetch(`${API_BASE}/${threadId}/messages`, { method:"POST", credentials:"include", headers:{"Content-Type":"application/json"}, body:JSON.stringify({content}) });
83
if (!res.ok) {
0 commit comments