Skip to content

fix: honor lite as default search type - #466

Merged
kesku merged 1 commit into
mainfrom
kesku/default-search-type-lite
Oct 28, 2026
Merged

kesku merged 1 commit into
mainfrom
kesku/default-search-type-lite

Conversation

@kesku

@kesku kesku commented Oct 28, 2026

Copy link
Copy Markdown
Member

Summary

Fixes an issue where configuring lite as the default search type silently falls back to auto in the MCP server.

  • Accept lite alongside auto, fast, and instant for HTTP ?defaultSearchType= and the DEFAULT_SEARCH_TYPE environment variable.
  • Use a shared search type parser across HTTP and stdio configuration.

Behavior

  • lite is now forwarded correctly when configured as the default search type.
  • auto remains the default when no valid search type is configured.
  • Existing fast and instant configurations continue working unchanged.

Testing

  • npm run ci
  • git diff --check

@kesku
kesku force-pushed the kesku/default-search-type-lite branch from daf8af1 to 60be677 Compare October 28, 2026 19:24
@kesku
kesku merged commit 55cc85c into main Oct 28, 2026
1 check passed
@kesku
kesku deleted the kesku/default-search-type-lite branch November 5, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants