mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
error
This commit is contained in:
parent
32a303b2bf
commit
d2de9a1e72
1 changed files with 2 additions and 0 deletions
|
|
@ -476,6 +476,8 @@ async def handle_sampling_create_message(
|
|||
|
||||
from litellm.proxy.litellm_pre_call_utils import add_litellm_data_to_request
|
||||
from litellm.proxy.proxy_server import proxy_config
|
||||
|
||||
completion_kwargs["user"] = getattr(user_api_key_auth, "user_id", None)
|
||||
|
||||
# We need a dummy FastAPI request object because add_litellm_data_to_request expects it
|
||||
_dummy_request = Request(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue