Skip to content

Conversation

@cvbhjkl
Copy link

@cvbhjkl cvbhjkl commented Nov 29, 2025

Title

fix google_genai streamGenerateContent endpoint got multiple stream flag error

Relevant issues

#15587 #16910

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🐛 Bug Fix

Changes

remove stream flag from kwargs before calling GenerateContentToCompletionHandler.async_generate_content_handler to avoid TypeError: litellm.google_genai.adapters.handler.GenerateContentToCompletionHandler.async_generate_content_handler() got multiple values for keyword argument 'stream'

image

@vercel
Copy link

vercel bot commented Nov 29, 2025

@cvbhjkl is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link

CLAassistant commented Nov 29, 2025

CLA assistant check
All committers have signed the CLA.

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