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: added agent name to client.create calls to prevent runtime loggi… #47

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

LaraNonino
Copy link
Collaborator

@LaraNonino LaraNonino commented Sep 30, 2024

Fix: added agent name to client.create calls to prevent runtime logging error (microsoft#3507)

  • Modified the client.create call in multimodal_conversable_agent.py by adding agent=self.name as a parameter.
  • Updated the client.create call in society_of_mind_agent.py with agent=self.name.

These changes ensure that the agent's name is passed correctly, preventing the NoneType error during runtime logging in MultimodalConversableAgent.

@BabyCNM
Copy link
Collaborator

BabyCNM commented Oct 2, 2024

The multimodal part looks good to me, but I am not sure about the client side. If we can pass the test cases, I think it should be good.

Copy link
Collaborator

@BabyCNM BabyCNM left a comment

Choose a reason for hiding this comment

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

LGTM, let's see the test cases.

@marklysze
Copy link
Collaborator

Okay, have tested both and they are working. Thanks @LaraNonino!

I can pytest the test_lmm.py but not test_society_of_mind_agent.py. Wouldn't think there would be an issue, let's just confirm that it will pass.

@sonichi
Copy link
Collaborator

sonichi commented Oct 3, 2024

@LaraNonino thanks for your contribution. Are you on Discord? I'd like to follow up and acknowledge your contribution there.

@sonichi sonichi merged commit c8e296a into autogenhub:main Oct 3, 2024
146 of 153 checks passed
@LaraNonino
Copy link
Collaborator Author

Thank you for taking time to review it and merging. I reached out on discord.

odoochain pushed a commit to odoochain/autogen that referenced this pull request Nov 10, 2024
* replace Event to CloudEvent WIP

* switch to CloudEvents

* dapr implementation WIP

* fix namespaces and dapr sdk weirdness

* WIP

* dapr support WIP

* dapr WIP

* dapr WIP

* dapr semi-working implementation

* fix mapping  bug

* dapr reminders in sandbox

* fix prompts

* merge almost done

* switch to Newtnsoft serialization for Marketing

* add event surogate for Orleans serialization

* remove newtnsoft serialization (not needed)

* cleanup appsettings in marketing sample
odoochain pushed a commit to odoochain/autogen that referenced this pull request Nov 10, 2024
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