Skip to content

Commit 45fd46d

Browse files
committed
fix: replace suggestions with single WebSocket document chip
- Change from 4 generic suggestions to 1 focused suggestion - Suggestion prompts agent to generate WebSocket document - Aligns with canvas page purpose
1 parent de80d48 commit 45fd46d

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

apps/app/src/app/canvas/page.tsx

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -198,20 +198,8 @@ const DocumentEditor = () => {
198198
useConfigureSuggestions({
199199
suggestions: [
200200
{
201-
title: "Write a pirate story",
202-
message: "Please write a story about a pirate named Candy Beard.",
203-
},
204-
{
205-
title: "Write a mermaid story",
206-
message: "Please write a story about a mermaid named Luna.",
207-
},
208-
{
209-
title: "Add character",
210-
message: "Please add a character named Courage.",
211-
},
212-
{
213-
title: "Create documentation",
214-
message: "Create technical documentation for a REST API.",
201+
title: "Generate WebSocket document",
202+
message: "Create a comprehensive document explaining how WebSockets work, including the handshake process, persistent connections, frames, comparison with HTTP, and common use cases.",
215203
},
216204
],
217205
available: "always",

0 commit comments

Comments
 (0)