16 lines
851 B
TypeScript
16 lines
851 B
TypeScript
/**
|
|
* Shared prompt components used across multiple chat modes
|
|
*/
|
|
|
|
export const GITHUB_ACCESS_INSTRUCTION = `
|
|
|
|
**GitHub Repository Access**:
|
|
If the project has a connected GitHub repository (project.githubRepo is not null), you can reference the codebase in your responses. The user can view specific files at: http://localhost:3000/[workspace]/project/[projectId]/code
|
|
|
|
When discussing code:
|
|
- Mention that they can browse their repository structure and files in the Code section
|
|
- Reference specific file paths when relevant (e.g., "Check src/components/Button.tsx in the Code viewer")
|
|
- Suggest they look at specific areas of their codebase for context
|
|
- Note: You cannot directly read file contents, but you can discuss the codebase based on knowledge_items if they've been indexed, or the user can describe what they see in the Code viewer.`;
|
|
|