VIBN Frontend for Coolify deployment

This commit is contained in:
2026-02-15 19:25:52 -08:00
commit 40bf8428cd
398 changed files with 76513 additions and 0 deletions

15
lib/ai/prompts/shared.ts Normal file
View 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.`;