Skip to content

can only concatenate str (not "dict") to st #153

Description

@candiceche

Expected behavior
The lida.visualize() method should accept a valid, instantiated Summary object and Goal object and proceed to generate the visualization code without raising a TypeError.

Actual behavior
The method fails with the error TypeError: can only concatenate str (not "dict") to str. The traceback points to an issue deep within the library's prompt construction logic when handling the summary object.

Additional context
This issue makes it very difficult to use the lower-level summarize -> visualize workflow. The error suggests that the visualize method may have an undocumented dependency on internal state or context that is only created when using the library's higher-level methods.

Thank you for your work on this promising library! I hope this report is helpful for tracking down the issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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