Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix channel subscriber conditions#139

Merged
shima004 merged 2 commits into
main from
fix/channel-subscribe
Apr 6, 2026
Merged

Fix channel subscriber conditions #139
shima004 merged 2 commits into
main from
fix/channel-subscribe

Conversation

@shima004

@shima004 shima004 commented Apr 6, 2026

Copy link
Copy Markdown
Member

This pull request makes a targeted change to the subscription logic in the MessageManager class to improve how agent subscription timing is handled. Instead of subscribing agents at time 1, the logic now considers a scenario-specific offset, improving flexibility and correctness in agent initialization.

Subscription timing logic update:

  • Updated the condition in the subscribe method of message_manager.py to subscribe agents when agent_info.get_time() equals the scenario's KERNEL_AGENTS_IGNOREUNTIL value plus one, instead of always at time 1. This allows for scenario-based control over when agents begin subscribing.

@shima004 shima004 self-assigned this Apr 6, 2026
@shima004 shima004 merged commit f06738f into main Apr 6, 2026
4 checks passed
@shima004 shima004 deleted the fix/channel-subscribe branch April 6, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /