litellm/tests/logging_callback_tests/langfuse_expected_request_body
yucheng 09dfd7e50d
Some checks failed
ai-gateway image / ai-gateway release image (push) Waiting to run
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests
v2 accepted generation(id=...). v4 derives the observation id from the OTel
span id, so the isolated tracer provider now carries an id generator that
hands out the id start_generation asked for through a context variable, and
the callback passes the resolved generation_id metadata into it.

The legacy e2e suite patched httpx.Client.post and compared v2 ingestion
batches; it now patches requests.Session.post, decodes the OTLP protobuf
and compares the exported generation against regenerated fixtures. The
local readback test replaces the removed get_generations() with
api.observations.get_many() and polls Langfuse Cloud instead of sleeping.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-14 23:12:03 +00:00
..
completion.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
completion_with_bedrock_call.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
completion_with_complex_metadata.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
completion_with_langfuse_metadata.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
completion_with_no_choices.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
completion_with_router.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
completion_with_tags.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
completion_with_tags_stream.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
completion_with_vertex_call.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
complex_metadata.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
complex_metadata_2.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
embedding_with_vllm.json Add JSON exact match test for vLLM embeddings 2026-02-26 16:49:34 +05:30
empty_metadata.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
metadata_with_function.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
metadata_with_lock.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
nested_metadata.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
simple_metadata.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
simple_metadata2.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00
simple_metadata3.json feat(langfuse): honour caller generation ids and assert v4 OTLP exports in legacy tests 2026-09-14 23:12:03 +00:00