Skip to content

08context_compact问题 #359

@yz1qaq

Description

@yz1qaq

1.为什么在tool_result_budget函数中,最大的字符数称作max_bytes呢?考虑到中文字符,叫bytes是否不太合理.
2.为什么不把压缩工具注册到TOOL_HANDLERS中呢?其次,如果让模型自动调用压缩工具,这个工具又会调用模型,如果出现调用错误,会不会导致递归调用呢?
求大神指教

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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