Skip to content

Queries reference unimported packages, raising NameErrors #28

@ccurme

Description

@ccurme

Queries might reference common packages-- including those in the standard library-- that are not in the namespace of the .query method.

A workaround is to add an instruction in the query to "import any packages you need", but this is cumbersome.

Consider leveraging langchain's PythonREPL and supporting agentic behavior (e.g., so that standard library packages can be imported when needed).

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