Skip to content

Commit

Permalink
Merge pull request #76 from salesforcecli/sh/more-refactoring
Browse files Browse the repository at this point in the history
W-17669620 - fix: update prompt text for agent type
  • Loading branch information
shetzel authored Feb 4, 2025
2 parents 1647af4 + 892dc20 commit 47f3e39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions messages/agent.generate.agent-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ When your agent spec is ready, you then create the agent in your org by running

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.

# flags.type.prompt

Type of agent to create.

# flags.role.summary

Role of the agent.
Expand Down
1 change: 1 addition & 0 deletions src/commands/agent/generate/agent-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export type AgentSpecFileContents = AgentJobSpecV2 & {
export const FLAGGABLE_PROMPTS = {
type: {
message: messages.getMessage('flags.type.summary'),
promptMessage: messages.getMessage('flags.type.prompt'),
validate: (d: string): boolean | string => d.length > 0 || 'Type cannot be empty',
options: ['customer', 'internal'],
required: true,
Expand Down

0 comments on commit 47f3e39

Please sign in to comment.