agentle 0.9.31__py3-none-any.whl → 0.9.32__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.
agentle/agents/agent.py CHANGED
@@ -1832,7 +1832,7 @@ class Agent[T_Schema = WithoutStructuredOutput](BaseModel):
1832
1832
  chat_id, current_user_message
1833
1833
  )
1834
1834
  await self.conversation_store.add_message_async(
1835
- chat_id, final_generation.message.to_assistant_message()
1835
+ chat_id, final_generation.message
1836
1836
  )
1837
1837
 
1838
1838
  # Yield final chunk
@@ -1952,7 +1952,7 @@ class Agent[T_Schema = WithoutStructuredOutput](BaseModel):
1952
1952
  chat_id, current_user_message
1953
1953
  )
1954
1954
  await self.conversation_store.add_message_async(
1955
- chat_id, generation.message.to_assistant_message()
1955
+ chat_id, generation.message
1956
1956
  )
1957
1957
 
1958
1958
  return AgentRunOutput(
@@ -2283,7 +2283,7 @@ class Agent[T_Schema = WithoutStructuredOutput](BaseModel):
2283
2283
  )
2284
2284
  await self.conversation_store.add_message_async(
2285
2285
  chat_id,
2286
- final_generation.message.to_assistant_message(),
2286
+ final_generation.message,
2287
2287
  )
2288
2288
 
2289
2289
  # Yield final result
@@ -2389,7 +2389,7 @@ class Agent[T_Schema = WithoutStructuredOutput](BaseModel):
2389
2389
  )
2390
2390
  await self.conversation_store.add_message_async(
2391
2391
  chat_id,
2392
- final_tool_generation.message.to_assistant_message(),
2392
+ final_tool_generation.message,
2393
2393
  )
2394
2394
 
2395
2395
  # Yield final result
@@ -3014,7 +3014,7 @@ class Agent[T_Schema = WithoutStructuredOutput](BaseModel):
3014
3014
  chat_id, current_user_message
3015
3015
  )
3016
3016
  await self.conversation_store.add_message_async(
3017
- chat_id, generation.message.to_assistant_message()
3017
+ chat_id, generation.message
3018
3018
  )
3019
3019
 
3020
3020
  return self._build_agent_run_output(
@@ -3097,7 +3097,7 @@ class Agent[T_Schema = WithoutStructuredOutput](BaseModel):
3097
3097
  chat_id, current_user_message
3098
3098
  )
3099
3099
  await self.conversation_store.add_message_async(
3100
- chat_id, tool_call_generation.message.to_assistant_message()
3100
+ chat_id, tool_call_generation.message
3101
3101
  )
3102
3102
 
3103
3103
  return self._build_agent_run_output(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentle
3
- Version: 0.9.31
3
+ Version: 0.9.32
4
4
  Summary: ...
5
5
  Author-email: Arthur Brenno <64020210+arthurbrenno@users.noreply.github.com>
6
6
  License-File: LICENSE
@@ -1,7 +1,7 @@
1
1
  agentle/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  agentle/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  agentle/agents/__init__.py,sha256=Y_Vh4954BlEehGOufH79lCvWlgDaVPN6TF9bo4OXioY,10
4
- agentle/agents/agent.py,sha256=e5tiq87bBfGI8gp5FU8mIVlxEs81GUpg-JTkptA0EeU,213449
4
+ agentle/agents/agent.py,sha256=YJrfjjoqk-xgYBLfEuW88li_1li6qRsheiljZ39yNXo,213311
5
5
  agentle/agents/agent_config.py,sha256=tkssVo-cmldiQ6rDDkJ2xeK5NRIG3F-NgVhlXZGwCbM,4555
6
6
  agentle/agents/agent_config_dict.py,sha256=BzGyKdm0Hv86P0_r7xzK4HtzNVdwM0HtrtuDVCSGbI8,2813
7
7
  agentle/agents/agent_input.py,sha256=qckT3_pOGHclT8UViOjUeKCuGo0qigB_h6tYxOtwTXs,1447
@@ -1018,7 +1018,7 @@ agentle/web/actions/scroll.py,sha256=WqVVAORNDK3BL1oASZBPmXJYeSVkPgAOmWA8ibYO82I
1018
1018
  agentle/web/actions/viewport.py,sha256=KCwm88Pri19Qc6GLHC69HsRxmdJz1gEEAODfggC_fHo,287
1019
1019
  agentle/web/actions/wait.py,sha256=IKEywjf-KC4ni9Gkkv4wgc7bY-hk7HwD4F-OFWlyf2w,571
1020
1020
  agentle/web/actions/write_text.py,sha256=9mxfHcpKs_L7BsDnJvOYHQwG8M0GWe61SRJAsKk3xQ8,748
1021
- agentle-0.9.31.dist-info/METADATA,sha256=Bxiq2rY_WhZ3w98ZCshLt6UM_CfWuIUuJtK53Zq9aPw,86849
1022
- agentle-0.9.31.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1023
- agentle-0.9.31.dist-info/licenses/LICENSE,sha256=T90S9vqRS6qP-voULxAcvwEs558wRRo6dHuZrjgcOUI,1085
1024
- agentle-0.9.31.dist-info/RECORD,,
1021
+ agentle-0.9.32.dist-info/METADATA,sha256=3GykoKo9T5d89Mxuf7E-HD6yxWHDsiaIIxa41Z51Ua0,86849
1022
+ agentle-0.9.32.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1023
+ agentle-0.9.32.dist-info/licenses/LICENSE,sha256=T90S9vqRS6qP-voULxAcvwEs558wRRo6dHuZrjgcOUI,1085
1024
+ agentle-0.9.32.dist-info/RECORD,,