Open Moshiii opened 8 months ago
Thanks @Moshiii, I'll look into improving on logging and also fix this issue with serialization early next week.
Thank you so much for the prompt reply. also, I am a researcher on software engineering topic. Is there any way to have a quick chat with the team for collaboration opportunities? thank you!
Thank you so much for the prompt reply. also, I am a researcher on software engineering topic. Is there any way to have a quick chat with the team for collaboration opportunities? thank you!
Join our discord and find us :D
Hi @Moshiii, looked a bit closer into this, will exclude WindowsPath or dump WindowsPath as string when serializing the agent unblock you?
im not sure what you mean. Can you share a piece of code I can run it on my end
cheng-tan @.***>于2024年4月15日 周一17:02写道:
Hi @Moshiii https://github.com/Moshiii, looked a bit closer into this, will exclude WindowsPath or dump WindowsPath as string when serializing the agent unblock you?
— Reply to this email directly, view it on GitHub https://github.com/microsoft/autogen/issues/2286#issuecomment-2057800298, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZUBJHYLRKDPHBRBDX7ERTY5Q55PAVCNFSM6AAAAABFYOGLQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXHAYDAMRZHA . You are receiving this because you were mentioned.Message ID: @.***>
you can add the WindowsPath object to here: https://github.com/microsoft/autogen/blob/main/autogen/logger/sqlite_logger.py#L224. Adding the field to exclude
will skip serializing that field, adding the object type to no_recursive
will serialize it to string
Thanks, I'll check it out.
cheng-tan @.***>于2024年4月16日 周二14:23写道:
you can add the WindowsPath object to here: https://github.com/microsoft/autogen/blob/main/autogen/logger/sqlite_logger.py#L224. Adding the field to exclude will skip serializing that field, adding the object type to no_recursive will serialize it to string
— Reply to this email directly, view it on GitHub https://github.com/microsoft/autogen/issues/2286#issuecomment-2059084710, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZUBJF2QOPW6VY252SQDYDY5UQ45AVCNFSM6AAAAABFYOGLQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGA4DINZRGA . You are receiving this because you were mentioned.Message ID: @.***>
@Moshiii did you manage to solve the issue? I am facing the same error currently and not sure on how to solve it!
I am also facing the same error currently and not sure on how to solve it! It occurred when tools call agent reply a list[BaseModel].
tools call function:
Book Model:
tool call tool_responses:
Please help me
I am also facing the same error currently and not sure on how to solve it! It occurred when tools call agent reply a list[BaseModel].
tools call function:
Book Model:
tool call tool_responses:
Please help me
I had test the function. It works correctly. But it reports the serializable error when called as tool executor and reply. @cheng-tan
Describe the bug
I want to log the output of the Agent using autogen.runtime_logging but it does not serialize the WindowsPath
Steps to reproduce
step 1: run the following code
step 2: get this output:
Model Used
gpt-3.5-turbo; gpt-4
Expected Behavior
it should execute without error
Screenshots and logs
No response
Additional Information
python version : Python.3.11