| 16 | import { DuplicateIcon } from './icons/duplicate-icon' |
| 17 | |
| 18 | function getPromptUrl(baseURL: string, url: string) { |
| 19 | return `${baseURL}?q=${encodeURIComponent( |
| 20 | `I'm currently reading the ${app.name} documentation at: ${url}\n\n` + |
| 21 | `Please help me understand it thoroughly. ` + |
| 22 | `Explain the key concepts, show practical examples, and be ready to help me debug or implement features based on this documentation.` |
| 23 | )}` |
| 24 | } |
| 25 | |
| 26 | function getPerplexityUrl(url: string) { |
| 27 | return `https://www.perplexity.ai/search/new?q=${encodeURIComponent( |