+
Skip to content

Conversation

austin-aryn-ai
Copy link
Contributor

No description provided.

if response.candidates[0].content is None:
import json
logger.info(f"Gemini model returned no content: {json.dumps(response.model_dump(), indent=4)}")
output = "_NO_VALUE_"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying to parse the output as json won't kill this yes? I guess it's dead anyway

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I think I will change this to an empty string. This was for debugging. I had trouble with an empty string in the log.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair

Copy link
Contributor

blacksmith-sh bot commented Oct 14, 2025

3 Jobs Failed:

Testing / integ-tests (3.10) failed on "Unknown Step"

Logs not found.

Testing / notebook-tests-docprep (3.10) failed on "Unknown Step"

Logs not found.

Testing / notebook-tests-slow (3.10) failed on "Unknown Step"

Logs not found.


Summary: 4 successful workflows, 1 failed workflow

Last updated: 2025-10-15 06:03:31 UTC

@austin-aryn-ai
Copy link
Contributor Author

 candidates=[Candidate(content=Content(parts=None, role='model'), citation_metadata=None, finish_message=None, token_count=None, finish_reason=<FinishReason.MAX_TOKENS: 'MAX_TOKENS'>,

I need to handle this case, too.

@austin-aryn-ai austin-aryn-ai enabled auto-merge (squash) October 15, 2025 03:38
@austin-aryn-ai austin-aryn-ai merged commit 9e0afbf into main Oct 15, 2025
10 of 23 checks passed
@austin-aryn-ai austin-aryn-ai deleted the austin/gemini_error branch October 15, 2025 06:38
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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载