microsoft / autogen

A programming framework for agentic AI 🤖
https://microsoft.github.io/autogen/
Creative Commons Attribution 4.0 International
30.69k stars 4.47k forks source link

[Bug]: Autobuild .save() doesn't record Function/Tools config information #2297

Open krishnashed opened 5 months ago

krishnashed commented 5 months ago

Describe the bug

Autobuild .save() doesn't record Function/Tools config information in the json

Steps to reproduce

Following the steps in this ipynb notebook: https://github.com/krishnashed/autogen/blob/main/notebook/autobuild_function_calling.ipynb

And after executing the step: builder.save()

the config gets saved as json, but it only contains information about: code_execution_config, default_llm_config, name, model, system_message, description of the AI Agent

It doesn't contain information about the list of Functions mapped to Agents

Model Used

gpt-4-1106-preview, gpt-4

Expected Behavior

The function mapping information should also be saved in the json file, when builder.save() is called

Screenshots and logs

No response

Additional Information

No response

ekzhu commented 5 months ago

@JieyuZ2 @LinxinS97