AgnesAI-Models icon indicating copy to clipboard operation
AgnesAI-Models copied to clipboard

[Bug]: 模型添加进 litellm,用hermes 调用会出现 嘴炮的情况 为什么?

Open chioio opened this issue 4 months ago • 1 comments

Summary

我将 agnes 2.0 flash 配置进 litellm,使用 hermes 调用 会出现 嘴炮的情况,不执行 tools,hermes 采用的 codex_responses 请求

Steps to reproduce

1.将 agnes 2.0 flash 配置进 litellm 2.使用 hermes 调用 会出现 嘴炮的情况,不执行 tools 3.hermes 采用的 codex_responses 请求

Expected behavior

能够正常调用 tools 工具,不再打嘴炮

Actual behavior

嘴炮 agent,光说话,不执行

Environment

No response

chioio avatar Jul 07 '26 15:07 chioio

感谢反馈。

这个问题可能与 Hermes 使用的 codex_responses 请求格式和 tool calling 兼容性有关。请先更新到最新的 Codex++ 版本后再重新测试。

新版 Codex++ 已对相关调用链路做了优化。如果更新后仍然出现“只返回自然语言、不执行 tools”的情况,麻烦继续补充以下信息,方便我们进一步定位:

  • LiteLLM 版本
  • Hermes 版本
  • Codex++ 版本
  • LiteLLM 模型配置
  • 实际请求 payload
  • 模型返回“只说话、不调用工具”的 response 示例

我们会继续确认问题是在 Agnes 模型侧、LiteLLM 适配层,还是 Hermes / Codex++ 的请求格式转换侧。

agnesai-admin avatar Jul 09 '26 06:07 agnesai-admin