fix: cron model fallback to agent defaults when payload.model fails#26717
Merged
shakkernerd merged 3 commits intoopenclaw:mainfrom Feb 25, 2026
Merged
fix: cron model fallback to agent defaults when payload.model fails#26717shakkernerd merged 3 commits intoopenclaw:mainfrom
shakkernerd merged 3 commits intoopenclaw:mainfrom
Conversation
c6fa01f to
8342b64
Compare
c56e198 to
06454bd
Compare
Member
|
Merged via squash. Thanks @Youyou972! |
This was referenced Feb 26, 2026
brianleach
pushed a commit
to brianleach/openclaw
that referenced
this pull request
Feb 26, 2026
…penclaw#26717) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 06454bd Co-authored-by: Youyou972 <50808411+Youyou972@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com> Reviewed-by: @shakkernerd
2 tasks
execute008
pushed a commit
to execute008/openclaw
that referenced
this pull request
Feb 27, 2026
…penclaw#26717) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 06454bd Co-authored-by: Youyou972 <50808411+Youyou972@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com> Reviewed-by: @shakkernerd
r4jiv007
pushed a commit
to r4jiv007/openclaw
that referenced
this pull request
Feb 28, 2026
…penclaw#26717) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 06454bd Co-authored-by: Youyou972 <50808411+Youyou972@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com> Reviewed-by: @shakkernerd
vincentkoc
pushed a commit
to Sid-Qin/openclaw
that referenced
this pull request
Feb 28, 2026
…penclaw#26717) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 06454bd Co-authored-by: Youyou972 <50808411+Youyou972@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com> Reviewed-by: @shakkernerd
vincentkoc
pushed a commit
to rylena/rylen-openclaw
that referenced
this pull request
Feb 28, 2026
…penclaw#26717) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 06454bd Co-authored-by: Youyou972 <50808411+Youyou972@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com> Reviewed-by: @shakkernerd
6 tasks
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 1, 2026
…penclaw#26717) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 06454bd Co-authored-by: Youyou972 <50808411+Youyou972@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com> Reviewed-by: @shakkernerd (cherry picked from commit 15cfba7) # Conflicts: # CHANGELOG.md # src/cron/isolated-agent/run.skill-filter.test.ts
steipete
pushed a commit
to Sid-Qin/openclaw
that referenced
this pull request
Mar 2, 2026
…penclaw#26717) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 06454bd Co-authored-by: Youyou972 <50808411+Youyou972@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com> Reviewed-by: @shakkernerd
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 3, 2026
…penclaw#26717) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 06454bd Co-authored-by: Youyou972 <50808411+Youyou972@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com> Reviewed-by: @shakkernerd (cherry picked from commit 15cfba7) # Conflicts: # CHANGELOG.md # src/cron/isolated-agent/run.skill-filter.test.ts
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
…penclaw#26717) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 06454bd Co-authored-by: Youyou972 <50808411+Youyou972@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com> Reviewed-by: @shakkernerd
thebenjaminlee
pushed a commit
to escape-velocity-ventures/openclaw
that referenced
this pull request
Mar 7, 2026
…penclaw#26717) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 06454bd Co-authored-by: Youyou972 <50808411+Youyou972@users.noreply.github.com> Co-authored-by: shakkernerd <165377636+shakkernerd@users.noreply.github.com> Reviewed-by: @shakkernerd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When a cron job specifies
payload.modeland that model is not in the allowed list, the job now gracefully falls back to the agent's default model chain instead of hard-failing.Changes
src/cron/isolated-agent/run.ts: Instead of returning an error whenresolveAllowedModelRef()fails forpayload.model, log a warning and skip the model override (letting the agent default model chain handle it)src/cron/isolated-agent/run.skill-filter.test.ts: Added tests for both the fallback path and the happy pathBefore
After
Fixes #26786