Skip to content

[Bug]: server error on chat: cosine_better_than_threshold #1191

@promet99

Description

@promet99

Do you need to file an issue?

  • I have searched the existing issues and this bug is not already filed.
  • I believe this is a legitimate bug, not just a question or feature request.

Describe the bug

When chatting on lightrag-server I keep seeing this error. (Using openai for llm, ollama for embedding)

500 Internal Server Error
"{"detail":"'NoneType' object has no attribute 'cosine_better_than_threshold'"}"
/query/stream

Steps to reproduce

No response

Expected Behavior

No response

LightRAG Config Used

Paste your config here

Logs and screenshots

No response

Additional Information

  • LightRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:

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