Skip to content

[Bug]: Multimodel memory encounters an error message when returning 400 for a LLM #273

@Ripcord55

Description

@Ripcord55

Describe the bug

Multimodel memory encounters an error message when returning 400 for a LLM

Image

Environment

0.5.0 dev

Fast reproduce steps

Invalid image URL → Large model returns 400 (Missing Content Length) → throws "Error while processing image..." exception, resulting in "Failed to add memory".

Expected behavior

Expected behavior: Do not throw exceptions, return empty results (such as {"results": [], "relations": {}}).

Actual behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions