mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
fix(rust-bridge): keep the langfuse cast suppression on the cast line
Some checks failed
LiteLLM Rust / rust-lint (push) Waiting to run
LiteLLM Rust / rust-test (push) Waiting to run
LiteLLM Rust / rust-wheel (push) Waiting to run
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
Some checks failed
LiteLLM Rust / rust-lint (push) Waiting to run
LiteLLM Rust / rust-test (push) Waiting to run
LiteLLM Rust / rust-wheel (push) Waiting to run
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
f8e5092a34
commit
5f99e42bc2
1 changed files with 1 additions and 3 deletions
|
|
@ -795,9 +795,7 @@ def _langfuse(
|
|||
user: Final = kwargs.get("user")
|
||||
result: Final = handler.log_event_on_langfuse(
|
||||
kwargs=kwargs,
|
||||
response_obj=cast(
|
||||
ModelResponse, response
|
||||
), # cast-ok: OCR responses sit outside the legacy union langfuse names
|
||||
response_obj=cast(ModelResponse, response), # cast-ok: OCR responses sit outside the legacy union
|
||||
start_time=start_time,
|
||||
end_time=end_time,
|
||||
user_id=user if isinstance(user, str) else None,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue