如何通过华为CodeArts智能体帮我快速自动安装hermes

1. 选择本地目录:

F:\Hermes_Agent;

2. 打开CodeArts Agent:

(1)点击右键通过CodeArts Agent打开;

(2)如果还没有安装CodeArts Agent (华为云码道),参考:https://support.huaweicloud.com/qs-codeartssnap/codeartsdoer_qs_0001.html

3. 输入提示词:

"参考issue https://github.com/NousResearch/hermes-agent/issues/8806中的描述,在当前目录下使用uv构建一个python虚拟环境,并按照指导安装hermes agent";

过程截图如下:

4. 启动Hermes

5. 测试

5. FAQ

(1)配置API Key(这里以longcat举例):

在CodeArts Agent中输入如下提示词:

"请帮我配置API Key",并按照提示分别输入如下内容:

LLM:LongCat;

API Key:ak_2Bl6zN60H9cL3nd2F57MP16Y3284B

Base URL:https://api.longcat.chat/openai

(2)配置辅助 LLM 提供商:

报错如下:No auxiliary LLM provider configured --- context compression will drop middle turns without a summary. Run `hermes setup` or set OPENROUTER_API_KEY.

在CodeArts Agent中输入报错信息,将自动检查修正。

(3)API认证失败:

报错: Error: Error code: 401 - {'error': {'message': 'Missing Authentication header', 'code': 401}}

在CodeArts Agent中输入报错信息,将自动检查修正。

(4) hermes 未处理 custom_providers 的认证,未指定 provider

还是报错: Error: Error code: 401 - {'error': {'message': 'Missing Authentication header', 'code': 401}}

在CodeArts Agent中输入报错信息,将自动检查修正。

相关推荐
紧跟先前的步伐9 小时前
Go AI Agent 实战 24|工具系统工程化收尾与阶段验收
人工智能·ai·golang·1024程序员节
xzlAwin10 小时前
Win10 安装OpenClaw 龙虾
ai·openclaw·龙虾
qinglongcn14 小时前
当 Agent “很努力但没用”——伪进展检测
agent·ai编程
大模型真好玩14 小时前
DeepSeek Harness 插件的服务与事件监听详解
人工智能·agent·deepseek
IDIOT___IDIOT15 小时前
DSH 对话回收站(dsh-session-trash)
ai·dsh
玩AI的奶茶15 小时前
MiniMax H3 出 30 秒长片:显存账、拼接法和一次的成本
大数据·人工智能·ai·gpu算力·算力租赁
犀思云15 小时前
从SD-WAN到AI WAN:企业广域网能力演进与架构变化解读
ai·sd-wan·wan·企业广域网
阿里云云原生16 小时前
Durable Agent 详解:如何让 Agent 在云端长期稳定运行
agent
武子康16 小时前
手机加语音配件,断开连接后谁来保住这段话?
人工智能·后端·agent
DigitalOcean16 小时前
不受限于 Copilot,教你在 VS Code 中接入 GPT、Claude
agent·visual studio code