goose-py 0.3.9__py3-none-any.whl → 0.3.11__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/agent.py CHANGED
@@ -23,7 +23,7 @@ class UserMediaContentType(StrEnum):
23
23
  WEBP = "image/webp"
24
24
 
25
25
  # audio
26
- MP3 = "audio/mpeg"
26
+ MP3 = "audio/mp3"
27
27
  WAV = "audio/wav"
28
28
 
29
29
  # files
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: goose-py
3
- Version: 0.3.9
3
+ Version: 0.3.11
4
4
  Summary: A tool for AI workflows based on human-computer collaboration and structured output.
5
5
  Home-page: https://github.com/chelle-ai/goose
6
6
  Keywords: ai,yaml,configuration,llm
@@ -0,0 +1,9 @@
1
+ goose/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ goose/agent.py,sha256=AH_yJF3i79cFz4nHamgkXXZy2KgNbmiVNsolZaB5vO8,7769
3
+ goose/errors.py,sha256=-0OyZQJWYTRw5YgnCB2_uorVaUsL6Z0QYQO2FqzCiyg,32
4
+ goose/flow.py,sha256=Oyq3hVe3Yhs5SqC1sNFl0pn1fZ6qgGkoClwzuaAlAPk,11971
5
+ goose/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ goose/store.py,sha256=6IIGkIYt6CWiNENi2gaS9C0Z-62ia-Qdz29HhCg8njw,698
7
+ goose_py-0.3.11.dist-info/METADATA,sha256=7qwWawDrI0qDYgkA_LT_2-AxUfGVnMXCgbktQ_bq5T8,1107
8
+ goose_py-0.3.11.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
9
+ goose_py-0.3.11.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- goose/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- goose/agent.py,sha256=AyAQqgvG-SgYD4O8-yRHfJ3oJpk7zRMdSVkqVdGii4A,7770
3
- goose/errors.py,sha256=-0OyZQJWYTRw5YgnCB2_uorVaUsL6Z0QYQO2FqzCiyg,32
4
- goose/flow.py,sha256=OCTYA5LP5-oGcW0NTI0Ce0C-U9pi1nnxNCC0iX_D924,11934
5
- goose/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- goose/store.py,sha256=6IIGkIYt6CWiNENi2gaS9C0Z-62ia-Qdz29HhCg8njw,698
7
- goose_py-0.3.9.dist-info/METADATA,sha256=tY5sLzAKmYZ6mF1SadhgCDyrNX0BrDuP5z0atQ1-KRk,1106
8
- goose_py-0.3.9.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
9
- goose_py-0.3.9.dist-info/RECORD,,