Skip to content

Commit 40aee42

Browse files
committed
fix: keep template prompt check simple for agents
1 parent 2195bb8 commit 40aee42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/project/create_template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ func promptTemplateSelection(cmd *cobra.Command, clients *shared.ClientFactory,
251251
// Prompt for the example template
252252
prompt := "Select a language:"
253253
if clients.Config.WithExperimentOn(experiment.Templates) {
254-
if strings.HasPrefix(categoryID, "slack-cli#") && !strings.Contains(categoryID, "/") {
254+
if categoryID == "slack-cli#ai-apps" {
255255
prompt = "Select a template:"
256256
} else {
257257
prompt = "Select a framework:"

0 commit comments

Comments
 (0)