Fix a subtle bug: modelDefault doesn’t apply when provider === "auto"#2576
Merged
gumadeiras merged 5 commits intoopenclaw:mainfrom Jan 27, 2026
Merged
Fix a subtle bug: modelDefault doesn’t apply when provider === "auto"#2576gumadeiras merged 5 commits intoopenclaw:mainfrom
modelDefault doesn’t apply when provider === "auto"#2576gumadeiras merged 5 commits intoopenclaw:mainfrom
Conversation
1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?)
Remove redundant hasRemote variable and simplify includeRemote condition.
oxfmt-friendly version
Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
Member
|
Landed via temp rebase onto main.
Thanks @papago2355! |
Contributor
Author
|
@gumadeiras |
Member
|
which issues are you having? |
Contributor
Author
Several CI checks are failing, mainly around tests and formatting. |
Member
|
The fix was already merged into main 6c451f4 |
Contributor
Author
|
Ah, got it now. Thanks for the clarification |
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Jan 31, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Jan 31, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Jan 31, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Jan 31, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Jan 31, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Jan 31, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Jan 31, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Jan 31, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Jan 31, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Feb 1, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Feb 1, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Feb 1, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Feb 1, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
YuriNachos
pushed a commit
to YuriNachos/clawdbot-fork
that referenced
this pull request
Feb 1, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
bestNiu
pushed a commit
to bestNiu/clawdbot
that referenced
this pull request
Feb 5, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
3 tasks
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
…o" (openclaw#2576) * Fix a subtle bug: `modelDefault` doesn’t apply when provider === "auto" 1.Fix bugs when provider === "auto" which can lead model end up get "" 2. Fix to only include remote if you actually have any remote fields. (Is this intentional?) * Refactor memory-search.ts to simplify remote checks Remove redundant hasRemote variable and simplify includeRemote condition. * oxfmt-friendly version oxfmt-friendly version * fix: local updates for PR openclaw#2576 Co-authored-by: papago2355 <papago2355@users.noreply.github.com> * fix: memory search auto defaults (openclaw#2576) (thanks @papago2355) --------- Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com> Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
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.
1.Fix bugs when provider === "auto" which can lead model end up get ""
Have seen many possibly dangerous 'behave as if config is set'