mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 15:07:55 -05:00
fix(copilot): tool renaming
This commit is contained in:
committed by
GitHub
parent
c42d2a32f3
commit
7cc9a23f99
@@ -14,13 +14,19 @@ export class GetOperationsExamplesClientTool extends BaseClientTool {
|
||||
|
||||
static readonly metadata: BaseClientToolMetadata = {
|
||||
displayNames: {
|
||||
[ClientToolCallState.generating]: { text: 'Selecting an operation', icon: Loader2 },
|
||||
[ClientToolCallState.pending]: { text: 'Selecting an operation', icon: Loader2 },
|
||||
[ClientToolCallState.executing]: { text: 'Selecting an operation', icon: Loader2 },
|
||||
[ClientToolCallState.success]: { text: 'Selected an operation', icon: Zap },
|
||||
[ClientToolCallState.error]: { text: 'Failed to select an operation', icon: XCircle },
|
||||
[ClientToolCallState.aborted]: { text: 'Aborted selecting an operation', icon: MinusCircle },
|
||||
[ClientToolCallState.rejected]: { text: 'Skipped selecting an operation', icon: MinusCircle },
|
||||
[ClientToolCallState.generating]: { text: 'Designing workflow component', icon: Loader2 },
|
||||
[ClientToolCallState.pending]: { text: 'Designing workflow component', icon: Loader2 },
|
||||
[ClientToolCallState.executing]: { text: 'Designing workflow component', icon: Loader2 },
|
||||
[ClientToolCallState.success]: { text: 'Designed workflow component', icon: Zap },
|
||||
[ClientToolCallState.error]: { text: 'Failed to design workflow component', icon: XCircle },
|
||||
[ClientToolCallState.aborted]: {
|
||||
text: 'Aborted designing workflow component',
|
||||
icon: MinusCircle,
|
||||
},
|
||||
[ClientToolCallState.rejected]: {
|
||||
text: 'Skipped designing workflow component',
|
||||
icon: MinusCircle,
|
||||
},
|
||||
},
|
||||
interrupt: undefined,
|
||||
}
|
||||
|
||||
@@ -20,11 +20,11 @@ export class PlanClientTool extends BaseClientTool {
|
||||
|
||||
static readonly metadata: BaseClientToolMetadata = {
|
||||
displayNames: {
|
||||
[ClientToolCallState.generating]: { text: 'Crafting an approach', icon: Loader2 },
|
||||
[ClientToolCallState.pending]: { text: 'Crafting an approach', icon: Loader2 },
|
||||
[ClientToolCallState.executing]: { text: 'Crafting an approach', icon: Loader2 },
|
||||
[ClientToolCallState.success]: { text: 'Crafted an approach', icon: ListTodo },
|
||||
[ClientToolCallState.error]: { text: 'Failed to craft an approach', icon: X },
|
||||
[ClientToolCallState.generating]: { text: 'Planning', icon: Loader2 },
|
||||
[ClientToolCallState.pending]: { text: 'Planning', icon: Loader2 },
|
||||
[ClientToolCallState.executing]: { text: 'Planning an approach', icon: Loader2 },
|
||||
[ClientToolCallState.success]: { text: 'Finished planning', icon: ListTodo },
|
||||
[ClientToolCallState.error]: { text: 'Failed to plan', icon: X },
|
||||
[ClientToolCallState.aborted]: { text: 'Aborted planning', icon: XCircle },
|
||||
[ClientToolCallState.rejected]: { text: 'Skipped planning approach', icon: XCircle },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user