mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-23 10:26:09 +00:00
fix back
This commit is contained in:
@@ -38,8 +38,8 @@ class GenerateContentToCompletionHandler:
|
||||
completion_kwargs: Dict[str, Any] = dict(completion_request)
|
||||
|
||||
# feed metadata for custom callback
|
||||
# if 'metadata' in extra_kwargs:
|
||||
# completion_kwargs['metadata'] = extra_kwargs['metadata']
|
||||
if 'metadata' in extra_kwargs:
|
||||
completion_kwargs['metadata'] = extra_kwargs['metadata']
|
||||
|
||||
if stream:
|
||||
completion_kwargs["stream"] = stream
|
||||
|
||||
Reference in New Issue
Block a user