mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-06 05:17:15 +00:00
15 lines
553 B
Python
15 lines
553 B
Python
"""Pure-data factory for auxiliary model configuration defaults."""
|
|
|
|
|
|
def _aux(timeout, *, reasoning_effort=True, **extra):
|
|
"""Standard auxiliary-task model block (see DEFAULT_CONFIG["auxiliary"]).
|
|
|
|
reasoning_effort=False omits that key (MoA blocks configure depth per slot);
|
|
``extra`` keys are appended after the standard ones.
|
|
"""
|
|
d = {"provider": "auto", "model": "", "base_url": "", "api_key": "", "timeout": timeout, "extra_body": {}}
|
|
if reasoning_effort:
|
|
d["reasoning_effort"] = ""
|
|
d.update(extra)
|
|
return d
|