fix: update You.com Search endpoint to latest docs - #4
Conversation
PR SummaryMedium Risk Overview Switches the default API key env var to Reviewed by Cursor Bugbot for commit 6e4c62a. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 042198f. Configure here.
042198f to
a2fb76e
Compare
a2fb76e to
6e4c62a
Compare

Thanks again for reviewing this integration. I noticed the initial implementation used a legacy You.com Search endpoint shape, so this follow-up aligns with the latest docs from the official youdotcom-api skill.\n\n### What changed\n- Update default endpoint to \n- Use query param (instead of legacy )\n- Prefer env var (with kept as a backward-compatible alias)\n- Update README examples and function signature docs to match current API contract\n\n### Validation\n- \n\n### Compatibility\n- Existing users with continue to work.\n- Existing call sites remain unchanged unless they explicitly override endpoint/params.\n\nHappy to adjust naming or env-var strategy if you prefer stricter conventions.