Move JSX stuff so first line of file is heading

This prevents VS Code from displaying a warning about the file not starting with
a heading.
This commit is contained in:
Marc Abramowitz 2024-07-10 17:02:56 -07:00
parent 265ec00d0f
commit dd0c07d2a1
2 changed files with 5 additions and 6 deletions

View file

@ -2791,7 +2791,7 @@ async def chat_completion(
## LOGGING OBJECT ## - initialize logging object for logging success/failure events for call
## IMPORTANT Note: - initialize this before running pre-call checks. Ensures we log rejected requests to langfuse.
data["litellm_call_id"] = str(uuid.uuid4())
data["litellm_call_id"] = request.headers.get('x-litellm-call-id', str(uuid.uuid4()))
logging_obj, data = litellm.utils.function_setup(
original_function="acompletion",
rules_obj=litellm.utils.Rules(),