mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix simplify - pass litellm_parent_otel_span
This commit is contained in:
parent
42df97db3c
commit
7ef7bc8a9a
6 changed files with 5 additions and 9 deletions
|
@ -600,7 +600,6 @@ def completion(
|
|||
client = kwargs.get("client", None)
|
||||
### Admin Controls ###
|
||||
no_log = kwargs.get("no-log", False)
|
||||
litellm_parent_otel_span = kwargs.get("litellm_parent_otel_span", None)
|
||||
######## end of unpacking kwargs ###########
|
||||
openai_params = [
|
||||
"functions",
|
||||
|
@ -690,7 +689,6 @@ def completion(
|
|||
"allowed_model_region",
|
||||
"model_config",
|
||||
"fastest_response",
|
||||
"litellm_parent_otel_span",
|
||||
]
|
||||
|
||||
default_params = openai_params + litellm_params
|
||||
|
@ -875,7 +873,6 @@ def completion(
|
|||
input_cost_per_token=input_cost_per_token,
|
||||
output_cost_per_second=output_cost_per_second,
|
||||
output_cost_per_token=output_cost_per_token,
|
||||
litellm_parent_otel_span=litellm_parent_otel_span,
|
||||
)
|
||||
logging.update_environment_variables(
|
||||
model=model,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue