mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-16 18:25:17 +02:00
* Add prebuilt cards functionality and related changes * removed old jsons (still need to update the existing ones too) * Refactor project templates to remove the Example Agent and update related documentation. Updated the copilot behaviour aswell. * Merge remote-tracking branch 'origin/dev' into prebuiltcards * Update SHOW_PREBUILT_CARDS logic to use environment variable for better configuration management
7 lines
259 B
TypeScript
7 lines
259 B
TypeScript
import { NextResponse } from 'next/server';
|
|
import { templates } from '@/app/lib/project_templates';
|
|
|
|
export async function GET() {
|
|
// The templates are now dynamically loaded from JSON files in the templates folder
|
|
return NextResponse.json(templates);
|
|
}
|