We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Occasionally when calling gemini.ask the response throws the following error:
gemini.ask
256 | } 257 | return parts; 258 | }; 259 | var _Gemini = class _Gemini { 260 | constructor(key, options = {}) { 261 | this.getTextObject = (response) => response.candidates[0].content.parts[0]; ^ TypeError: undefined is not an object (evaluating 'response.candidates[0].content.parts') at /Users/danew/development/github/SaneFYI/dbjs/node_modules/gemini-ai/dist/index.mjs:261:63 at /Users/danew/development/github/SaneFYI/dbjs/node_modules/gemini-ai/dist/index.mjs:275:23
gemini-ai/src/index.ts
Line 282 in 5f843df
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Occasionally when calling
gemini.ask
the response throws the following error:gemini-ai/src/index.ts
Line 282 in 5f843df
The text was updated successfully, but these errors were encountered: