Skip to content

[codex] Add Bocha web search provider - #124

Open
NiTingKY wants to merge 1 commit into
aingdesk:mainfrom
NiTingKY:codex/bocha-search-provider
Open

[codex] Add Bocha web search provider#124
NiTingKY wants to merge 1 commit into
aingdesk:mainfrom
NiTingKY:codex/bocha-search-provider

Conversation

@NiTingKY

@NiTingKY NiTingKY commented Jun 3, 2026

Copy link
Copy Markdown

Summary

  • Add Bocha as a built-in web search provider for AingDesk's existing online search flow.
  • Expose Bocha in the default search engine selector.
  • Document the runtime environment variables needed for Bocha search.
  • Add focused tests for Bocha response mapping and provider registration.

Validation

  • npx.cmd vitest run electron/search_engines/bocha.test.ts -> 2 tests passed
  • npm.cmd run build-electron -> exit 0, with the existing ES2024 target warning from tsconfig.json
  • Real provider smoke test with BOCHA_SEARCH_API_KEY and BOCHA_SEARCH_RESULT_COUNT=3 -> returned 3 results

Notes

The Bocha API key is read from BOCHA_SEARCH_API_KEY at runtime and is not committed.

@NiTingKY
NiTingKY marked this pull request as ready for review June 3, 2026 09:47
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.

1 participant