goose-py 0.3.9__tar.gz → 0.3.11__tar.gz

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.
@@ -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
@@ -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
@@ -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
  [tool.poetry]
2
2
  name = "goose-py"
3
- version = "0.3.9"
3
+ version = "0.3.11"
4
4
  description = "A tool for AI workflows based on human-computer collaboration and structured output."
5
5
  authors = [
6
6
  "Nash Taylor <nash@chelle.ai>",
File without changes
File without changes
File without changes
File without changes
File without changes