Skip to content

Test Failure: Working Directory Independence #5

@benbuzz790

Description

@benbuzz790

The test_working_directory_independence test in test_save_load.py is failing.

Error:

AssertionError: '15' not found in {'error': "Tool 'simple_addition' not found in function map"}

The test fails when attempting to use a loaded bot from a different working directory. The error indicates that the tool 'simple_addition' is not being properly preserved when loading the bot from a different directory.

Steps to reproduce:

  1. Run tests/test_save_load.py
  2. Look for test_working_directory_independence failure
  3. The specific failure occurs when trying to use the loaded bot after changing working directories

Impact:

  • Bots cannot be reliably loaded from different working directories
  • Tools are not properly preserved when loading from different locations
  • This limits the portability of saved bot states across different directory locations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions