goose-py 0.3.9__py3-none-any.whl → 0.3.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
goose/flow.py
CHANGED
@@ -149,7 +149,7 @@ class FlowRun:
|
|
149
149
|
matching_nodes.append(
|
150
150
|
NodeState[task.result_type].model_validate_json(node_state)
|
151
151
|
)
|
152
|
-
return matching_nodes
|
152
|
+
return sorted(matching_nodes, key=lambda node: node.index)
|
153
153
|
|
154
154
|
def get[R: Result](self, *, task: "Task[Any, R]", index: int = 0) -> NodeState[R]:
|
155
155
|
if (
|
@@ -1,9 +1,9 @@
|
|
1
1
|
goose/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
goose/agent.py,sha256=AyAQqgvG-SgYD4O8-yRHfJ3oJpk7zRMdSVkqVdGii4A,7770
|
3
3
|
goose/errors.py,sha256=-0OyZQJWYTRw5YgnCB2_uorVaUsL6Z0QYQO2FqzCiyg,32
|
4
|
-
goose/flow.py,sha256=
|
4
|
+
goose/flow.py,sha256=Oyq3hVe3Yhs5SqC1sNFl0pn1fZ6qgGkoClwzuaAlAPk,11971
|
5
5
|
goose/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
goose/store.py,sha256=6IIGkIYt6CWiNENi2gaS9C0Z-62ia-Qdz29HhCg8njw,698
|
7
|
-
goose_py-0.3.
|
8
|
-
goose_py-0.3.
|
9
|
-
goose_py-0.3.
|
7
|
+
goose_py-0.3.10.dist-info/METADATA,sha256=BjOl3iBlm8iR9M1ppkPabKc_xj-5YxQnHbnKSrSMNnY,1107
|
8
|
+
goose_py-0.3.10.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
9
|
+
goose_py-0.3.10.dist-info/RECORD,,
|
File without changes
|