Skip to content

hermes的plugin目前用法看的应该可以再优化一下 #101

@gao1738

Description

@gao1738

Is this feature related to a problem? | 该功能需求是否与某个问题相关?请描述

目前hermes的对接是通过http gateway来做的,在hermes plugin的部分,选用的prefetch的钩子,但传递的只是system_prompt部分注入的内容,带来2个问题:
1、 长期记忆L1部分的召回丢失
2、system_prompt更适合system_prompt_block钩子,而不是prefetch钩子

Describe the solution you'd like | 描述你期望的解决方案

  1. system_prompt相关的记忆召回使用system_prompt_block钩子
  2. 把长期记忆L1相关的召回放到prefetch钩子

Describe alternatives you've considered | 描述你考虑过的其他方案

No response

Additional context | 补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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