Skip to content

Issue: CoStormRunner Session Reloading Resets LM Configurations #343

Open
@ShouryPandya

Description

@ShouryPandya

When saving a CoStormRunner session and reloading it, the language model (LM) configurations do not persist as expected. Instead, the session restores with default settings, causing inconsistencies between the saved and reloaded states.

Additionally, there’s a potential security risk where sensitive authentication details might be serialized along with the LM configurations.

Steps to Reproduce
Set up a CoStormRunner instance with custom LM configurations.
Start a session and interact (e.g., warm start or multiple conversation rounds).
Save the session using to_dict().
Reload it with from_dict().
Notice that the LM settings have reverted to default.
Expected Behavior
Custom LM configurations should be fully restored after reloading a saved session.
Authentication details should be properly managed and not serialized unintentionally.
Environment
OS: Ubuntu 22.04
Python Version: 3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions