bug: uwf setup --agent 写入双重 uwf- 前缀 #533

Closed
opened 2026-05-26 05:44:55 +00:00 by xiaomo · 0 comments
Owner

Problem

uwf setup --agent uwf-hermes 写入 config 的 command 是 uwf-uwf-hermes(双重 uwf- 前缀),导致 thread exec 找不到 agent binary。

Reproduction

uwf setup --provider x --base-url x --api-key x --model x --agent uwf-hermes
cat ~/.uncaged/workflow/config.yaml
# agents.uwf-hermes.command = "uwf-uwf-hermes"  ← 错误

Expected

agent alias uwf-hermes 对应 command 应为 uwf-hermes,不应再加 uwf- 前缀。

## Problem `uwf setup --agent uwf-hermes` 写入 config 的 command 是 `uwf-uwf-hermes`(双重 `uwf-` 前缀),导致 thread exec 找不到 agent binary。 ## Reproduction ```bash uwf setup --provider x --base-url x --api-key x --model x --agent uwf-hermes cat ~/.uncaged/workflow/config.yaml # agents.uwf-hermes.command = "uwf-uwf-hermes" ← 错误 ``` ## Expected agent alias `uwf-hermes` 对应 command 应为 `uwf-hermes`,不应再加 `uwf-` 前缀。
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#533