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.
- {goose_py-0.3.5 → goose_py-0.3.6}/PKG-INFO +1 -1
- {goose_py-0.3.5 → goose_py-0.3.6}/goose/agent.py +4 -2
- {goose_py-0.3.5 → goose_py-0.3.6}/pyproject.toml +1 -1
- {goose_py-0.3.5 → goose_py-0.3.6}/README.md +0 -0
- {goose_py-0.3.5 → goose_py-0.3.6}/goose/__init__.py +0 -0
- {goose_py-0.3.5 → goose_py-0.3.6}/goose/errors.py +0 -0
- {goose_py-0.3.5 → goose_py-0.3.6}/goose/flow.py +0 -0
- {goose_py-0.3.5 → goose_py-0.3.6}/goose/py.typed +0 -0
- {goose_py-0.3.5 → goose_py-0.3.6}/goose/store.py +0 -0
@@ -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 =
|
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,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|