* 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 #2576
Co-authored-by: papago2355 <papago2355@users.noreply.github.com>
* fix: memory search auto defaults (#2576) (thanks @papago2355)
---------
Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com>
Co-authored-by: papago2355 <papago2355@users.noreply.github.com>