You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Cron job model unable to override profile model (Not sure if this is a bug or is a stand design) #46506
I actually created a subagent and set up the Openrouter model in the profile. But I would like to use the local Ollama model for the daily cron job for this agent. And eventually, it doesn't work.
The AI responded back to me:
Found that the cron job model override with provider: ollama was not actually routing to Ollama — it was still going through OpenRouter (base_url: null in jobs.json).
The cron job model override only affects the cron session. When you talk to an agent directly in their own profile session, they use whatever is in their profile's config.yaml — which is still the OpenRouter model.
Is there a way we can separate the models to use them? Or is this a bug or design structure?
The reason is to save costs when a CRON job runs using a local LLM.
Steps to Reproduce
Create SubAgent
setup profile Provider model
create cron job
setup cron job with different provider and models
doesn't work
Expected Behavior
we can separate models by different section.
Actual Behavior
Hermes still using that the cron job model override with provider: ollama was not actually routing to Ollama — it was still going through OpenRouter
Affected Component
Skills (skill loading, skill hub, skill guard)
Messaging Platform (if gateway-related)
No response
Debug Report
none
Operating System
Windows 11
Python Version
No response
Hermes Version
0.16.0
Additional Logs / Traceback (optional)
Thx, Right now I have 8 sub-agents that is running, but I just want to use local LLM for them on the cron jobs.
This is an automated hermes-sweeper review. Current main already supports the requested independent cron inference routing.
cron/scheduler.py:2805-2929 gives per-job model/provider/base_url precedence and resolves that runtime for each cron execution.
cron/scheduler.py:3046-3051 passes the resolved model, provider, and endpoint to the fresh cron AIAgent.
tools/cronjob_tools.py:1123-1137 persists the agent-facing model/provider override and forwards base_url.
Commit 28b3764d1e2c015585fe9dca017fed8f3664ebb7 (fix(cron): support per-job runtime overrides) added this behavior and coverage; it is contained in release v2026.3.17.
For Ollama, set the cron job's endpoint explicitly (for example http://localhost:11434/v1); hermes_cli/runtime_provider.py:917-972 routes the local alias through the custom endpoint path rather than the profile's OpenRouter route.
The later linked duplicate #49046 describes the same provider/model/base_url override path; its reported fallback is addressed by the current implementation.
Activity
teknium1 commentedon Jul 14, 2026
This is an automated hermes-sweeper review. Current
mainalready supports the requested independent cron inference routing.cron/scheduler.py:2805-2929gives per-job model/provider/base_url precedence and resolves that runtime for each cron execution.cron/scheduler.py:3046-3051passes the resolved model, provider, and endpoint to the fresh cronAIAgent.tools/cronjob_tools.py:1123-1137persists the agent-facing model/provider override and forwardsbase_url.28b3764d1e2c015585fe9dca017fed8f3664ebb7(fix(cron): support per-job runtime overrides) added this behavior and coverage; it is contained in releasev2026.3.17.http://localhost:11434/v1);hermes_cli/runtime_provider.py:917-972routes the local alias through the custom endpoint path rather than the profile's OpenRouter route.The later linked duplicate #49046 describes the same provider/model/base_url override path; its reported fallback is addressed by the current implementation.