Skip to content

[Bug]: LLMBundle.encode can't update token usage #6601

@BadwomanCraZY

Description

@BadwomanCraZY

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

26D3480E

RAGFlow image version

26D3480E(V0.12.1~174)

Other environment information

Actual behavior

i choose the embedding model, it can help me to cut chunks, but it cant analyse.
with the log like:
LLMBundle.encode can't update token usage for d8bcb636087e11f093fa022937737b1e/EMBEDDING used_tokens: 3

Expected behavior

No response

Steps to reproduce

1.select the model
2.upload files
3.click analyse
4.wait the log show error

Additional information

you can get the error log in:
https://aao615odquw.feishu.cn/sheets/TKNfs1QrEhD6jbtxdpFcXqvtn2d?sheet=1ppq8j

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working, pull request that fix bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions