Commit 7cd3e38c
7cd3e38cfccaMerged
Scott Nixon <[email protected]> ยท 7 months ago ยท 5 files ยท ~5 modified
Description
fix(dot): handle quoted duration attributes in pipeline nodes
Quoted values like timeout="20m" were parsed as AttributeValue::String and silently ignored by get_duration_attr, falling back to the 600s default. Now get_duration_attr also tries parse_duration_str on String values so both quoted and unquoted durations work.
Details
- Commit
- 7cd3e38cfcca
- Parent
- c60ae995460d
Cargo.lockmodifiedView file
@@ -133,7 +133,7 @@
133133
134134
[[package]]135135
name = "attractor-agent"136-
version = "0.5.0"136+
version = "0.5.1"137137
dependencies = [138138
"async-trait",139139
"attractor-llm",@@ -152,7 +152,7 @@
152152
153153
[[package]]154154
name = "attractor-cli"155-
version = "0.5.0"155+
version = "0.5.1"156156
dependencies = [157157
"anyhow",158158
"attractor-agent",@@ -173,7 +173,7 @@
173173
174174
[[package]]175175
name = "attractor-dot"176-
version = "0.5.0"176+
version = "0.5.1"177177
dependencies = [178178
"attractor-types",179179
"serde",@@ -184,7 +184,7 @@
184184
185185
[[package]]186186
name = "attractor-llm"187-
version = "0.5.0"187+
version = "0.5.1"188188
dependencies = [189189
"async-trait",190190
"attractor-types",@@ -201,7 +201,7 @@
201201
202202
[[package]]203203
name = "attractor-pipeline"204-
version = "0.5.0"204+
version = "0.5.1"205205
dependencies = [206206
"async-trait",207207
"attractor-agent",@@ -223,7 +223,7 @@
223223
224224
[[package]]225225
name = "attractor-tools"226-
version = "0.5.0"226+
version = "0.5.1"227227
dependencies = [228228
"async-trait",229229
"attractor-types",@@ -240,7 +240,7 @@
240240
241241
[[package]]242242
name = "attractor-types"243-
version = "0.5.0"243+
version = "0.5.1"244244
dependencies = [245245
"chrono",246246
"serde",Cargo.tomlmodifiedView file
Loading diffโฆ
crates/attractor-dot/src/duration_serde.rsmodifiedView file
Loading diffโฆ
crates/attractor-dot/src/lib.rsmodifiedView file
Loading diffโฆ
crates/attractor-pipeline/src/graph.rsmodifiedView file
Loading diffโฆ