Skip to content

[Bug]: delegation config doesn`t work #10653

@liuqinfu

Description

@liuqinfu

Bug Description

i have configed the delegation.provider,but it doesn`t work; i config a different provider and model to delegation, and i have updated hermes to the latest version 0.9.0, but when the main agent parallel runs tasks with some sub agents,sub agents will only use delegation.model and model.provider, delegation.provider is not useful,please help

Steps to Reproduce

1、config a different delegation provider in config.yaml egg:main provider is A, delegation provider is B
2、run hermes
3、send message "run with two parallel agents to tell me what model itself used"
4、when i got response, i went to the provider dashboard and check the token bill
5、i found that only token growth on A, B did have any token bill change
6、then i went to discord and i found other people have the same question, it seems a bug

Expected Behavior

when execute tasks with parallel sub agents,sub agents must use the delegation.provider and delegation.model to do tasks

Actual Behavior

when execute tasks with parallel sub agents,sub agents use the model.provider and delegation.model(if configed) to do tasks

Affected Component

Configuration (config.yaml, .env, hermes setup)

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

Report     https://paste.rs/164kS
  agent.log  https://paste.rs/rLF3N

Operating System

macos 26.3

Python Version

3.11.15

Hermes Version

v0.9.0 (2026.4.13)

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    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