Skip to content

Commit 2fe30ea

Browse files
authored
fix: playground default to include variable (#5066)
1 parent d9e7e9e commit 2fe30ea

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

web/components/templates/playground/playgroundPage.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ export const DEFAULT_EMPTY_CHAT: MappedLLMRequest = {
5252
_type: "openai-chat",
5353
id: "",
5454
preview: {
55-
request: "You are a helpful AI assistant.",
55+
request:
56+
"You are a helpful AI assistant.\n\nYou are speaking to {{ hc:name:string }}",
5657
response: "",
5758
concatenatedMessages: [
5859
{
5960
_type: "message",
6061
role: "system",
61-
content: "You are a helpful AI assistant.",
62+
content:
63+
"You are a helpful AI assistant.\n\nYou are speaking to {{ hc:name:string }}",
6264
},
6365
],
6466
},
@@ -100,7 +102,8 @@ export const DEFAULT_EMPTY_CHAT: MappedLLMRequest = {
100102
{
101103
_type: "message",
102104
role: "system",
103-
content: "You are a helpful AI assistant.",
105+
content:
106+
"You are a helpful AI assistant.\n\nYou are speaking to {{ hc:name:string }}",
104107
},
105108
],
106109
tool_choice: undefined,

0 commit comments

Comments
 (0)