mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-30 19:06:23 +02:00
added a explain prompt to the copilot when you click on prebuilt cards
This commit is contained in:
parent
9e88c7f680
commit
13051dbf3a
1 changed files with 6 additions and 1 deletions
|
|
@ -107,7 +107,12 @@ export function BuildAssistantSection() {
|
|||
|
||||
// Handle template selection
|
||||
const handleTemplateSelect = async (templateId: string) => {
|
||||
await createProjectFromTemplate(templateId, router);
|
||||
// When selecting a pre-built template, kick off Copilot with an explain prompt
|
||||
await createProjectWithOptions({
|
||||
template: templateId,
|
||||
prompt: 'Explain this workflow',
|
||||
router,
|
||||
});
|
||||
};
|
||||
|
||||
// Handle prompt card selection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue