VIBN Frontend for Coolify deployment
This commit is contained in:
15
lib/ai/prompts/shared.ts
Normal file
15
lib/ai/prompts/shared.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 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.`;
|
||||
|
||||
Reference in New Issue
Block a user