Skip to content

Fix how Tools are stored. #111

Open
Open
@andreibondarev

Description

@andreibondarev

Currently when using the langchainrb_rails:assistant generator, we just store the class names of tools: https://github.com/patterns-ai-core/langchainrb_rails/blob/main/lib/langchainrb_overrides/assistant.rb#L27. This is problematic as tools are oftentimes instantiated with various environment variables. Should we store the initialization info as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions