Skip to content

Commit

Permalink
fix(create_tool): better hints on multiselect
Browse files Browse the repository at this point in the history
  • Loading branch information
massi-ang authored and bigadsoleiman committed Nov 24, 2023
1 parent fe07921 commit e1ff5e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/magic-create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ async function processCreateOptions(options: any): Promise<void> {
{
type: "multiselect",
name: "sagemakerModels",
message:
"Which SageMaker Models do you want to enable (enter for None, space to select)",
hint: "SPACE to select, ENTER to confirm selection",
message: "Which SageMaker Models do you want to enable",
choices: Object.values(SupportedSageMakerModels),
initial:
(options.sagemakerModels ?? []).filter((m: string) =>
Expand All @@ -175,8 +175,8 @@ async function processCreateOptions(options: any): Promise<void> {
{
type: "multiselect",
name: "ragsToEnable",
message:
"Which datastores do you want to enable for RAG (enter for None, space to select)",
hint: "SPACE to select, ENTER to confirm selection",
message: "Which datastores do you want to enable for RAG",
choices: [
{ message: "Aurora", name: "aurora" },
{ message: "OpenSearch", name: "opensearch" },
Expand Down

0 comments on commit e1ff5e1

Please sign in to comment.