这是indexloc提供的服务,不要输入任何密码
Skip to content

[BUG]: VecDB page doesn't catch erroneous env selections #4606

@jonathanortega2023

Description

@jonathanortega2023

How are you running AnythingLLM?

Docker (local)

What happened?

When an invalid VecDB selection is written in env, the page fails to render and has an ambiguous error:

Uncaught TypeError: Cannot read properties of undefined (reading 'logo')
    at GeneralVectorDatabase (index.jsx:296:48)

Might be ideal behavior to fallback on LanceDB in the selector.

Are there known steps to reproduce?

In server/.env, set VECTOR_DB to anything erroneous.

Metadata

Metadata

Assignees

No one assigned

    Labels

    possible bugBug was reported but is not confirmed or is unable to be replicated.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions