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

nternal server error: task 31 panicked with message "converting to session from json is okay: C:\Users\VINAY\AppData\Roaming\codestory\sidecar\data\session\f2fcbb6c-0a8c-4644-9247-5e139e6842c6: Error("missing field variables", line: 1, column: 766173)". W (Run ID: codestoryai_aide_issue_1275_c31288f5) #1276

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

Conversation

theskcd
Copy link
Contributor

@theskcd theskcd commented Feb 11, 2025

agent_instance: codestoryai_aide_issue_1275_c31288f5 Tries to fix: #1275

Bug Fix: Resolved an issue where chat sessions would fail to deserialize due to a missing "variables" field. The session deserialization logic now handles missing "variables" fields gracefully by defaulting to an empty collection, preventing panics and ensuring correct session loading. Please review these changes.

This commit message follows the conventional commits format and describes the main change: making the variables field in UserContext optional and updating related code to handle undefined cases.
@laz-001
Copy link

laz-001 commented Feb 15, 2025

/agent the PR title is far too long

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants