Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(agent_builder): fix agent builder error when using file_location. #37

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

kev1nzh37
Copy link
Contributor

 builder = agent_builder.AgentBuilder(
        builder_model=single_llm_model,
        agent_model=single_llm_model,
        config_file_location="./settings",
        config_file_or_env="config_list.json",
 )

When I use config_file_location, AgentBuilder reports an error due to an unassigned parameter in autogen.config_list_from_json on line 206.

Here's the error message, it looks like you just need to add file_location to solve the problem.

image

Copy link
Collaborator

@LeoLjl LeoLjl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

@LeoLjl LeoLjl self-requested a review November 20, 2024 01:37
@qingyun-wu
Copy link
Collaborator

Hi @kev1nzh37 thanks for your contribution! Are you a first-time contributor to this repo? What's your discord id?

@kev1nzh37
Copy link
Contributor Author

Hi @kev1nzh37 thanks for your contribution! Are you a first-time contributor to this repo? What's your discord id?

Yes, this is my first time contributing to this repo. My Discord ID is 1022380778698575912.

@sonichi sonichi merged commit 6ea6d28 into ag2ai:main Nov 20, 2024
157 of 164 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants