Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
is not of its input's type (including a whole number beyond 2^53, which cannot be stored exactly) is flagged
under its row and refused by the run checks; a rewire converts a value when the conversion is exact. A flow saved by 0.13.0 with such a value stored as text is converted when you open
it, with a notice, and keeps the stored text until you save it.
- Run dialog: a flow input wired only to Decision `model` inputs picks from the decision models
(`provider/model` handles from the `output.decision` route) instead of being a text-model picker
disabled behind "Pick provider…". A model input of a form with no provider input can be picked or
typed on its own; it waits for a provider only when the form has one.
- Run dialog: a run that ends in a fraction of a second showed an invented "On Flow End" step and
the last node's answer as its Final Result. The final result is now the run record's output, and a
flow with an On Flow End never gets an invented end row.
- The "Decision triage" example loads with every wire drawn: its end output `model` (a text, the
provider/model that answered) is now `answered_by`; an end pin named `model` is a model picker
that a text cannot feed.

## [0.13.0] - 2026-11-02

Expand Down
3 changes: 3 additions & 0 deletions docs/web-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,9 @@ text and answers it in a single pass with a decision model (Kev / Lev / Laya loc
models (a bare id, sent with `provider`); with no provider the model list is every
`provider/model` handle, and a handle can be typed (`typesafe/jev-latest`). Empty: the
Gateway `output.decision` default.
- **Run dialog.** A flow input wired only to Decision `model` inputs (the example's On Flow Start
`model`) is a decision-model picker in the Run dialog: every `provider/model` handle on the
`output.decision` route, no provider input needed. Empty: the Gateway `output.decision` default.
- The option names and level labels are edited as lists in the panel; they become the `enum` of
`choice` / `level` and the keys of `probabilities`, so **Break Object** splits `answer` by
name and a **Switch** wired from `choice` or `level` offers **Sync cases from enum**. A wire
Expand Down
12 changes: 6 additions & 6 deletions examples/flows/decision-triage.json
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,8 @@
"type": "number"
},
{
"id": "model",
"label": "model",
"id": "answered_by",
"label": "answered_by",
"type": "string"
}
],
Expand Down Expand Up @@ -917,15 +917,15 @@
"animated": false
},
{
"id": "e-department-model-end-model",
"id": "e-department-model-end-answered_by",
"source": "department",
"sourceHandle": "model",
"target": "end",
"targetHandle": "model",
"targetHandle": "answered_by",
"animated": false
}
],
"entryNode": "start",
"created_at": "2026-11-02T00:10:18.514134+00:00",
"updated_at": "2026-11-02T00:10:18.514134+00:00"
"created_at": "2026-11-03T02:28:57.989476+00:00",
"updated_at": "2026-11-03T02:28:57.989476+00:00"
}
13 changes: 13 additions & 0 deletions llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1314,6 +1314,9 @@ text and answers it in a single pass with a decision model (Kev / Lev / Laya loc
models (a bare id, sent with `provider`); with no provider the model list is every
`provider/model` handle, and a handle can be typed (`typesafe/jev-latest`). Empty: the
Gateway `output.decision` default.
- **Run dialog.** A flow input wired only to Decision `model` inputs (the example's On Flow Start
`model`) is a decision-model picker in the Run dialog: every `provider/model` handle on the
`output.decision` route, no provider input needed. Empty: the Gateway `output.decision` default.
- The option names and level labels are edited as lists in the panel; they become the `enum` of
`choice` / `level` and the keys of `probabilities`, so **Break Object** splits `answer` by
name and a **Switch** wired from `choice` or `level` offers **Sync cases from enum**. A wire
Expand Down Expand Up @@ -6641,6 +6644,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
is not of its input's type (including a whole number beyond 2^53, which cannot be stored exactly) is flagged
under its row and refused by the run checks; a rewire converts a value when the conversion is exact. A flow saved by 0.13.0 with such a value stored as text is converted when you open
it, with a notice, and keeps the stored text until you save it.
- Run dialog: a flow input wired only to Decision `model` inputs picks from the decision models
(`provider/model` handles from the `output.decision` route) instead of being a text-model picker
disabled behind "Pick provider…". A model input of a form with no provider input can be picked or
typed on its own; it waits for a provider only when the form has one.
- Run dialog: a run that ends in a fraction of a second showed an invented "On Flow End" step and
the last node's answer as its Final Result. The final result is now the run record's output, and a
flow with an On Flow End never gets an invented end row.
- The "Decision triage" example loads with every wire drawn: its end output `model` (a text, the
provider/model that answered) is now `answered_by`; an end pin named `model` is a model picker
that a text cannot feed.

## [0.13.0] - 2026-11-02

Expand Down
6 changes: 4 additions & 2 deletions scripts/build_decision_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ def build() -> dict:
pin("escalate_probability", "escalate_probability", "number"),
pin("frustration", "frustration", "string"),
pin("frustration_score", "frustration_score", "number"),
pin("model", "model", "string")]),
# `answered_by`: the provider/model that answered (text). An end pin named
# `model` is a model picker (type `model`) once loaded, which a text cannot feed.
pin("answered_by", "answered_by", "string")]),
]
edges = [
edge("start", "exec-out", "department", "exec-in", animated=True),
Expand All @@ -165,7 +167,7 @@ def build() -> dict:
edge("escalate", "noul", "end", "escalate_probability"),
edge("frustration", "level", "end", "frustration"),
edge("frustration", "score", "end", "frustration_score"),
edge("department", "model", "end", "model"),
edge("department", "model", "end", "answered_by"),
]
flow["nodes"] = nodes
flow["edges"] = edges
Expand Down
2 changes: 1 addition & 1 deletion scripts/decision_workflow_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def decide(run: Any, effect: Any, default_next_node: Any) -> Any:
check("escalate probability", out.get("escalate_probability") == 0.73, str(out))
check("frustration level from the legend", out.get("frustration") == "Frustrated", str(out))
check("frustration score", out.get("frustration_score") == 1.29, str(out))
check("model that answered", out.get("model") == "ggml-org/Kev-4B-GGUF:Q4_K_M", str(out))
check("model that answered", out.get("answered_by") == "ggml-org/Kev-4B-GGUF:Q4_K_M", str(out))
print("decision-triage smoke: all checks passed")


Expand Down
Loading
Loading