Skip to content

Commit 47f3e39

Browse files
authored
Merge pull request #76 from salesforcecli/sh/more-refactoring
W-17669620 - fix: update prompt text for agent type
2 parents 1647af4 + 892dc20 commit 47f3e39

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

messages/agent.generate.agent-spec.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ When your agent spec is ready, you then create the agent in your org by running
1818

1919
Type of agent to create. Internal types are copilots used internally by your company and customer types are the agents you create for your customers.
2020

21+
# flags.type.prompt
22+
23+
Type of agent to create.
24+
2125
# flags.role.summary
2226

2327
Role of the agent.

src/commands/agent/generate/agent-spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export type AgentSpecFileContents = AgentJobSpecV2 & {
4343
export const FLAGGABLE_PROMPTS = {
4444
type: {
4545
message: messages.getMessage('flags.type.summary'),
46+
promptMessage: messages.getMessage('flags.type.prompt'),
4647
validate: (d: string): boolean | string => d.length > 0 || 'Type cannot be empty',
4748
options: ['customer', 'internal'],
4849
required: true,

0 commit comments

Comments
 (0)