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

Feature/fix agent status reporting #28

Open
wants to merge 3 commits into
base: nightly
Choose a base branch
from

Conversation

zomux
Copy link
Contributor

@zomux zomux commented Apr 5, 2025

Fix agent status reporting so that agents update the status through the message client

Raphael Shu added 2 commits April 4, 2025 17:40
The checkpoint can be obtained through chorus.save_checkpoint().
@zomux zomux requested review from Copilot and ybdarrenwang April 5, 2025 06:54
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

try:
status_str = payload["status"]
status = AgentStatus(status_str) # Convert string to enum
current_timestamp = int(time.time())
Copy link
Preview

Copilot AI Apr 5, 2025

Choose a reason for hiding this comment

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

The function uses time.time() but there is no 'import time' statement in this file. Please add 'import time' at the top of the file to ensure proper execution.

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

import time is Line 4

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.

1 participant