goose-py 0.3.5__tar.gz → 0.3.6__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.5
3
+ Version: 0.3.6
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
@@ -104,7 +104,7 @@ class AgentResponseDump(TypedDict):
104
104
  task_name: str
105
105
  model: str
106
106
  system_message: str
107
- input_messages: str
107
+ input_messages: list[str]
108
108
  output_message: str
109
109
  input_cost: float
110
110
  output_cost: float
@@ -177,7 +177,9 @@ class AgentResponse[R: BaseModel](BaseModel):
177
177
  for part in message["content"]:
178
178
  if part["type"] == "image_url":
179
179
  part["image_url"] = "__MEDIA__"
180
- minimized_input_messages = json.dumps(minimized_input_messages)
180
+ minimized_input_messages = [
181
+ json.dumps(message) for message in minimized_input_messages
182
+ ]
181
183
 
182
184
  return {
183
185
  "run_id": self.run_id,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "goose-py"
3
- version = "0.3.5"
3
+ version = "0.3.6"
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
File without changes