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

Add staging to workflow target; fix circular imports in autogen_agentchat #3651

Merged
merged 4 commits into from
Oct 4, 2024

Conversation

ekzhu
Copy link
Collaborator

@ekzhu ekzhu commented Oct 4, 2024

  • Turned on checks for PR to staging
  • Fix circular imports
  • lint

In autogen_agentchat logging moved to autogen_agentchat.teams module, so:

from autogen_agentchat.teams import EVENT_LOGGER_NAME, ConsoleLogHandler, FileLogHandler

This is because both log handlers handle events that are emitted by the team. This also fixed the circular imports as within the team it imports the log handler, but the log handler also imports the event types from the team

@ekzhu ekzhu requested a review from victordibia October 4, 2024 00:44
@ekzhu ekzhu changed the title Fix formatting and remove duplicated import of EVENT_LOGGER_NAME in agentchat Add staging to workflow target, remove duplicated import of EVENT_LOGGER_NAME in agentchat, and lint Oct 4, 2024
@ekzhu ekzhu requested a review from jackgerrits October 4, 2024 00:51
@ekzhu ekzhu changed the title Add staging to workflow target, remove duplicated import of EVENT_LOGGER_NAME in agentchat, and lint Add staging to workflow target; fix circular imports in autogen_agentchat Oct 4, 2024
@jackgerrits jackgerrits mentioned this pull request Oct 4, 2024
3 tasks
@jackgerrits jackgerrits merged commit 25d006c into staging Oct 4, 2024
27 checks passed
@jackgerrits jackgerrits deleted the ekzhu-lint branch October 4, 2024 14:22
rysweet added a commit that referenced this pull request Oct 8, 2024
* add logging to agentchat

* Update magentic-one readme with the latest numbers (a complete set of results on WebArena, and updated results for GAIA)

* make logging independent module

* move logging module to root of agent_chat

* Add staging to workflow target; fix circular imports in autogen_agentchat (#3651)

* Fix formatting and remove duplicated import of EVENT_LOGGER_NAME in agentchat

* add staging to target in checks

* add staging to target in checks for dotnet

* Fix circular imports

* Add all redirect links (#3659)

* generate docs on push, deploy on main

* Remove accidentally added files from 0.2 (#3661)

* try fix docs CI (#3660)

Co-authored-by: Eric Zhu <[email protected]>

* fix: remove subscription on client disconnect in worker runtime (#3653)

* remove subscription on client disconnect in worker runtime

* address PR feedback

* remove outdated comment

* remove public properties

* fix mypy issue

* address PR feedback

---------

Co-authored-by: Jack Gerrits <[email protected]>

* Move tools to agent in `agentchat`; refactored logging to support tool events (#3665)

* Move tool to agent; refactor logging in agentchat

* Update notebook

* [.Net] Remove merging primitive from .editorconfig and gitignore (#3676)

* remove merging primitive from .editorconfig and gitignore

* use file scope namespace

* remove file-scope name

* fix format

* Add poethepoet to dev deps (#3675)

Co-authored-by: Eric Zhu <[email protected]>

---------

Co-authored-by: Victor Dibia <[email protected]>
Co-authored-by: Adam Fourney <[email protected]>
Co-authored-by: gagb <[email protected]>
Co-authored-by: Eric Zhu <[email protected]>
Co-authored-by: Jack Gerrits <[email protected]>
Co-authored-by: Jack Gerrits <[email protected]>
Co-authored-by: Mohammad Mazraeh <[email protected]>
Co-authored-by: Xiaoyun Zhang <[email protected]>
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.

3 participants