Skip to content

Commit

Permalink
Merge pull request #36 from salesforcecli/wr/updateAgentSpec
Browse files Browse the repository at this point in the history
fix: update agent lib, update enums, update spec file schema
  • Loading branch information
WillieRuemmele authored Dec 3, 2024
2 parents 4471455 + 77a11fc commit ea2756a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/commands/agent/generate/spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ export default class AgentCreateSpec extends SfCommand<AgentCreateSpecResult> {

// Write a file with the returned job specs
const filePath = join(flags['output-dir'], flags['file-name']);
writeFileSync(filePath, JSON.stringify(agentSpec, null, 4));
writeFileSync(
filePath,
JSON.stringify({ type, role, companyName, companyDescription, companyWebsite, JobSpec: agentSpec }, null, 4)
);

this.spinner.stop();

Expand Down

0 comments on commit ea2756a

Please sign in to comment.