mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-19 02:34:37 -05:00
improvement(copilot): structured metadata context + start block deprecation (#1362)
* progress * progress * deploy command update * add trigger mode modal * fix trigger icons' * fix corners for add trigger card * update serialization error visual in console * works * improvement(copilot-context): structured context for copilot * forgot long description * Update metadata params * progress * add better workflow ux * progress * highlighting works * trigger card * default agent workflow change * fix build error * remove any casts * address greptile comments * Diff input format * address greptile comments * improvement: ui/ux * improvement: changed to vertical scrolling * fix(workflow): ensure new blocks from sidebar click/drag use getUniqueBlockName (with semantic trigger base when applicable) * Validation + build/edit mark complete * fix trigger dropdown * Copilot stuff (lots of it) * Temp update prod dns * fix trigger check * fix * fix trigger mode check * Fix yaml imports * Fix autolayout error * fix deployed chat * Fix copilot input text overflow * fix trigger mode persistence in addBlock with enableTriggerMode flag passed in * Lint * Fix failing tests * Reset ishosted * Lint * input format for legacy starter * Fix executor --------- Co-authored-by: Siddharth Ganesan <siddharthganesan@gmail.com> Co-authored-by: Emir Karabeg <emirkarabeg@berkeley.edu>
This commit is contained in:
committed by
GitHub
parent
68df95906f
commit
b7876ca466
@@ -417,8 +417,12 @@ export class Serializer {
|
||||
blockConfig: any,
|
||||
params: Record<string, any>
|
||||
) {
|
||||
// Skip validation if the block is in trigger mode
|
||||
if (block.triggerMode || blockConfig.category === 'triggers') {
|
||||
// Skip validation if the block is used as a trigger
|
||||
if (
|
||||
block.triggerMode === true ||
|
||||
blockConfig.category === 'triggers' ||
|
||||
params.triggerMode === true
|
||||
) {
|
||||
logger.info('Skipping validation for block in trigger mode', {
|
||||
blockId: block.id,
|
||||
blockType: block.type,
|
||||
|
||||
Reference in New Issue
Block a user