Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix Gemini API content filter handling #746

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

rm-openai
Copy link
Collaborator

@rm-openai rm-openai commented May 23, 2025

Summary

  • avoid AttributeError when Gemini API returns None for chat message
  • return empty output if message is filtered
  • add regression test

Testing

  • make format
  • make lint
  • make mypy
  • make tests

Towards #744

@rm-openai rm-openai merged commit 6e078bf into main May 23, 2025
5 checks passed
@rm-openai rm-openai deleted the codex/fix-attributeerror-with-gemini-api-and-tools branch May 23, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants