fix(workflow-utils): omit --model/--provider when not explicitly set #223
Reference in New Issue
Block a user
Delete Branch "fix/222-hermes-role-no-default-model"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Stop passing
--model auto --provider autoto hermes when not explicitly configured.Why
Custom providers return 404 for model name
"auto". Hermes should use its own config defaults.Changes
hermes-options.ts— default toundefinedinstead of"auto"hermes-agent.ts— conditionally include args only when definedrole-types.ts— type asstring | undefinedFixes #222
323ba75ebfto1efdc4dcd1LGTM ✅
简洁正确,
T | null符合项目规范。让 hermes 用自己的 config defaults 而非强制传auto。