Skip to content

Commit

Permalink
Merge pull request #10 from forcedotcom/wr/agentEnum
Browse files Browse the repository at this point in the history
Wr/agent enum
  • Loading branch information
shetzel authored Dec 3, 2024
2 parents 085de7d + 83af3b8 commit 345980a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type AgentJobSpec = [
*/
export type AgentJobSpecCreateConfig = {
name: string;
type: 'customer_facing' | 'employee_facing';
type: 'customer' | 'internal';
role: string;
companyName: string;
companyDescription: string;
Expand Down
4 changes: 2 additions & 2 deletions test/agents.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('Agents', () => {
const agent = new Agent(connection, sfProject);
const output = await agent.createSpec({
name: 'MyFirstAgent',
type: 'customer_facing',
type: 'customer',
role: 'answer questions about vacation_rentals',
companyName: 'Coral Cloud Enterprises',
companyDescription: 'Provide vacation rentals and activities',
Expand All @@ -49,7 +49,7 @@ describe('Agents', () => {
const agent = new Agent(connection, sfProject);
const opts: AgentJobSpecCreateConfig = {
name: 'MyFirstAgent',
type: 'customer_facing',
type: 'customer',
role: 'answer questions about vacation rentals',
companyName: 'Coral Cloud Enterprises',
companyDescription: 'Provide vacation rentals and activities',
Expand Down

0 comments on commit 345980a

Please sign in to comment.