You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Concise (2-5 words) and descriptive of the task`,
49
+
prompt: `Generate a git-safe branch/workspace name for this development task:\n\n"${message}"\n\nRequirements:\n- Git-safe identifier (e.g., "automatic-title-generation")\n- Lowercase, hyphens only, no spaces\n- Concise (2-5 words) and descriptive of the task`,
49
50
});
50
51
51
52
returnvalidateBranchName(result.object.name);
52
53
}catch(error){
53
-
log.error("Failed to generate workspace name with AI, using fallback",error);
54
-
returncreateFallbackName();
54
+
// If error is already a structured SendMessageError, rethrow as-is
0 commit comments