Skip to content

chore: prevent panics on invalid state input #313

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

Merged
merged 1 commit into from
May 8, 2024

Conversation

rinor
Copy link
Contributor

@rinor rinor commented May 3, 2024

added just enough checks to prevent some panics on invalid chat state inputs encountered while investigating #311

@rinor rinor force-pushed the chore/chat_state_checks branch 4 times, most recently from 3440dc0 to fe29015 Compare May 8, 2024 15:35
@rinor rinor force-pushed the chore/chat_state_checks branch from fe29015 to bd27bb5 Compare May 8, 2024 21:03
@ibuildthecloud
Copy link
Contributor

Did you hit a situation where you actually got a panic? I'm fine with this change, just curious if there's a bug elsewhere we need to fix.

@ibuildthecloud ibuildthecloud merged commit 22f30ad into gptscript-ai:main May 8, 2024
1 check passed
@rinor rinor deleted the chore/chat_state_checks branch May 9, 2024 06:31
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.

2 participants