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

don't access undefined num_sessions, use len(sessions) and remind the user to create sessions #1227

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oxue
Copy link

@oxue oxue commented Mar 2, 2025

if user doesn't create sessions before invoking things that depend on _get_session, raise an error instead of trying to access undefined self.num_sessions

… _get_session, raise an error instead of trying to access undefined self.num_sessions
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