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

Expand .text error descriptions. #527

Merged
merged 4 commits into from
Sep 11, 2024
Merged

Conversation

MarkDaoust
Copy link
Collaborator

@MarkDaoust MarkDaoust commented Aug 26, 2024

Expand error descriptions to give more guidance.

  1. No candidates: Show prompt feedback if set.
  2. No parts?
    1. Show the finish_reason.
    2. Show the finish_message (is this ever set)
    3. Customize error messages to provide more links & info.

Fixes:#170
Fixes:#196

Change-Id: I8599dafc9e5084a43f2ce482644d0e9e16b61061
Change-Id: Ia01fef6de0c0787461127c0112cbfe4e8c4cf8d8
Change-Id: I16a3c1964284d16efb48073662901454d4e4a6a1
Change-Id: Iee130a7e58f2cfbc1001808ac892f119338626eb
@markmcd markmcd merged commit 1ccbc5a into google-gemini:main Sep 11, 2024
9 checks passed
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:python sdk Issue/PR related to Python SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants