goose-py 0.5.0__py3-none-any.whl → 0.5.1__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
@@ -1,4 +1,3 @@
1
- import base64
2
1
  import json
3
2
  import logging
4
3
  from datetime import datetime
@@ -59,12 +58,12 @@ class TextMessagePart(BaseModel):
59
58
 
60
59
  class MediaMessagePart(BaseModel):
61
60
  content_type: UserMediaContentType
62
- content: bytes
61
+ content: str
63
62
 
64
63
  def render(self) -> LLMMediaMessagePart:
65
64
  return {
66
65
  "type": "image_url",
67
- "image_url": f"data:{self.content_type};base64,{base64.b64encode(self.content).decode()}",
66
+ "image_url": f"data:{self.content_type};base64,{self.content}",
68
67
  }
69
68
 
70
69
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: goose-py
3
- Version: 0.5.0
3
+ Version: 0.5.1
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
@@ -1,10 +1,10 @@
1
1
  goose/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- goose/agent.py,sha256=S9nDhK7v4Rsk-ANuq5tIZfZ7TOmCdMEVid2VuK1EWCw,8106
2
+ goose/agent.py,sha256=Wq29_xWgdeBaZ2tOyk5-6GydCOxwCrHs7hqAZnwShdc,8063
3
3
  goose/errors.py,sha256=-0OyZQJWYTRw5YgnCB2_uorVaUsL6Z0QYQO2FqzCiyg,32
4
4
  goose/flow.py,sha256=9_Oz9enLNAeRIMyatj26yRb1zvPNTQ6Pqk6DcigNbjc,14399
5
5
  goose/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  goose/result.py,sha256=-eZJn-2sPo7rHZ38Sz6IAHXqiJ-Ss39esEoFGimJEBI,155
7
7
  goose/store.py,sha256=4p2BBVAEUS1_Z0iBk5Qk_fPxRQeph64DRzXOFmjIT38,844
8
- goose_py-0.5.0.dist-info/METADATA,sha256=1tnHzL7cLUdxEolkUaFrvAYMk2jldyo5HVxTaUC6OKk,1106
9
- goose_py-0.5.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
10
- goose_py-0.5.0.dist-info/RECORD,,
8
+ goose_py-0.5.1.dist-info/METADATA,sha256=SzB0laK56WqU_k8zWzK5aEKz66EczNYfgkDDLH80iro,1106
9
+ goose_py-0.5.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
10
+ goose_py-0.5.1.dist-info/RECORD,,