Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Search Tool throws error #3

Open
leoplusx opened this issue Apr 10, 2023 · 0 comments
Open

Google Search Tool throws error #3

leoplusx opened this issue Apr 10, 2023 · 0 comments

Comments

@leoplusx
Copy link

Bot crashes as soon as it tries to perform a Google search:

telegram-chatgpt-concierge-bot/node_modules/googlethis/lib/core/main.js:70 throw new Utils.SearchError('Could not execute search', { ^ SearchError: Could not execute search at Object.search (/home/other_projects/telegram-chatgpt-concierge-bot/node_modules/googlethi/lib/core/main.js:70:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) { info: { status_code: 0, message: 'Request failed with status code 429' }, date: 2023-04-10T14:41:33.375Z, version: '1.7.1' }

Why does that happen?

Also, if it does happen, wouldn't it be better to let ChatGPT handle the error? Like, having the tool answer "Sorry, Google unavailable", so GPT can answer based on its own knowledge (maybe with a little disclaimer that it wasn't able to perform the search)?

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

No branches or pull requests

1 participant