Skip to content

[Enhancement]: Unfriendly Error Messages of OnlineEmbeddingModule #892

@chenzhex

Description

@chenzhex

Current Behavior

When I use this module like this, the error message is confusing because lazyllm supports the model but reports an error KeyError.

Image

Improvement Suggestions

Optimize the error experience and put the keyword of embed_model_name in the first place, just like OnlineModule.

Benefits of Improvement

It helps users maintain a consistent syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions