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
const aiPrompt =computed(() =>`I'm looking at this Nuxt UI documentation: ${mdPath.value}\nHelp me understand how to use it. Be ready to explain concepts, give examples, or help debug based on it.`)
10
11
11
12
const items = [
12
13
{
@@ -34,7 +35,7 @@ const items = [
34
35
label: 'Open in ChatGPT',
35
36
icon: 'i-simple-icons:openai',
36
37
target: '_blank',
37
-
to: `https://chatgpt.com/?hints=search&q=${encodeURIComponent(`Read ${mdPath.value} so I can ask questions about it.`)}`,
38
+
to: `https://chatgpt.com/?prompt=${encodeURIComponent(aiPrompt.value)}`,
38
39
onSelect() {
39
40
track('Page Action', { action: 'Open in ChatGPT', page: route.path })
40
41
}
@@ -43,7 +44,7 @@ const items = [
43
44
label: 'Open in Claude',
44
45
icon: 'i-simple-icons:anthropic',
45
46
target: '_blank',
46
-
to: `https://claude.ai/new?q=${encodeURIComponent(`Read ${mdPath.value} so I can ask questions about it.`)}`,
47
+
to: `https://claude.ai/new?q=${encodeURIComponent(aiPrompt.value)}`,
47
48
onSelect() {
48
49
track('Page Action', { action: 'Open in Claude', page: route.path })
0 commit comments