mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-12 23:45:07 -05:00
fix(triggers): add copilot as a trigger type (#3191)
* fix(triggers): add copilot as a trigger type * update color
This commit is contained in:
@@ -72,6 +72,7 @@ const TRIGGER_VARIANT_MAP: Record<string, React.ComponentProps<typeof Badge>['va
|
||||
webhook: 'orange',
|
||||
mcp: 'cyan',
|
||||
a2a: 'teal',
|
||||
copilot: 'pink',
|
||||
}
|
||||
|
||||
interface StatusBadgeProps {
|
||||
|
||||
@@ -10,7 +10,7 @@ export interface WorkflowExecutionOptions {
|
||||
onStream?: (se: StreamingExecution) => Promise<void>
|
||||
executionId?: string
|
||||
onBlockComplete?: (blockId: string, output: any) => Promise<void>
|
||||
overrideTriggerType?: 'chat' | 'manual' | 'api'
|
||||
overrideTriggerType?: 'chat' | 'manual' | 'api' | 'copilot'
|
||||
stopAfterBlockId?: string
|
||||
/** For run_from_block / run_block: start from a specific block using cached state */
|
||||
runFromBlock?: {
|
||||
|
||||
Reference in New Issue
Block a user