We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 002c2f1 commit e05ffcfCopy full SHA for e05ffcf
litellm/google_genai/adapters/handler.py
@@ -38,8 +38,8 @@ def _prepare_completion_kwargs(
38
completion_kwargs: Dict[str, Any] = dict(completion_request)
39
40
# feed metadata for custom callback
41
- # if 'metadata' in extra_kwargs:
42
- # completion_kwargs['metadata'] = extra_kwargs['metadata']
+ if 'metadata' in extra_kwargs:
+ completion_kwargs['metadata'] = extra_kwargs['metadata']
43
44
if stream:
45
completion_kwargs["stream"] = stream
0 commit comments