forked from phoenix/litellm-mirror
Merge pull request #4065 from BerriAI/litellm_use_common_func
[Refactor] - Refactor proxy_server.py to use common function for `add_litellm_data_to_request`
This commit is contained in:
commit
d9dacc1f43
8 changed files with 264 additions and 806 deletions
|
@ -4927,7 +4927,6 @@ def get_litellm_params(
|
|||
input_cost_per_token=None,
|
||||
output_cost_per_token=None,
|
||||
output_cost_per_second=None,
|
||||
litellm_parent_otel_span=None,
|
||||
):
|
||||
litellm_params = {
|
||||
"acompletion": acompletion,
|
||||
|
@ -4950,7 +4949,6 @@ def get_litellm_params(
|
|||
"input_cost_per_second": input_cost_per_second,
|
||||
"output_cost_per_token": output_cost_per_token,
|
||||
"output_cost_per_second": output_cost_per_second,
|
||||
"litellm_parent_otel_span": litellm_parent_otel_span,
|
||||
}
|
||||
|
||||
return litellm_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue