mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
fixes - anthropic messages interface
This commit is contained in:
parent
9eb9a369bb
commit
8499a88e4a
1 changed files with 1 additions and 2 deletions
|
|
@ -141,8 +141,6 @@ async def anthropic_messages(
|
|||
},
|
||||
custom_llm_provider=_custom_llm_provider,
|
||||
)
|
||||
litellm_logging_obj.model_call_details.update(kwargs)
|
||||
|
||||
# Prepare request body
|
||||
request_body = locals().copy()
|
||||
request_body = {
|
||||
|
|
@ -157,6 +155,7 @@ async def anthropic_messages(
|
|||
request_body["stream"] = stream
|
||||
request_body["model"] = model
|
||||
litellm_logging_obj.stream = stream
|
||||
litellm_logging_obj.model_call_details.update(request_body)
|
||||
|
||||
# Make the request
|
||||
request_url = anthropic_messages_provider_config.get_complete_url(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue