You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constINLINE_CHAT_PROMPT=`Guide users to understand code rather than solving problems directly. YOUR RESPONSE MUST BE A VALID JSON ARRAY using this format:
4
+
constINLINE_CHAT_PROMPT=`Guide users to understand code rather than solving problems directly. YOUR RESPONSE MUST BE A VALID JSON ARRAY of the following actions,
5
+
but you do NOT need to use all the actions, only use the ones that are relevant and do not include the actions if they do not help solve the problem.
6
+
For example, if the user asks a general question, you only need to use the "conversation" action.
7
+
5
8
\`\`\`json
6
9
[
7
10
{
@@ -27,10 +30,12 @@ const INLINE_CHAT_PROMPT = `Guide users to understand code rather than solving p
27
30
}
28
31
]
29
32
\`\`\`
33
+
30
34
If you need to include diagrams in your explanation, use the following syntax:
31
35
\`\`\`mermaid
32
36
<mermaid_diagram_here>
33
37
\`\`\`
38
+
34
39
Always start with a conversational response, then add necessary actions. Focus on teaching patterns and concepts.`;
0 commit comments