Skip to content

[Feature]bot转发消息和知识库的建议 #8791

@BA7LCY

Description

@BA7LCY

Description / 描述

  1. bot转发消息默认是astrbot希望可以跟bot名字同步,要不然转发的时候有点出戏,每次更新我都要修改
    AstrBot/astrbot/core/pipeline/result_decorate/stage.py line396

  2. 知识库我传了一百多个文档,显示all的时候只能显示100个,直接搜文档名字搜不到,然后同名文件不会覆盖。这样搞的我不知道有没有重复上传或者漏传。让bot看代码
    kb_helper.pylist_documents 方法里:

async def list_documents(
    self,
    offset: int = 0,
    limit: int = 100,  # 硬编码
) -> list[KBDocument]:

同名文件在存的时候会被分配不同的 UUID

不知道开发者有没有时间修改更好一些,没想法的话就block吧,我自己版本更新手动修改也是可以的

Use Case / 使用场景

No response

Willing to Submit PR? / 是否愿意提交PR?

  • Yes, I am willing to submit a PR. / 是的,我愿意提交 PR。

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreThe bug / feature is about astrbot's core, backendenhancementNew feature or requestfeature:knowledge-baseThe bug / feature is about knowledge base

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions