mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
fix: disable duplicate trigger nodes in workflow builder (#402)
* fix: disable duplicate trigger nodes in workflow builder AddNodePanel: disable trigger buttons and show tooltip when a trigger already exists on the canvas, using bySpecName to identify trigger- category specs from the live node list. useWorkflowState: preflight in saveWorkflow rejects saves with multiple trigger nodes via a sonner toast before the network request is made. text_chat_session_service: include the original exception message in TextChatSessionExecutionError so the HTTP 500 detail surfaces the root cause without DB inspection. Closes #378 * style: format test_text_chat_session_service.py with ruff * chore: retrigger CI checks * fix(workflow): enforce node instance constraints --------- Co-authored-by: Abhishek Kumar <abhishek@a6k.me>
This commit is contained in:
parent
7c31dd3eec
commit
7d053320df
27 changed files with 591 additions and 91 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# generated by datamodel-codegen:
|
||||
# filename: dograh-openapi-XXXXXX.json.mx2FLLD9Pk
|
||||
# timestamp: 2026-06-18T13:32:23+00:00
|
||||
# filename: dograh-openapi-XXXXXX.json.ZaaB4gFvgD
|
||||
# timestamp: 2026-06-19T10:19:05+00:00
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
|
@ -203,6 +203,8 @@ class GraphConstraints(BaseModel):
|
|||
max_incoming: Annotated[int | None, Field(title='Max Incoming')] = None
|
||||
min_outgoing: Annotated[int | None, Field(title='Min Outgoing')] = None
|
||||
max_outgoing: Annotated[int | None, Field(title='Max Outgoing')] = None
|
||||
min_instances: Annotated[int | None, Field(title='Min Instances')] = None
|
||||
max_instances: Annotated[int | None, Field(title='Max Instances')] = None
|
||||
|
||||
|
||||
class Method(Enum):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue