spantruth
Does the telemetry an LLM instrumentation library reports match what the provider actually sent? Each cell replays one provider response through one library and checks every reported value against the wire.
spantruth 0.6.0 · pinned versions · 2026-11-27T12:36:18+00:00 · Python 3.12 · semantic-conventions-genai 6fd0d763 · source
Pages: pinned versions · latest releases · the ten bug classes · what new releases changed · fixed upstream, with credit. A fix that ships upstream turns its cell green on the latest-releases page first.
| Scenario | anthropic-sdk | ddtrace | langchain-openinference | langchain-openllmetry | langfuse | litellm | logfire | mlflow | openai-agents | openinference | openlit | openllmetry | otel-official | otel-official-sdk-on | pydantic-ai | sentry | control-faulty | control-honest |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
anthropic/agent-loopAgent loop: three calls, two with tool results | missing | missing | · | · | · | · | wrong | missing | · | pass | wrong | pass | pass | wrong | · | pass | wrong | pass |
anthropic/async-basicOne call (async) | missing | missing | pass | missing | · | wrong | wrong | missing | · | pass | pass | pass | pass | wrong | pass | pass | pass | pass |
anthropic/async-concurrent-streamsTwo streams at once with asyncio.gather (async) | missing | missing | · | · | · | · | wrong | missing | · | pass | wrong | wrong | pass | wrong | · | pass | wrong | pass |
anthropic/async-streamStream read to the end (async) | missing | missing | wrong | wrong | · | · | wrong | missing | · | pass | pass | wrong | pass | wrong | pass | pass | pass | pass |
anthropic/async-stream-droppedConnection drops mid-stream (async) | pass | pass | pass | pass | · | · | pass | wrong | · | pass | lost | missing | pass | pass | missing | missing | wrong | pass |
anthropic/async-stream-early-exitApp closes the stream after two events (async) | pass | missing | wrong | wrong | · | missing | wrong | missing | · | pass | lost | lost | pass | wrong | pass | pass | lost | pass |
anthropic/async-stream-error-eventOverloaded error event mid-stream (async) | pass | pass | pass | pass | · | · | pass | wrong | · | pass | lost | missing | pass | pass | missing | missing | wrong | pass |
anthropic/basicOne call | missing | missing | pass | missing | · | · | wrong | missing | · | pass | pass | pass | pass | wrong | pass | pass | pass | pass |
anthropic/cache-1hPrompt cache write with a 1-hour part | missing | missing | pass | wrong | · | · | wrong | missing | · | pass | wrong | pass | pass | wrong | pass | pass | wrong | pass |
anthropic/cache-hitPrompt cache read and write | missing | missing | pass | missing | · | · | wrong | missing | · | pass | wrong | pass | pass | wrong | pass | pass | wrong | pass |
anthropic/content-offOne call, content capture switched off | missing | missing | · | · | · | · | wrong | missing | · | pass | pass | pass | pass | wrong | · | pass | wrong | pass |
anthropic/content-onOne call, content capture switched on | missing | missing | · | · | · | · | wrong | missing | · | pass | pass | pass | pass | wrong | · | pass | pass | pass |
anthropic/rate-limitedHTTP 429 | pass | pass | pass | pass | · | · | missing | missing | · | pass | missing | pass | pass | pass | missing | missing | wrong | pass |
anthropic/retry-429HTTP 429 with retry-after, then a success | missing | missing | pass | missing | · | · | wrong | missing | · | pass | pass | pass | pass | wrong | pass | pass | wrong | pass |
anthropic/streamStream read to the end | missing | missing | wrong | wrong | · | wrong | wrong | missing | · | pass | pass | wrong | pass | wrong | pass | pass | pass | pass |
anthropic/stream-cache-1hPrompt cache write with a 1-hour part, streamed | missing | missing | wrong | wrong | · | wrong | wrong | missing | · | pass | wrong | wrong | pass | wrong | pass | pass | wrong | pass |
anthropic/stream-cache-cumulativeCache counts repeated in message_delta | missing | missing | pass | wrong | · | wrong | wrong | missing | · | pass | wrong | wrong | pass | wrong | pass | pass | wrong | pass |
anthropic/stream-cache-hitPrompt cache read and write, streamed | missing | missing | wrong | wrong | · | wrong | wrong | missing | · | pass | wrong | wrong | pass | wrong | pass | pass | wrong | pass |
anthropic/stream-content-offStream read to the end, content capture switched off | missing | missing | · | · | · | · | wrong | missing | · | pass | pass | wrong | pass | wrong | · | pass | wrong | pass |
anthropic/stream-content-onStream read to the end, content capture switched on | missing | missing | · | · | · | · | wrong | missing | · | pass | pass | wrong | pass | wrong | · | pass | wrong | pass |
anthropic/stream-droppedConnection drops mid-stream | pass | pass | pass | pass | · | wrong | pass | wrong | · | pass | lost | lost | pass | pass | missing | missing | wrong | pass |
anthropic/stream-early-exitApp closes the stream after two events | pass | missing | wrong | wrong | · | missing | wrong | missing | · | pass | lost | lost | pass | wrong | pass | pass | lost | pass |
anthropic/stream-early-exit-withApp leaves the stream after two events with a with block | pass | missing | · | · | · | missing | wrong | missing | · | pass | lost | lost | pass | wrong | · | pass | lost | pass |
anthropic/stream-error-eventOverloaded error event mid-stream | pass | pass | pass | pass | · | wrong | pass | wrong | · | pass | lost | lost | pass | pass | missing | missing | wrong | pass |
anthropic/stream-thinkingExtended thinking, streamed | missing | missing | wrong | wrong | · | wrong | wrong | missing | · | pass | missing | wrong | pass | wrong | missing | missing | wrong | pass |
anthropic/stream-tool-callTwo parallel tool uses, streamed | missing | missing | wrong | wrong | · | wrong | wrong | missing | · | pass | pass | wrong | pass | wrong | pass | pass | pass | pass |
anthropic/thinkingExtended thinking | missing | missing | missing | missing | · | · | wrong | missing | · | pass | missing | missing | pass | wrong | missing | missing | wrong | pass |
anthropic/tool-callTwo parallel tool uses | missing | missing | pass | missing | · | · | wrong | missing | · | pass | pass | pass | pass | wrong | pass | pass | pass | pass |
azure/async-basicOne call to a deployment (async) | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | pass | pass | · | · | missing | pass | pass |
azure/async-streamStream from a deployment (async) | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | pass | pass | · | · | missing | pass | pass |
azure/basicOne call to a deployment | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | pass | pass | · | · | missing | pass | pass |
azure/streamStream from a deployment | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | pass | pass | · | · | missing | pass | pass |
gemini/async-basicOne call (async) | · | missing | · | · | · | · | pass | wrong | · | missing | wrong | pass | pass | · | · | pass | pass | pass |
gemini/async-streamStream read to the end (async) | · | missing | · | · | · | · | pass | missing | · | missing | lost | pass | pass | · | · | missing | pass | pass |
gemini/async-stream-droppedConnection drops mid-stream (async) | · | pass | · | · | · | · | pass | missing | · | pass | lost | lost | pass | · | · | missing | wrong | pass |
gemini/async-stream-early-exitApp closes the stream after two chunks (async) | · | missing | · | · | · | · | pass | missing | · | wrong | lost | lost | pass | · | · | missing | lost | pass |
gemini/basicOne call | · | missing | · | · | · | · | pass | wrong | · | missing | wrong | pass | pass | · | · | pass | pass | pass |
gemini/cache-hitContext cache hit | · | missing | · | · | · | · | pass | wrong | · | missing | wrong | pass | pass | · | · | pass | pass | pass |
gemini/rate-limitedHTTP 429 RESOURCE_EXHAUSTED | · | pass | · | · | · | · | pass | missing | · | pass | missing | missing | pass | · | · | missing | wrong | pass |
gemini/streamStream read to the end | · | missing | · | · | · | · | pass | missing | · | missing | lost | pass | pass | · | · | missing | pass | pass |
gemini/stream-cache-hitContext cache hit, streamed | · | missing | · | · | · | · | pass | missing | · | missing | lost | pass | pass | · | · | missing | pass | pass |
gemini/stream-droppedConnection drops mid-stream | · | pass | · | · | · | · | pass | missing | · | pass | lost | lost | pass | · | · | missing | wrong | pass |
gemini/stream-early-exitApp closes the stream after two chunks | · | missing | · | · | · | · | pass | missing | · | missing | lost | lost | pass | · | · | missing | lost | pass |
gemini/stream-thinkingThinking tokens, streamed | · | missing | · | · | · | · | pass | missing | · | missing | lost | wrong | pass | · | · | missing | wrong | pass |
gemini/thinkingThinking tokens | · | missing | · | · | · | · | pass | wrong | · | missing | wrong | wrong | pass | · | · | pass | wrong | pass |
openai/agent-loopAgent loop: three calls, two with tool results | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | pass | pass | · | · | missing | pass | pass |
openai/async-basicOne call (async) | · | wrong | pass | pass | pass | wrong | wrong | wrong | missing | pass | pass | pass | pass | · | pass | missing | pass | pass |
openai/async-concurrent-streamsTwo streams at once with asyncio.gather (async) | · | wrong | · | · | inconclusive | · | wrong | inconclusive | · | pass | pass | pass | pass | · | · | missing | pass | pass |
openai/async-streamStream read to the end (async) | · | wrong | pass | wrong | pass | · | wrong | wrong | missing | pass | pass | pass | pass | · | pass | missing | pass | pass |
openai/async-stream-droppedConnection drops mid-stream (async) | · | pass | pass | pass | wrong | · | pass | missing | pass | pass | lost | wrong | pass | · | missing | lost | wrong | pass |
openai/async-stream-early-exitApp closes the stream after two chunks (async) | · | wrong | wrong | wrong | pass | missing | wrong | wrong | · | pass | lost | pass | pass | · | pass | lost | lost | pass |
openai/async-stream-helperStream via with_streaming_response (async) | · | wrong | · | · | missing | · | wrong | missing | · | missing | lost | missing | pass | · | · | missing | pass | pass |
openai/basicOne call | · | wrong | pass | pass | pass | · | wrong | wrong | missing | pass | pass | pass | pass | · | pass | missing | pass | pass |
openai/cache-hitPrompt cache hit | · | wrong | pass | pass | pass | · | wrong | wrong | missing | pass | pass | pass | pass | · | pass | missing | pass | pass |
openai/cache-writePrompt cache read and write | · | wrong | missing | pass | pass | · | wrong | wrong | missing | pass | pass | missing | pass | · | pass | missing | pass | pass |
openai/compat-extra-cache-fieldsDeepSeek, cache counts in its own fields too | · | missing | · | · | pass | · | wrong | missing | · | pass | pass | pass | pass | · | · | missing | pass | pass |
openai/compat-extra-timing-fieldsGroq, timings in usage and no details | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | wrong | pass | · | · | missing | pass | pass |
openai/compat-no-detailsOpenAI-compatible server, usage without details | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | wrong | pass | · | · | missing | pass | pass |
openai/compat-null-detailsOpenAI-compatible server, details sent as null | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | wrong | pass | · | · | missing | pass | pass |
openai/compat-partial-detailsOllama, details with a cache count only | · | missing | · | · | pass | · | wrong | missing | · | pass | pass | pass | pass | · | · | missing | pass | pass |
openai/compat-stream-no-detailsOpenAI-compatible server, streamed usage without details | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | wrong | pass | · | · | missing | pass | pass |
openai/compat-stream-usage-on-finishUsage on the chunk with the finish reason | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | wrong | pass | · | · | missing | pass | pass |
openai/content-offOne call, content capture switched off | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | pass | pass | · | · | missing | wrong | pass |
openai/content-onOne call, content capture switched on | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | pass | pass | · | · | missing | pass | pass |
openai/rate-limitedHTTP 429 | · | pass | pass | pass | pass | · | missing | missing | pass | pass | pass | pass | pass | · | missing | missing | wrong | pass |
openai/reasoningReasoning tokens | · | wrong | pass | missing | pass | · | wrong | wrong | missing | pass | missing | pass | pass | · | missing | missing | wrong | pass |
openai/responses-stream-missing-finish-abortResponses API stream cut after eight recorded events | · | pass | pass | pass | wrong | · | pass | missing | pass | pass | lost | pass | pass | · | missing | lost | wrong | pass |
openai/retry-429HTTP 429 with retry-after, then a success | · | wrong | pass | pass | pass | · | wrong | wrong | missing | pass | pass | pass | pass | · | pass | missing | wrong | pass |
openai/streamStream read to the end | · | wrong | pass | wrong | pass | wrong | wrong | wrong | missing | pass | pass | pass | pass | · | pass | missing | pass | pass |
openai/stream-cache-hitPrompt cache hit, streamed | · | wrong | pass | wrong | pass | wrong | wrong | wrong | missing | pass | pass | pass | pass | · | pass | missing | pass | pass |
openai/stream-cache-writePrompt cache read and write, streamed | · | wrong | pass | wrong | pass | wrong | wrong | wrong | missing | pass | pass | missing | pass | · | pass | missing | pass | pass |
openai/stream-content-offStream read to the end, content capture switched off | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | pass | pass | · | · | missing | wrong | pass |
openai/stream-content-onStream read to the end, content capture switched on | · | wrong | · | · | pass | · | wrong | wrong | · | pass | pass | pass | pass | · | · | missing | wrong | pass |
openai/stream-droppedConnection drops mid-stream | · | pass | pass | pass | wrong | wrong | pass | missing | pass | pass | lost | wrong | pass | · | missing | lost | wrong | pass |
openai/stream-early-exitApp closes the stream after two chunks | · | wrong | wrong | wrong | pass | missing | wrong | wrong | · | pass | lost | pass | pass | · | pass | lost | lost | pass |
openai/stream-early-exit-withApp leaves the stream after two chunks with a with block | · | wrong | · | · | pass | missing | wrong | wrong | · | pass | lost | pass | pass | · | · | lost | lost | pass |
openai/stream-helperStream via with_streaming_response | · | wrong | · | · | missing | · | wrong | missing | · | pass | lost | missing | pass | · | · | missing | pass | pass |
openai/stream-no-usageStream without include_usage | · | wrong | pass | wrong | pass | wrong | wrong | wrong | missing | pass | wrong | pass | pass | · | pass | missing | wrong | pass |
openai/stream-reasoningReasoning tokens, streamed | · | wrong | pass | wrong | pass | wrong | wrong | wrong | missing | pass | missing | missing | pass | · | missing | missing | wrong | pass |
openai/stream-tool-callTwo parallel tool calls, streamed | · | wrong | pass | wrong | pass | wrong | wrong | wrong | missing | pass | pass | pass | pass | · | pass | missing | pass | pass |
openai/tool-callTwo parallel tool calls | · | wrong | pass | pass | pass | · | wrong | wrong | missing | pass | pass | pass | pass | · | pass | missing | pass | pass |
The controls run the suite's own reference instrumentation.
control-honest has to pass every check, and control-faulty has to fail
exactly its planted faults. If either moves, the suite is wrong, not a library. CI checks both,
so their cells are not in the findings below. How we know a check is
right.
Bug classes in this run
| Bug | Seen in | Largest cost error |
|---|---|---|
| ST01 Ghost span The app made the call, and no finished span ever reaches a backend. | 58 cells in 6 libraries | -100% |
| ST02 Double span One call reports its token usage on two spans. | 27 cells in 2 libraries | +100% |
| ST03 Cache-blind tokens Cached tokens are left out of the input count, or their own counts are wrong. | 39 cells in 7 libraries | +106.1% |
| ST04 Phantom tokens The span reports more tokens than the provider sent, or invents a count. | 13 cells in 4 libraries | +0.2% |
| ST05 Vanishing tokens The span reports fewer tokens than the provider sent, or none. | 41 cells in 8 libraries | -100% |
| ST06 Hidden reasoning The reasoning tokens that the provider reported do not appear on the span. | 33 cells in 10 libraries | — |
| ST07 False OK A call failed, and its span does not say so, or does not say how. | 38 cells in 6 libraries | — |
| ST08 False alarm A call succeeded, and its span says it failed. | 9 cells in 3 libraries | — |
| ST09 Silent stop The finish reason is missing or wrong. | 246 cells in 11 libraries | — |
A cost figure is for the token mix of one scenario, at list price from ai.google.dev and developers.openai.com and platform.claude.com on 2026-11-15. Input tokens include cache reads and writes, so the uncached part is input minus reads minus writes. A cache write that lasts 1 hour costs more than one that lasts 5 minutes. No span attribute separates the two, so the figure from the spans uses the split on the wire. A span that never ends reports nothing, and usage on two spans counts twice only in a backend that sums across spans. A backend with another formula shows another number.
Findings
Every finding cites the rule it applies. To dispute one, open an issue: a disputed finding is marked as such in known_issues.toml.
missing anthropic-sdk · anthropic/agent-loop · finish_reasonsSilent stop #
expected tool_use, reported nothing: call 1 of 3; failed on calls 1, 2, 3
- Expected
['tool_use']- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/agent-loop- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | tool_use |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--agent-loop/v1/messages |
url.path | /s/anthropic--agent-loop/v1/messages |
url.scheme | http |
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | tool_use |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop2 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 1093 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--agent-loop/v1/messages |
url.path | /s/anthropic--agent-loop/v1/messages |
url.scheme | http |
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop3 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 1279 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--agent-loop/v1/messages |
url.path | /s/anthropic--agent-loop/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/async-basic · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--async-basic/v1/messages |
url.path | /s/anthropic--async-basic/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/async-concurrent-streams · finish_reasonsSilent stop #
expected end_turn, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
['end_turn']- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/async-concurrent-streams- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_par1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.071011191 |
gen_ai.usage.cache_read.input_tokens | 769 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--async-concurrent-streams/v1/messages |
url.path | /s/anthropic--async-concurrent-streams/v1/messages |
url.scheme | http |
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_par2 |
gen_ai.response.model | claude-haiku-5-5-20261001 |
gen_ai.response.time_to_first_chunk | 0.03044333 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--async-concurrent-streams/v1/messages |
url.path | /s/anthropic--async-concurrent-streams/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/async-stream · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.066768073 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--async-stream/v1/messages |
url.path | /s/anthropic--async-stream/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/basic · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--basic/v1/messages |
url.path | /s/anthropic--basic/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/cache-1h · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
anthropic.usage.cache_creation.ephemeral_1h_input_tokens | 1663 |
anthropic.usage.cache_creation.ephemeral_5m_input_tokens | 457 |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 2861 |
gen_ai.usage.cache_write.input_tokens | 2120 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--cache-1h/v1/messages |
url.path | /s/anthropic--cache-1h/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/cache-hit · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 4096 |
gen_ai.usage.cache_write.input_tokens | 519 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--cache-hit/v1/messages |
url.path | /s/anthropic--cache-hit/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/content-off · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--content-off/v1/messages |
url.path | /s/anthropic--content-off/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/content-on · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--content-on/v1/messages |
url.path | /s/anthropic--content-on/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/retry-429 · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/retry-429- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_retry |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
http.request.method | POST |
http.request.resend_count | 1 |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--retry-429/v1/messages |
url.path | /s/anthropic--retry-429/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/stream · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.044069992 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream/v1/messages |
url.path | /s/anthropic--stream/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/stream-cache-1h · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/stream-cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
anthropic.usage.cache_creation.ephemeral_1h_input_tokens | 1879 |
anthropic.usage.cache_creation.ephemeral_5m_input_tokens | 613 |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.049325409 |
gen_ai.usage.cache_read.input_tokens | 3217 |
gen_ai.usage.cache_write.input_tokens | 2492 |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages |
url.path | /s/anthropic--stream-cache-1h/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/stream-cache-cumulative · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/stream-cache-cumulative- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_cumul |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.050388834 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.cache_write.input_tokens | 811 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-cache-cumulative/v1/messages |
url.path | /s/anthropic--stream-cache-cumulative/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/stream-cache-hit · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.030361052 |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.cache_write.input_tokens | 737 |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages |
url.path | /s/anthropic--stream-cache-hit/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/stream-content-off · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/stream-content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.031103235 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-content-off/v1/messages |
url.path | /s/anthropic--stream-content-off/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/stream-content-on · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/stream-content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.051030303 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-content-on/v1/messages |
url.path | /s/anthropic--stream-content-on/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/stream-content-on · content.output_matches #
expected The capital of France is Paris., reported nothing: no completion text with content on: ANTHROPIC_OPEN_TELEMETRY_TRACES_CONTENT_MODE
- Expected
The capital of France is Paris.- Note
no completion text with content on: ANTHROPIC_OPEN_TELEMETRY_TRACES_CONTENT_MODE- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/stream-content-on- Rule
- Opt-In content SHOULD be populated if the user configures the instrumentation to do so, so with the library's content switch on, the completion text is recorded, and it equals the text the application read. Instrumentations MAY give users a way to filter or truncate output messages; no scenario sets such an option, so the text is compared whole. `gen_ai.output.messages` and the other conventions' output names are read.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.051030303 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-content-on/v1/messages |
url.path | /s/anthropic--stream-content-on/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/stream-thinking · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/stream-thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.049091042 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.reasoning.output_tokens | 1103 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-thinking/v1/messages |
url.path | /s/anthropic--stream-thinking/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/stream-tool-call · finish_reasonsSilent stop #
expected tool_use, reported nothing
- Expected
['tool_use']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | tool_use |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.041748608 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-tool-call/v1/messages |
url.path | /s/anthropic--stream-tool-call/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/thinking · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.reasoning.output_tokens | 947 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--thinking/v1/messages |
url.path | /s/anthropic--thinking/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing anthropic-sdk · anthropic/tool-call · finish_reasonsSilent stop #
expected tool_use, reported nothing
- Expected
['tool_use']- Reproduce
spantruth run --subject anthropic-sdk --scenario anthropic/tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | tool_use |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_tools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--tool-call/v1/messages |
url.path | /s/anthropic--tool-call/v1/messages |
url.scheme | http |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/agent-loop · response_model #
expected claude-sonnet-5-5-20260915, reported nothing: call 1 of 3; failed on calls 1, 2, 3
- Expected
claude-sonnet-5-5-20260915- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject ddtrace --scenario anthropic/agent-loop- Rule
- The name of the model that generated the response.
Exported spans (4)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1171 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 97 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1268 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.total_tokens | 1268 |
llmobs_parent_id | 11592144238526265811 |
llmobs_trace_id | 6b097ba900000000afa0836b335ee74c |
process_id | 9184 |
runtime-id | f50d6cdfeec34531aa71ec91b5afb55e |
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1093 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1307 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 89 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1396 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 1093 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.total_tokens | 1396 |
llmobs_parent_id | 16496149288460493480 |
llmobs_trace_id | 6b097ba900000000f89ee8643aeedbf6 |
process_id | 9184 |
runtime-id | f50d6cdfeec34531aa71ec91b5afb55e |
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1279 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1459 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 211 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1670 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 1279 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.total_tokens | 1670 |
llmobs_parent_id | 14095416534938835122 |
llmobs_trace_id | 6b097ba90000000013269123cf3599f1 |
process_id | 9184 |
runtime-id | f50d6cdfeec34531aa71ec91b5afb55e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/agent-loop · response_id #
expected msg_wt_loop1, reported nothing: call 1 of 3; failed on calls 1, 2, 3
- Expected
msg_wt_loop1- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject ddtrace --scenario anthropic/agent-loop- Rule
- The unique identifier of the completion.
Exported spans (4)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1171 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 97 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1268 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.total_tokens | 1268 |
llmobs_parent_id | 11592144238526265811 |
llmobs_trace_id | 6b097ba900000000afa0836b335ee74c |
process_id | 9184 |
runtime-id | f50d6cdfeec34531aa71ec91b5afb55e |
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1093 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1307 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 89 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1396 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 1093 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.total_tokens | 1396 |
llmobs_parent_id | 16496149288460493480 |
llmobs_trace_id | 6b097ba900000000f89ee8643aeedbf6 |
process_id | 9184 |
runtime-id | f50d6cdfeec34531aa71ec91b5afb55e |
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1279 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1459 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 211 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1670 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 1279 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.total_tokens | 1670 |
llmobs_parent_id | 14095416534938835122 |
llmobs_trace_id | 6b097ba90000000013269123cf3599f1 |
process_id | 9184 |
runtime-id | f50d6cdfeec34531aa71ec91b5afb55e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/agent-loop · finish_reasonsSilent stop #
expected tool_use, reported nothing: call 1 of 3; failed on calls 1, 2, 3
- Expected
['tool_use']- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject ddtrace --scenario anthropic/agent-loop- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1171 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 97 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1268 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.total_tokens | 1268 |
llmobs_parent_id | 11592144238526265811 |
llmobs_trace_id | 6b097ba900000000afa0836b335ee74c |
process_id | 9184 |
runtime-id | f50d6cdfeec34531aa71ec91b5afb55e |
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1093 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1307 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 89 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1396 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 1093 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.total_tokens | 1396 |
llmobs_parent_id | 16496149288460493480 |
llmobs_trace_id | 6b097ba900000000f89ee8643aeedbf6 |
process_id | 9184 |
runtime-id | f50d6cdfeec34531aa71ec91b5afb55e |
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1279 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1459 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 211 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1670 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 1279 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.total_tokens | 1670 |
llmobs_parent_id | 14095416534938835122 |
llmobs_trace_id | 6b097ba90000000013269123cf3599f1 |
process_id | 9184 |
runtime-id | f50d6cdfeec34531aa71ec91b5afb55e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-basic · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-basic- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 5430262084204025858 |
llmobs_trace_id | 6b097a8900000000450ddea0a45cfb69 |
process_id | 6056 |
runtime-id | 901a976137614687bb93701bd8742056 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-basic · response_id #
expected msg_wt_basic, reported nothing
- Expected
msg_wt_basic- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-basic- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 5430262084204025858 |
llmobs_trace_id | 6b097a8900000000450ddea0a45cfb69 |
process_id | 6056 |
runtime-id | 901a976137614687bb93701bd8742056 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-basic · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 5430262084204025858 |
llmobs_trace_id | 6b097a8900000000450ddea0a45cfb69 |
process_id | 6056 |
runtime-id | 901a976137614687bb93701bd8742056 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-concurrent-streams · response_model #
expected claude-sonnet-5-5-20260915, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
claude-sonnet-5-5-20260915- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-concurrent-streams- Rule
- The name of the model that generated the response.
Exported spans (3)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1747 |
_dd.llmobs.model_name | claude-haiku-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 181 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1928 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-haiku-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.total_tokens | 1928 |
llmobs_parent_id | 15553607668595571231 |
llmobs_trace_id | 6b097bba0000000049e37f2c2ad5f51a |
process_id | 9308 |
runtime-id | af22a936929d4ab4bc9ada760c5d7c18 |
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 769 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1033 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 149 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1182 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 769 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.total_tokens | 1182 |
llmobs_parent_id | 11038448683936786880 |
llmobs_trace_id | 6b097bba00000000b0338a19c16b83ce |
process_id | 9308 |
runtime-id | af22a936929d4ab4bc9ada760c5d7c18 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-concurrent-streams · response_id #
expected msg_wt_par1, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
msg_wt_par1- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-concurrent-streams- Rule
- The unique identifier of the completion.
Exported spans (3)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1747 |
_dd.llmobs.model_name | claude-haiku-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 181 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1928 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-haiku-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.total_tokens | 1928 |
llmobs_parent_id | 15553607668595571231 |
llmobs_trace_id | 6b097bba0000000049e37f2c2ad5f51a |
process_id | 9308 |
runtime-id | af22a936929d4ab4bc9ada760c5d7c18 |
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 769 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1033 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 149 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1182 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 769 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.total_tokens | 1182 |
llmobs_parent_id | 11038448683936786880 |
llmobs_trace_id | 6b097bba00000000b0338a19c16b83ce |
process_id | 9308 |
runtime-id | af22a936929d4ab4bc9ada760c5d7c18 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-concurrent-streams · finish_reasonsSilent stop #
expected end_turn, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
['end_turn']- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-concurrent-streams- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1747 |
_dd.llmobs.model_name | claude-haiku-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 181 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1928 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-haiku-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.total_tokens | 1928 |
llmobs_parent_id | 15553607668595571231 |
llmobs_trace_id | 6b097bba0000000049e37f2c2ad5f51a |
process_id | 9308 |
runtime-id | af22a936929d4ab4bc9ada760c5d7c18 |
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 769 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1033 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 149 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1182 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 769 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.total_tokens | 1182 |
llmobs_parent_id | 11038448683936786880 |
llmobs_trace_id | 6b097bba00000000b0338a19c16b83ce |
process_id | 9308 |
runtime-id | af22a936929d4ab4bc9ada760c5d7c18 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-stream · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-stream- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 5943265254457319051 |
llmobs_trace_id | 6b097a920000000029223346931dc784 |
process_id | 6126 |
runtime-id | d9dda3aad41f41bfab79bfec09b532cf |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-stream · response_id #
expected msg_wt_stream, reported nothing
- Expected
msg_wt_stream- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-stream- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 5943265254457319051 |
llmobs_trace_id | 6b097a920000000029223346931dc784 |
process_id | 6126 |
runtime-id | d9dda3aad41f41bfab79bfec09b532cf |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-stream · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 5943265254457319051 |
llmobs_trace_id | 6b097a920000000029223346931dc784 |
process_id | 6126 |
runtime-id | d9dda3aad41f41bfab79bfec09b532cf |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-stream-early-exit · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1913 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.span_kind | llm |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1913 |
llmobs_parent_id | 4204959108210818057 |
llmobs_trace_id | 6b097a9a000000004bb3ca19274766ca |
process_id | 6195 |
runtime-id | 1b88c58f067c4174aaf46be1eec9bb13 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/async-stream-early-exit · response_id #
expected msg_wt_early, reported nothing
- Expected
msg_wt_early- Reproduce
spantruth run --subject ddtrace --scenario anthropic/async-stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1913 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.span_kind | llm |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1913 |
llmobs_parent_id | 4204959108210818057 |
llmobs_trace_id | 6b097a9a000000004bb3ca19274766ca |
process_id | 6195 |
runtime-id | 1b88c58f067c4174aaf46be1eec9bb13 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/basic · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/basic- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 17526307976564791840 |
llmobs_trace_id | 6b0979cc00000000ff639eec3094f0f7 |
process_id | 4297 |
runtime-id | 67f78a1f3134474f9d90b0d614824800 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/basic · response_id #
expected msg_wt_basic, reported nothing
- Expected
msg_wt_basic- Reproduce
spantruth run --subject ddtrace --scenario anthropic/basic- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 17526307976564791840 |
llmobs_trace_id | 6b0979cc00000000ff639eec3094f0f7 |
process_id | 4297 |
runtime-id | 67f78a1f3134474f9d90b0d614824800 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/basic · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 17526307976564791840 |
llmobs_trace_id | 6b0979cc00000000ff639eec3094f0f7 |
process_id | 4297 |
runtime-id | 67f78a1f3134474f9d90b0d614824800 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/cache-1h · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/cache-1h- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 2861 |
_dd.llmobs.cache_write_input_tokens | 2120 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 6288 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 389 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 6677 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 2861 |
gen_ai.usage.cache_write_input_tokens | 2120 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
gen_ai.usage.total_tokens | 6677 |
llmobs_parent_id | 17834602375558667868 |
llmobs_trace_id | 6b0979ff00000000db2266a651476c11 |
process_id | 4766 |
runtime-id | 6393568e72bb410ea0d8e87ee730770d |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/cache-1h · response_id #
expected msg_wt_cache1h, reported nothing
- Expected
msg_wt_cache1h- Reproduce
spantruth run --subject ddtrace --scenario anthropic/cache-1h- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 2861 |
_dd.llmobs.cache_write_input_tokens | 2120 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 6288 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 389 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 6677 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 2861 |
gen_ai.usage.cache_write_input_tokens | 2120 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
gen_ai.usage.total_tokens | 6677 |
llmobs_parent_id | 17834602375558667868 |
llmobs_trace_id | 6b0979ff00000000db2266a651476c11 |
process_id | 4766 |
runtime-id | 6393568e72bb410ea0d8e87ee730770d |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/cache-1h · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 2861 |
_dd.llmobs.cache_write_input_tokens | 2120 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 6288 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 389 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 6677 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 2861 |
gen_ai.usage.cache_write_input_tokens | 2120 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
gen_ai.usage.total_tokens | 6677 |
llmobs_parent_id | 17834602375558667868 |
llmobs_trace_id | 6b0979ff00000000db2266a651476c11 |
process_id | 4766 |
runtime-id | 6393568e72bb410ea0d8e87ee730770d |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/cache-hit · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/cache-hit- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 4096 |
_dd.llmobs.cache_write_input_tokens | 519 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5802 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 377 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 6179 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 4096 |
gen_ai.usage.cache_write_input_tokens | 519 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.total_tokens | 6179 |
llmobs_parent_id | 10748891915231507043 |
llmobs_trace_id | 6b0979e500000000a3753344b683b9e6 |
process_id | 4499 |
runtime-id | 6503df5d63e340268acb59e85fe76c20 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/cache-hit · response_id #
expected msg_wt_cache, reported nothing
- Expected
msg_wt_cache- Reproduce
spantruth run --subject ddtrace --scenario anthropic/cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 4096 |
_dd.llmobs.cache_write_input_tokens | 519 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5802 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 377 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 6179 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 4096 |
gen_ai.usage.cache_write_input_tokens | 519 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.total_tokens | 6179 |
llmobs_parent_id | 10748891915231507043 |
llmobs_trace_id | 6b0979e500000000a3753344b683b9e6 |
process_id | 4499 |
runtime-id | 6503df5d63e340268acb59e85fe76c20 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/cache-hit · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 4096 |
_dd.llmobs.cache_write_input_tokens | 519 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5802 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 377 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 6179 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 4096 |
gen_ai.usage.cache_write_input_tokens | 519 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.total_tokens | 6179 |
llmobs_parent_id | 10748891915231507043 |
llmobs_trace_id | 6b0979e500000000a3753344b683b9e6 |
process_id | 4499 |
runtime-id | 6503df5d63e340268acb59e85fe76c20 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/content-off · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/content-off- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 7620599762116540681 |
llmobs_trace_id | 6b097ad30000000000dcbb15a776fea5 |
process_id | 6663 |
runtime-id | ae1721bab0064b5e99ecbae6310a306d |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/content-off · response_id #
expected msg_wt_basic, reported nothing
- Expected
msg_wt_basic- Reproduce
spantruth run --subject ddtrace --scenario anthropic/content-off- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 7620599762116540681 |
llmobs_trace_id | 6b097ad30000000000dcbb15a776fea5 |
process_id | 6663 |
runtime-id | ae1721bab0064b5e99ecbae6310a306d |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/content-off · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 7620599762116540681 |
llmobs_trace_id | 6b097ad30000000000dcbb15a776fea5 |
process_id | 6663 |
runtime-id | ae1721bab0064b5e99ecbae6310a306d |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/content-on · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/content-on- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 11473059912430679350 |
llmobs_trace_id | 6b097adb00000000a3c79ec8720a8fa3 |
process_id | 6725 |
runtime-id | 9759ae707b0945439b36ed5c86365663 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/content-on · response_id #
expected msg_wt_basic, reported nothing
- Expected
msg_wt_basic- Reproduce
spantruth run --subject ddtrace --scenario anthropic/content-on- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 11473059912430679350 |
llmobs_trace_id | 6b097adb00000000a3c79ec8720a8fa3 |
process_id | 6725 |
runtime-id | 9759ae707b0945439b36ed5c86365663 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/content-on · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 11473059912430679350 |
llmobs_trace_id | 6b097adb00000000a3c79ec8720a8fa3 |
process_id | 6725 |
runtime-id | 9759ae707b0945439b36ed5c86365663 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/retry-429 · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/retry-429- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2477 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 367 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2844 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.total_tokens | 2844 |
llmobs_parent_id | 12919877118154508587 |
llmobs_trace_id | 6b097a3000000000cfff190c1fca8839 |
process_id | 5165 |
runtime-id | baf9802205e144b4a9f22432c7745c62 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/retry-429 · response_id #
expected msg_wt_retry, reported nothing
- Expected
msg_wt_retry- Reproduce
spantruth run --subject ddtrace --scenario anthropic/retry-429- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2477 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 367 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2844 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.total_tokens | 2844 |
llmobs_parent_id | 12919877118154508587 |
llmobs_trace_id | 6b097a3000000000cfff190c1fca8839 |
process_id | 5165 |
runtime-id | baf9802205e144b4a9f22432c7745c62 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/retry-429 · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/retry-429- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2477 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 367 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2844 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.total_tokens | 2844 |
llmobs_parent_id | 12919877118154508587 |
llmobs_trace_id | 6b097a3000000000cfff190c1fca8839 |
process_id | 5165 |
runtime-id | baf9802205e144b4a9f22432c7745c62 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 9196724222504759177 |
llmobs_trace_id | 6b0979d40000000034af6efc9fe71ee5 |
process_id | 4366 |
runtime-id | f4c2f57bc93743dba4f6945f15003c49 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream · response_id #
expected msg_wt_stream, reported nothing
- Expected
msg_wt_stream- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 9196724222504759177 |
llmobs_trace_id | 6b0979d40000000034af6efc9fe71ee5 |
process_id | 4366 |
runtime-id | f4c2f57bc93743dba4f6945f15003c49 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 9196724222504759177 |
llmobs_trace_id | 6b0979d40000000034af6efc9fe71ee5 |
process_id | 4366 |
runtime-id | f4c2f57bc93743dba4f6945f15003c49 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-cache-1h · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-cache-1h- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 3217 |
_dd.llmobs.cache_write_input_tokens | 2492 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7160 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 523 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7683 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 3217 |
gen_ai.usage.cache_write_input_tokens | 2492 |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7683 |
llmobs_parent_id | 10466239703788946183 |
llmobs_trace_id | 6b097a070000000038b55fd2918942e1 |
process_id | 4819 |
runtime-id | 2e357c7932f54d46a2b9d5a52839cedd |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-cache-1h · response_id #
expected msg_wt_scache1h, reported nothing
- Expected
msg_wt_scache1h- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-cache-1h- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 3217 |
_dd.llmobs.cache_write_input_tokens | 2492 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7160 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 523 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7683 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 3217 |
gen_ai.usage.cache_write_input_tokens | 2492 |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7683 |
llmobs_parent_id | 10466239703788946183 |
llmobs_trace_id | 6b097a070000000038b55fd2918942e1 |
process_id | 4819 |
runtime-id | 2e357c7932f54d46a2b9d5a52839cedd |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-cache-1h · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 3217 |
_dd.llmobs.cache_write_input_tokens | 2492 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7160 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 523 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7683 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 3217 |
gen_ai.usage.cache_write_input_tokens | 2492 |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7683 |
llmobs_parent_id | 10466239703788946183 |
llmobs_trace_id | 6b097a070000000038b55fd2918942e1 |
process_id | 4819 |
runtime-id | 2e357c7932f54d46a2b9d5a52839cedd |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-cache-cumulative · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-cache-cumulative- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 3583 |
_dd.llmobs.cache_write_input_tokens | 811 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5673 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 467 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 6140 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 3583 |
gen_ai.usage.cache_write_input_tokens | 811 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
llmobs_parent_id | 8106946715148041719 |
llmobs_trace_id | 6b0979f600000000e5c108ac257cfb81 |
process_id | 4697 |
runtime-id | 7100065feaef473e959bb83a615a2bcf |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-cache-cumulative · response_id #
expected msg_wt_cumul, reported nothing
- Expected
msg_wt_cumul- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-cache-cumulative- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 3583 |
_dd.llmobs.cache_write_input_tokens | 811 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5673 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 467 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 6140 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 3583 |
gen_ai.usage.cache_write_input_tokens | 811 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
llmobs_parent_id | 8106946715148041719 |
llmobs_trace_id | 6b0979f600000000e5c108ac257cfb81 |
process_id | 4697 |
runtime-id | 7100065feaef473e959bb83a615a2bcf |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-cache-cumulative · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-cache-cumulative- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 3583 |
_dd.llmobs.cache_write_input_tokens | 811 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5673 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 467 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 6140 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 3583 |
gen_ai.usage.cache_write_input_tokens | 811 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
llmobs_parent_id | 8106946715148041719 |
llmobs_trace_id | 6b0979f600000000e5c108ac257cfb81 |
process_id | 4697 |
runtime-id | 7100065feaef473e959bb83a615a2bcf |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-cache-hit · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 6144 |
_dd.llmobs.cache_write_input_tokens | 737 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 8424 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 511 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 8935 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 6144 |
gen_ai.usage.cache_write_input_tokens | 737 |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 8935 |
llmobs_parent_id | 11704021549876885881 |
llmobs_trace_id | 6b0979ed0000000047e6a1d9d212d0d4 |
process_id | 4566 |
runtime-id | 9c3c6e04250344338a38f2546dd497e3 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-cache-hit · response_id #
expected msg_wt_scache, reported nothing
- Expected
msg_wt_scache- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 6144 |
_dd.llmobs.cache_write_input_tokens | 737 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 8424 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 511 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 8935 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 6144 |
gen_ai.usage.cache_write_input_tokens | 737 |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 8935 |
llmobs_parent_id | 11704021549876885881 |
llmobs_trace_id | 6b0979ed0000000047e6a1d9d212d0d4 |
process_id | 4566 |
runtime-id | 9c3c6e04250344338a38f2546dd497e3 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-cache-hit · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 6144 |
_dd.llmobs.cache_write_input_tokens | 737 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 8424 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 511 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 8935 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 6144 |
gen_ai.usage.cache_write_input_tokens | 737 |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 8935 |
llmobs_parent_id | 11704021549876885881 |
llmobs_trace_id | 6b0979ed0000000047e6a1d9d212d0d4 |
process_id | 4566 |
runtime-id | 9c3c6e04250344338a38f2546dd497e3 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-content-off · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-content-off- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 15152365861127280048 |
llmobs_trace_id | 6b097ae40000000049f6f608ac000f82 |
process_id | 6789 |
runtime-id | b14e0473820148ab852d116e972ae9f9 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-content-off · response_id #
expected msg_wt_stream, reported nothing
- Expected
msg_wt_stream- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-content-off- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 15152365861127280048 |
llmobs_trace_id | 6b097ae40000000049f6f608ac000f82 |
process_id | 6789 |
runtime-id | b14e0473820148ab852d116e972ae9f9 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-content-off · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 15152365861127280048 |
llmobs_trace_id | 6b097ae40000000049f6f608ac000f82 |
process_id | 6789 |
runtime-id | b14e0473820148ab852d116e972ae9f9 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-content-on · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-content-on- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 18023853678548328113 |
llmobs_trace_id | 6b097aec00000000d7f34ffe769ff4ed |
process_id | 6862 |
runtime-id | 22fa542ecf3d482ab5af7847232057cd |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-content-on · response_id #
expected msg_wt_stream, reported nothing
- Expected
msg_wt_stream- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-content-on- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 18023853678548328113 |
llmobs_trace_id | 6b097aec00000000d7f34ffe769ff4ed |
process_id | 6862 |
runtime-id | 22fa542ecf3d482ab5af7847232057cd |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-content-on · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 18023853678548328113 |
llmobs_trace_id | 6b097aec00000000d7f34ffe769ff4ed |
process_id | 6862 |
runtime-id | 22fa542ecf3d482ab5af7847232057cd |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-early-exit · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1913 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.span_kind | llm |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1913 |
llmobs_parent_id | 11405621076390022593 |
llmobs_trace_id | 6b0979dc00000000229a6797b23a5c25 |
process_id | 4429 |
runtime-id | 21e85fb52b7a423194af8eada7dc39e6 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-early-exit · response_id #
expected msg_wt_early, reported nothing
- Expected
msg_wt_early- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1913 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.span_kind | llm |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1913 |
llmobs_parent_id | 11405621076390022593 |
llmobs_trace_id | 6b0979dc00000000229a6797b23a5c25 |
process_id | 4429 |
runtime-id | 21e85fb52b7a423194af8eada7dc39e6 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-early-exit-with · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-early-exit-with- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1913 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.span_kind | llm |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1913 |
llmobs_parent_id | 10251418517356770268 |
llmobs_trace_id | 6b097a5900000000b2016e80d53fc5c1 |
process_id | 5540 |
runtime-id | f24ebc1f45cd4c789d2bbb7e37821b74 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-early-exit-with · response_id #
expected msg_wt_early, reported nothing
- Expected
msg_wt_early- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-early-exit-with- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1913 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.span_kind | llm |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1913 |
llmobs_parent_id | 10251418517356770268 |
llmobs_trace_id | 6b097a5900000000b2016e80d53fc5c1 |
process_id | 5540 |
runtime-id | f24ebc1f45cd4c789d2bbb7e37821b74 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-thinking · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-thinking- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1831 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 1439 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3270 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 3270 |
llmobs_parent_id | 16245095327013559823 |
llmobs_trace_id | 6b097a4a00000000716501d9d3a0a4d7 |
process_id | 5386 |
runtime-id | 2cc2d433b3274b629989e54c58ad090d |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-thinking · response_id #
expected msg_wt_sthink, reported nothing
- Expected
msg_wt_sthink- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-thinking- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1831 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 1439 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3270 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 3270 |
llmobs_parent_id | 16245095327013559823 |
llmobs_trace_id | 6b097a4a00000000716501d9d3a0a4d7 |
process_id | 5386 |
runtime-id | 2cc2d433b3274b629989e54c58ad090d |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-thinking · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1831 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 1439 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3270 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 3270 |
llmobs_parent_id | 16245095327013559823 |
llmobs_trace_id | 6b097a4a00000000716501d9d3a0a4d7 |
process_id | 5386 |
runtime-id | 2cc2d433b3274b629989e54c58ad090d |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-thinking · reasoning_tokensHidden reasoning #
expected 1103, reported nothing
- Expected
1103- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1831 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 1439 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3270 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 3270 |
llmobs_parent_id | 16245095327013559823 |
llmobs_trace_id | 6b097a4a00000000716501d9d3a0a4d7 |
process_id | 5386 |
runtime-id | 2cc2d433b3274b629989e54c58ad090d |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-tool-call · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-tool-call- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1619 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 197 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1816 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 1816 |
llmobs_parent_id | 9210775079873614354 |
llmobs_trace_id | 6b097a1f000000002a50425f1c31b72f |
process_id | 5021 |
runtime-id | f63e9b4ca565451fa09da34d4f880c0b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-tool-call · response_id #
expected msg_wt_stools, reported nothing
- Expected
msg_wt_stools- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-tool-call- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1619 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 197 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1816 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 1816 |
llmobs_parent_id | 9210775079873614354 |
llmobs_trace_id | 6b097a1f000000002a50425f1c31b72f |
process_id | 5021 |
runtime-id | f63e9b4ca565451fa09da34d4f880c0b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/stream-tool-call · finish_reasonsSilent stop #
expected tool_use, reported nothing
- Expected
['tool_use']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1619 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 197 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1816 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 1816 |
llmobs_parent_id | 9210775079873614354 |
llmobs_trace_id | 6b097a1f000000002a50425f1c31b72f |
process_id | 5021 |
runtime-id | f63e9b4ca565451fa09da34d4f880c0b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/thinking · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/thinking- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1627 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 1273 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2900 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.total_tokens | 2900 |
llmobs_parent_id | 3986699889891656284 |
llmobs_trace_id | 6b097a4100000000dea14943b1aed5e2 |
process_id | 5299 |
runtime-id | 0a841e029d474d36a056ba1021c73c90 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/thinking · response_id #
expected msg_wt_thinking, reported nothing
- Expected
msg_wt_thinking- Reproduce
spantruth run --subject ddtrace --scenario anthropic/thinking- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1627 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 1273 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2900 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.total_tokens | 2900 |
llmobs_parent_id | 3986699889891656284 |
llmobs_trace_id | 6b097a4100000000dea14943b1aed5e2 |
process_id | 5299 |
runtime-id | 0a841e029d474d36a056ba1021c73c90 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/thinking · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1627 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 1273 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2900 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.total_tokens | 2900 |
llmobs_parent_id | 3986699889891656284 |
llmobs_trace_id | 6b097a4100000000dea14943b1aed5e2 |
process_id | 5299 |
runtime-id | 0a841e029d474d36a056ba1021c73c90 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/thinking · reasoning_tokensHidden reasoning #
expected 947, reported nothing
- Expected
947- Reproduce
spantruth run --subject ddtrace --scenario anthropic/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1627 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 1273 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2900 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.total_tokens | 2900 |
llmobs_parent_id | 3986699889891656284 |
llmobs_trace_id | 6b097a4100000000dea14943b1aed5e2 |
process_id | 5299 |
runtime-id | 0a841e029d474d36a056ba1021c73c90 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/tool-call · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject ddtrace --scenario anthropic/tool-call- Rule
- The name of the model that generated the response.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 931 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 88 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1019 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.total_tokens | 1019 |
llmobs_parent_id | 4501434131260353252 |
llmobs_trace_id | 6b097a17000000008365805419740d26 |
process_id | 4955 |
runtime-id | 5a652a5942bb401c9c20a5d2b1d4dc94 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/tool-call · response_id #
expected msg_wt_tools, reported nothing
- Expected
msg_wt_tools- Reproduce
spantruth run --subject ddtrace --scenario anthropic/tool-call- Rule
- The unique identifier of the completion.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 931 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 88 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1019 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.total_tokens | 1019 |
llmobs_parent_id | 4501434131260353252 |
llmobs_trace_id | 6b097a17000000008365805419740d26 |
process_id | 4955 |
runtime-id | 5a652a5942bb401c9c20a5d2b1d4dc94 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · anthropic/tool-call · finish_reasonsSilent stop #
expected tool_use, reported nothing
- Expected
['tool_use']- Reproduce
spantruth run --subject ddtrace --scenario anthropic/tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
anthropic.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.cache_write_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 931 |
_dd.llmobs.model_name | claude-sonnet-5-5 |
_dd.llmobs.model_provider | anthropic |
_dd.llmobs.output_tokens | 88 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1019 |
_dd.measured | 1 |
_dd.svc_src | m |
anthropic.request.model | claude-sonnet-5-5 |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.cache_write_input_tokens | 0 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.total_tokens | 1019 |
llmobs_parent_id | 4501434131260353252 |
llmobs_trace_id | 6b097a17000000008365805419740d26 |
process_id | 4955 |
runtime-id | 5a652a5942bb401c9c20a5d2b1d4dc94 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · azure/async-basic · request_model #
expected wt-chat-deployment, reported gpt-5-mini-2026-08-07
- Expected
wt-chat-deployment- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario azure/async-basic- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 12420534634180348750 |
llmobs_trace_id | 6b097b5300000000c03b10f63cec3c0b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 8265 |
runtime-id | 324a183086da43ab9b0535e76fac393b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/async-basic · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario azure/async-basic- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 12420534634180348750 |
llmobs_trace_id | 6b097b5300000000c03b10f63cec3c0b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 8265 |
runtime-id | 324a183086da43ab9b0535e76fac393b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/async-basic · response_id #
expected chatcmpl-wt-azbasic, reported nothing
- Expected
chatcmpl-wt-azbasic- Reproduce
spantruth run --subject ddtrace --scenario azure/async-basic- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 12420534634180348750 |
llmobs_trace_id | 6b097b5300000000c03b10f63cec3c0b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 8265 |
runtime-id | 324a183086da43ab9b0535e76fac393b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/async-basic · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario azure/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 12420534634180348750 |
llmobs_trace_id | 6b097b5300000000c03b10f63cec3c0b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 8265 |
runtime-id | 324a183086da43ab9b0535e76fac393b |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · azure/async-stream · request_model #
expected wt-chat-deployment, reported gpt-5-mini-2026-08-07
- Expected
wt-chat-deployment- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario azure/async-stream- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2341 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 433 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2774 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2774 |
llmobs_parent_id | 14904182315873656295 |
llmobs_trace_id | 6b097b5b00000000090fb401a76c96da |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 8355 |
runtime-id | 725ee8ce1db2487e8fb3cb578b8a4053 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/async-stream · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario azure/async-stream- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2341 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 433 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2774 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2774 |
llmobs_parent_id | 14904182315873656295 |
llmobs_trace_id | 6b097b5b00000000090fb401a76c96da |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 8355 |
runtime-id | 725ee8ce1db2487e8fb3cb578b8a4053 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/async-stream · response_id #
expected chatcmpl-wt-azstream, reported nothing
- Expected
chatcmpl-wt-azstream- Reproduce
spantruth run --subject ddtrace --scenario azure/async-stream- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2341 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 433 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2774 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2774 |
llmobs_parent_id | 14904182315873656295 |
llmobs_trace_id | 6b097b5b00000000090fb401a76c96da |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 8355 |
runtime-id | 725ee8ce1db2487e8fb3cb578b8a4053 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/async-stream · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario azure/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2341 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 433 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2774 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2774 |
llmobs_parent_id | 14904182315873656295 |
llmobs_trace_id | 6b097b5b00000000090fb401a76c96da |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 8355 |
runtime-id | 725ee8ce1db2487e8fb3cb578b8a4053 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · azure/basic · request_model #
expected wt-chat-deployment, reported gpt-5-mini-2026-08-07
- Expected
wt-chat-deployment- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario azure/basic- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 7809601823771677171 |
llmobs_trace_id | 6b097b2a00000000a22d2c859527b1a6 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 7659 |
runtime-id | d170be2cdea74c04a4125615ac48cc0f |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/basic · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario azure/basic- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 7809601823771677171 |
llmobs_trace_id | 6b097b2a00000000a22d2c859527b1a6 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 7659 |
runtime-id | d170be2cdea74c04a4125615ac48cc0f |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/basic · response_id #
expected chatcmpl-wt-azbasic, reported nothing
- Expected
chatcmpl-wt-azbasic- Reproduce
spantruth run --subject ddtrace --scenario azure/basic- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 7809601823771677171 |
llmobs_trace_id | 6b097b2a00000000a22d2c859527b1a6 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 7659 |
runtime-id | d170be2cdea74c04a4125615ac48cc0f |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/basic · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario azure/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 7809601823771677171 |
llmobs_trace_id | 6b097b2a00000000a22d2c859527b1a6 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 7659 |
runtime-id | d170be2cdea74c04a4125615ac48cc0f |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · azure/stream · request_model #
expected wt-chat-deployment, reported gpt-5-mini-2026-08-07
- Expected
wt-chat-deployment- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario azure/stream- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2341 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 433 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2774 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2774 |
llmobs_parent_id | 8094255845648977425 |
llmobs_trace_id | 6b097b3200000000fcfd7ad27cacc71f |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 7747 |
runtime-id | bd526d80b23641e8b6d61b99245fc08b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/stream · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario azure/stream- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2341 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 433 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2774 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2774 |
llmobs_parent_id | 8094255845648977425 |
llmobs_trace_id | 6b097b3200000000fcfd7ad27cacc71f |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 7747 |
runtime-id | bd526d80b23641e8b6d61b99245fc08b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/stream · response_id #
expected chatcmpl-wt-azstream, reported nothing
- Expected
chatcmpl-wt-azstream- Reproduce
spantruth run --subject ddtrace --scenario azure/stream- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2341 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 433 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2774 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2774 |
llmobs_parent_id | 8094255845648977425 |
llmobs_trace_id | 6b097b3200000000fcfd7ad27cacc71f |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 7747 |
runtime-id | bd526d80b23641e8b6d61b99245fc08b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · azure/stream · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario azure/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2341 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | azure_openai |
_dd.llmobs.output_tokens | 433 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2774 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | azure_openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2774 |
llmobs_parent_id | 8094255845648977425 |
llmobs_trace_id | 6b097b3200000000fcfd7ad27cacc71f |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | wt-chat-deployment |
openai.request.provider | AzureOpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 7747 |
runtime-id | bd526d80b23641e8b6d61b99245fc08b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/async-basic · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject ddtrace --scenario gemini/async-basic- Rule
- The name of the model that generated the response.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1193 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 271 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1464 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
gen_ai.usage.total_tokens | 1464 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 9263701747746464688 |
llmobs_trace_id | 6b097b39000000005e07fa7a8c37e2db |
process_id | 7831 |
runtime-id | 6d8b9297fa8149bea1af5739690521c4 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/async-basic · response_id #
expected wt-gemini-basic, reported nothing
- Expected
wt-gemini-basic- Reproduce
spantruth run --subject ddtrace --scenario gemini/async-basic- Rule
- The unique identifier of the completion.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1193 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 271 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1464 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
gen_ai.usage.total_tokens | 1464 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 9263701747746464688 |
llmobs_trace_id | 6b097b39000000005e07fa7a8c37e2db |
process_id | 7831 |
runtime-id | 6d8b9297fa8149bea1af5739690521c4 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/async-basic · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Reproduce
spantruth run --subject ddtrace --scenario gemini/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1193 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 271 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1464 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
gen_ai.usage.total_tokens | 1464 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 9263701747746464688 |
llmobs_trace_id | 6b097b39000000005e07fa7a8c37e2db |
process_id | 7831 |
runtime-id | 6d8b9297fa8149bea1af5739690521c4 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/async-stream · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject ddtrace --scenario gemini/async-stream- Rule
- The name of the model that generated the response.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2333 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 431 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2764 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
gen_ai.usage.total_tokens | 2764 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 14730012840717960004 |
llmobs_trace_id | 6b097b3f000000006de71b6751104baf |
process_id | 7950 |
runtime-id | d0189d1e562648eda840729c0f64a20a |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/async-stream · response_id #
expected wt-gemini-stream, reported nothing
- Expected
wt-gemini-stream- Reproduce
spantruth run --subject ddtrace --scenario gemini/async-stream- Rule
- The unique identifier of the completion.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2333 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 431 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2764 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
gen_ai.usage.total_tokens | 2764 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 14730012840717960004 |
llmobs_trace_id | 6b097b3f000000006de71b6751104baf |
process_id | 7950 |
runtime-id | d0189d1e562648eda840729c0f64a20a |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/async-stream · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Reproduce
spantruth run --subject ddtrace --scenario gemini/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2333 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 431 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2764 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
gen_ai.usage.total_tokens | 2764 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 14730012840717960004 |
llmobs_trace_id | 6b097b3f000000006de71b6751104baf |
process_id | 7950 |
runtime-id | d0189d1e562648eda840729c0f64a20a |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/async-stream-early-exit · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject ddtrace --scenario gemini/async-stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1949 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 239 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2188 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1949 |
gen_ai.usage.output_tokens | 239 |
gen_ai.usage.total_tokens | 2188 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 11014933188409316883 |
llmobs_trace_id | 6b097b4500000000033ec81afe32e149 |
process_id | 8121 |
runtime-id | 7ee63fe37ffc4a94b6383add151d98bd |
missing ddtrace · gemini/async-stream-early-exit · response_id #
expected wt-gemini-early, reported nothing
- Expected
wt-gemini-early- Reproduce
spantruth run --subject ddtrace --scenario gemini/async-stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1949 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 239 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2188 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1949 |
gen_ai.usage.output_tokens | 239 |
gen_ai.usage.total_tokens | 2188 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 11014933188409316883 |
llmobs_trace_id | 6b097b4500000000033ec81afe32e149 |
process_id | 8121 |
runtime-id | 7ee63fe37ffc4a94b6383add151d98bd |
missing ddtrace · gemini/basic · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject ddtrace --scenario gemini/basic- Rule
- The name of the model that generated the response.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1193 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 271 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1464 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
gen_ai.usage.total_tokens | 1464 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 10049778164778624986 |
llmobs_trace_id | 6b097af300000000795e5c3425222039 |
process_id | 6919 |
runtime-id | 4ccde303a00c4957bab58bf4b027e2b7 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/basic · response_id #
expected wt-gemini-basic, reported nothing
- Expected
wt-gemini-basic- Reproduce
spantruth run --subject ddtrace --scenario gemini/basic- Rule
- The unique identifier of the completion.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1193 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 271 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1464 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
gen_ai.usage.total_tokens | 1464 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 10049778164778624986 |
llmobs_trace_id | 6b097af300000000795e5c3425222039 |
process_id | 6919 |
runtime-id | 4ccde303a00c4957bab58bf4b027e2b7 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/basic · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Reproduce
spantruth run --subject ddtrace --scenario gemini/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1193 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 271 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1464 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
gen_ai.usage.total_tokens | 1464 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 10049778164778624986 |
llmobs_trace_id | 6b097af300000000795e5c3425222039 |
process_id | 6919 |
runtime-id | 4ccde303a00c4957bab58bf4b027e2b7 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/cache-hit · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject ddtrace --scenario gemini/cache-hit- Rule
- The name of the model that generated the response.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 4099 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5417 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 383 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 5800 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.cache_read_input_tokens | 4099 |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
gen_ai.usage.total_tokens | 5800 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 6014812397034740914 |
llmobs_trace_id | 6b097b11000000000a0856922c4b88cf |
process_id | 7358 |
runtime-id | ffb9f6126d10427db110343f2f77e1fd |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/cache-hit · response_id #
expected wt-gemini-cache, reported nothing
- Expected
wt-gemini-cache- Reproduce
spantruth run --subject ddtrace --scenario gemini/cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 4099 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5417 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 383 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 5800 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.cache_read_input_tokens | 4099 |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
gen_ai.usage.total_tokens | 5800 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 6014812397034740914 |
llmobs_trace_id | 6b097b11000000000a0856922c4b88cf |
process_id | 7358 |
runtime-id | ffb9f6126d10427db110343f2f77e1fd |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/cache-hit · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Reproduce
spantruth run --subject ddtrace --scenario gemini/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 4099 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5417 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 383 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 5800 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.cache_read_input_tokens | 4099 |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
gen_ai.usage.total_tokens | 5800 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 6014812397034740914 |
llmobs_trace_id | 6b097b11000000000a0856922c4b88cf |
process_id | 7358 |
runtime-id | ffb9f6126d10427db110343f2f77e1fd |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream- Rule
- The name of the model that generated the response.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2333 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 431 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2764 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
gen_ai.usage.total_tokens | 2764 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 11224349611185744842 |
llmobs_trace_id | 6b097af9000000007d81c8cbed32f287 |
process_id | 6973 |
runtime-id | 16bb13e5cc714665831c5958d77890da |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream · response_id #
expected wt-gemini-stream, reported nothing
- Expected
wt-gemini-stream- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream- Rule
- The unique identifier of the completion.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2333 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 431 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2764 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
gen_ai.usage.total_tokens | 2764 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 11224349611185744842 |
llmobs_trace_id | 6b097af9000000007d81c8cbed32f287 |
process_id | 6973 |
runtime-id | 16bb13e5cc714665831c5958d77890da |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2333 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 431 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2764 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
gen_ai.usage.total_tokens | 2764 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 11224349611185744842 |
llmobs_trace_id | 6b097af9000000007d81c8cbed32f287 |
process_id | 6973 |
runtime-id | 16bb13e5cc714665831c5958d77890da |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream-cache-hit · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 6151 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7229 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 523 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7752 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.cache_read_input_tokens | 6151 |
gen_ai.usage.input_tokens | 7229 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7752 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 6116680298871566833 |
llmobs_trace_id | 6b097b1700000000c1919c273e544f43 |
process_id | 7468 |
runtime-id | c2fcacf6575b42ca8acc320bc8dd97a3 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream-cache-hit · response_id #
expected wt-gemini-scache, reported nothing
- Expected
wt-gemini-scache- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream-cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 6151 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7229 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 523 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7752 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.cache_read_input_tokens | 6151 |
gen_ai.usage.input_tokens | 7229 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7752 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 6116680298871566833 |
llmobs_trace_id | 6b097b1700000000c1919c273e544f43 |
process_id | 7468 |
runtime-id | c2fcacf6575b42ca8acc320bc8dd97a3 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream-cache-hit · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 6151 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7229 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 523 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7752 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.cache_read_input_tokens | 6151 |
gen_ai.usage.input_tokens | 7229 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7752 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 6116680298871566833 |
llmobs_trace_id | 6b097b1700000000c1919c273e544f43 |
process_id | 7468 |
runtime-id | c2fcacf6575b42ca8acc320bc8dd97a3 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream-early-exit · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1949 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 239 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2188 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1949 |
gen_ai.usage.output_tokens | 239 |
gen_ai.usage.total_tokens | 2188 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 16460243124243120899 |
llmobs_trace_id | 6b097aff00000000655f56526d08d22b |
process_id | 7030 |
runtime-id | 0c319c3dab1144a5afc23a4e650556ba |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream-early-exit · response_id #
expected wt-gemini-early, reported nothing
- Expected
wt-gemini-early- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1949 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 239 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2188 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1949 |
gen_ai.usage.output_tokens | 239 |
gen_ai.usage.total_tokens | 2188 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 16460243124243120899 |
llmobs_trace_id | 6b097aff00000000655f56526d08d22b |
process_id | 7030 |
runtime-id | 0c319c3dab1144a5afc23a4e650556ba |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream-thinking · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream-thinking- Rule
- The name of the model that generated the response.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2083 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 2316 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 4399 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 2316 |
gen_ai.usage.reasoning_output_tokens | 1999 |
gen_ai.usage.total_tokens | 4399 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 5108620518501109698 |
llmobs_trace_id | 6b097b0b00000000f42c865b8c2b0eb3 |
process_id | 7236 |
runtime-id | 1e3506aa5c02442b8017f427539de121 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream-thinking · response_id #
expected wt-gemini-sthink, reported nothing
- Expected
wt-gemini-sthink- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream-thinking- Rule
- The unique identifier of the completion.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2083 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 2316 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 4399 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 2316 |
gen_ai.usage.reasoning_output_tokens | 1999 |
gen_ai.usage.total_tokens | 4399 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 5108620518501109698 |
llmobs_trace_id | 6b097b0b00000000f42c865b8c2b0eb3 |
process_id | 7236 |
runtime-id | 1e3506aa5c02442b8017f427539de121 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/stream-thinking · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Reproduce
spantruth run --subject ddtrace --scenario gemini/stream-thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2083 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 2316 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 4399 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 2316 |
gen_ai.usage.reasoning_output_tokens | 1999 |
gen_ai.usage.total_tokens | 4399 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 5108620518501109698 |
llmobs_trace_id | 6b097b0b00000000f42c865b8c2b0eb3 |
process_id | 7236 |
runtime-id | 1e3506aa5c02442b8017f427539de121 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/thinking · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject ddtrace --scenario gemini/thinking- Rule
- The name of the model that generated the response.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1609 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 2118 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3727 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
gen_ai.usage.reasoning_output_tokens | 1877 |
gen_ai.usage.total_tokens | 3727 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 14299848904773191911 |
llmobs_trace_id | 6b097b0500000000c7eb487b94c4c54a |
process_id | 7118 |
runtime-id | f401fdd40cae4489a6ecfa6d6288e5eb |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/thinking · response_id #
expected wt-gemini-think, reported nothing
- Expected
wt-gemini-think- Reproduce
spantruth run --subject ddtrace --scenario gemini/thinking- Rule
- The unique identifier of the completion.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1609 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 2118 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3727 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
gen_ai.usage.reasoning_output_tokens | 1877 |
gen_ai.usage.total_tokens | 3727 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 14299848904773191911 |
llmobs_trace_id | 6b097b0500000000c7eb487b94c4c54a |
process_id | 7118 |
runtime-id | f401fdd40cae4489a6ecfa6d6288e5eb |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · gemini/thinking · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Reproduce
spantruth run --subject ddtrace --scenario gemini/thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
google_genai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1609 |
_dd.llmobs.model_name | gemini-3.5-flash-lite |
_dd.llmobs.model_provider | google |
_dd.llmobs.output_tokens | 2118 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3727 |
_dd.measured | 1 |
_dd.svc_src | m |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | google |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
gen_ai.usage.reasoning_output_tokens | 1877 |
gen_ai.usage.total_tokens | 3727 |
google_genai.request.model | gemini-3.5-flash-lite |
google_genai.request.provider | google |
llmobs_parent_id | 14299848904773191911 |
llmobs_trace_id | 6b097b0500000000c7eb487b94c4c54a |
process_id | 7118 |
runtime-id | f401fdd40cae4489a6ecfa6d6288e5eb |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/agent-loop · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07: call 1 of 3; failed on calls 1, 2, 3
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject ddtrace --scenario openai/agent-loop- Rule
- The model name the request asked for.
Exported spans (4)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1171 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 97 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1268 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1268 |
llmobs_parent_id | 15383357845418421378 |
llmobs_trace_id | 6b097ba1000000003d107dbe22e199bf |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1093 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1307 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 89 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1396 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 1093 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1396 |
llmobs_parent_id | 3528974538559005493 |
llmobs_trace_id | 6b097ba100000000536c8d1f8dc3c45d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1279 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1459 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 211 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1670 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 1279 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1670 |
llmobs_parent_id | 12427584461512154983 |
llmobs_trace_id | 6b097ba100000000b82141b6fe4a5f5b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/agent-loop · response_model #
expected gpt-5-mini-2026-08-07, reported nothing: call 1 of 3; failed on calls 1, 2, 3
- Expected
gpt-5-mini-2026-08-07- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject ddtrace --scenario openai/agent-loop- Rule
- The name of the model that generated the response.
Exported spans (4)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1171 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 97 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1268 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1268 |
llmobs_parent_id | 15383357845418421378 |
llmobs_trace_id | 6b097ba1000000003d107dbe22e199bf |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1093 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1307 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 89 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1396 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 1093 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1396 |
llmobs_parent_id | 3528974538559005493 |
llmobs_trace_id | 6b097ba100000000536c8d1f8dc3c45d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1279 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1459 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 211 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1670 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 1279 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1670 |
llmobs_parent_id | 12427584461512154983 |
llmobs_trace_id | 6b097ba100000000b82141b6fe4a5f5b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/agent-loop · response_id #
expected chatcmpl-wt-loop1, reported nothing: call 1 of 3; failed on calls 1, 2, 3
- Expected
chatcmpl-wt-loop1- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject ddtrace --scenario openai/agent-loop- Rule
- The unique identifier of the completion.
Exported spans (4)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1171 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 97 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1268 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1268 |
llmobs_parent_id | 15383357845418421378 |
llmobs_trace_id | 6b097ba1000000003d107dbe22e199bf |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1093 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1307 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 89 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1396 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 1093 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1396 |
llmobs_parent_id | 3528974538559005493 |
llmobs_trace_id | 6b097ba100000000536c8d1f8dc3c45d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1279 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1459 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 211 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1670 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 1279 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1670 |
llmobs_parent_id | 12427584461512154983 |
llmobs_trace_id | 6b097ba100000000b82141b6fe4a5f5b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/agent-loop · finish_reasonsSilent stop #
expected tool_calls, reported nothing: call 1 of 3; failed on calls 1, 2, 3
- Expected
['tool_calls']- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject ddtrace --scenario openai/agent-loop- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1171 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 97 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1268 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1268 |
llmobs_parent_id | 15383357845418421378 |
llmobs_trace_id | 6b097ba1000000003d107dbe22e199bf |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1093 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1307 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 89 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1396 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 1093 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1396 |
llmobs_parent_id | 3528974538559005493 |
llmobs_trace_id | 6b097ba100000000536c8d1f8dc3c45d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1279 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1459 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 211 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1670 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 1279 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1670 |
llmobs_parent_id | 12427584461512154983 |
llmobs_trace_id | 6b097ba100000000b82141b6fe4a5f5b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9125 |
runtime-id | 6d44b07d9cd54ea8b0644d3960781f31 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/async-basic · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/async-basic- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 4230120041869980666 |
llmobs_trace_id | 6b097a6100000000433178752e76d6ce |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5619 |
runtime-id | f8b6abd3e6f74382b2854cd8408dfb65 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-basic · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/async-basic- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 4230120041869980666 |
llmobs_trace_id | 6b097a6100000000433178752e76d6ce |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5619 |
runtime-id | f8b6abd3e6f74382b2854cd8408dfb65 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-basic · response_id #
expected chatcmpl-wt-basic, reported nothing
- Expected
chatcmpl-wt-basic- Reproduce
spantruth run --subject ddtrace --scenario openai/async-basic- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 4230120041869980666 |
llmobs_trace_id | 6b097a6100000000433178752e76d6ce |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5619 |
runtime-id | f8b6abd3e6f74382b2854cd8408dfb65 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-basic · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 4230120041869980666 |
llmobs_trace_id | 6b097a6100000000433178752e76d6ce |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5619 |
runtime-id | f8b6abd3e6f74382b2854cd8408dfb65 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/async-concurrent-streams · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07: call 1 of 2; failed on calls 1, 2
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject ddtrace --scenario openai/async-concurrent-streams- Rule
- The model name the request asked for.
Exported spans (3)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 769 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1033 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 149 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1182 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 769 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1182 |
llmobs_parent_id | 2100475065505740057 |
llmobs_trace_id | 6b097bb1000000006d787a36bbfa1d42 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9245 |
runtime-id | 5df347061be14c23b6025bbcae96c5fc |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1747 |
_dd.llmobs.model_name | gpt-5-nano-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 181 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1928 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-nano-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1928 |
llmobs_parent_id | 10619131209175521635 |
llmobs_trace_id | 6b097bb100000000b060209b2335ca21 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-nano |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-nano-2026-08-07 |
process_id | 9245 |
runtime-id | 5df347061be14c23b6025bbcae96c5fc |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-concurrent-streams · response_model #
expected gpt-5-mini-2026-08-07, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
gpt-5-mini-2026-08-07- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject ddtrace --scenario openai/async-concurrent-streams- Rule
- The name of the model that generated the response.
Exported spans (3)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 769 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1033 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 149 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1182 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 769 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1182 |
llmobs_parent_id | 2100475065505740057 |
llmobs_trace_id | 6b097bb1000000006d787a36bbfa1d42 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9245 |
runtime-id | 5df347061be14c23b6025bbcae96c5fc |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1747 |
_dd.llmobs.model_name | gpt-5-nano-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 181 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1928 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-nano-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1928 |
llmobs_parent_id | 10619131209175521635 |
llmobs_trace_id | 6b097bb100000000b060209b2335ca21 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-nano |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-nano-2026-08-07 |
process_id | 9245 |
runtime-id | 5df347061be14c23b6025bbcae96c5fc |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-concurrent-streams · response_id #
expected chatcmpl-wt-par1, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
chatcmpl-wt-par1- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject ddtrace --scenario openai/async-concurrent-streams- Rule
- The unique identifier of the completion.
Exported spans (3)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 769 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1033 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 149 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1182 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 769 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1182 |
llmobs_parent_id | 2100475065505740057 |
llmobs_trace_id | 6b097bb1000000006d787a36bbfa1d42 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9245 |
runtime-id | 5df347061be14c23b6025bbcae96c5fc |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1747 |
_dd.llmobs.model_name | gpt-5-nano-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 181 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1928 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-nano-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1928 |
llmobs_parent_id | 10619131209175521635 |
llmobs_trace_id | 6b097bb100000000b060209b2335ca21 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-nano |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-nano-2026-08-07 |
process_id | 9245 |
runtime-id | 5df347061be14c23b6025bbcae96c5fc |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-concurrent-streams · finish_reasonsSilent stop #
expected stop, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
['stop']- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject ddtrace --scenario openai/async-concurrent-streams- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 769 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1033 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 149 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1182 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 769 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1182 |
llmobs_parent_id | 2100475065505740057 |
llmobs_trace_id | 6b097bb1000000006d787a36bbfa1d42 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 9245 |
runtime-id | 5df347061be14c23b6025bbcae96c5fc |
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1747 |
_dd.llmobs.model_name | gpt-5-nano-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 181 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1928 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-nano-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1928 |
llmobs_parent_id | 10619131209175521635 |
llmobs_trace_id | 6b097bb100000000b060209b2335ca21 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-nano |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-nano-2026-08-07 |
process_id | 9245 |
runtime-id | 5df347061be14c23b6025bbcae96c5fc |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/async-stream · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 2289404977087079528 |
llmobs_trace_id | 6b097a69000000002a3303014849e6d0 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5723 |
runtime-id | 932fde73e34f4011a36f6a977a306315 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-stream · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 2289404977087079528 |
llmobs_trace_id | 6b097a69000000002a3303014849e6d0 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5723 |
runtime-id | 932fde73e34f4011a36f6a977a306315 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-stream · response_id #
expected chatcmpl-wt-stream, reported nothing
- Expected
chatcmpl-wt-stream- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 2289404977087079528 |
llmobs_trace_id | 6b097a69000000002a3303014849e6d0 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5723 |
runtime-id | 932fde73e34f4011a36f6a977a306315 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-stream · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 2289404977087079528 |
llmobs_trace_id | 6b097a69000000002a3303014849e6d0 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5723 |
runtime-id | 932fde73e34f4011a36f6a977a306315 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/async-stream-early-exit · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream-early-exit- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 9 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 2 |
gen_ai.usage.total_tokens | 9 |
llmobs_parent_id | 4964306953896391642 |
llmobs_trace_id | 6b097a71000000000c44521873952f0a |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5835 |
runtime-id | efaff677fcb2404cb098ce28db9ac207 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-stream-early-exit · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 9 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 2 |
gen_ai.usage.total_tokens | 9 |
llmobs_parent_id | 4964306953896391642 |
llmobs_trace_id | 6b097a71000000000c44521873952f0a |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5835 |
runtime-id | efaff677fcb2404cb098ce28db9ac207 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-stream-early-exit · response_id #
expected chatcmpl-wt-early, reported nothing
- Expected
chatcmpl-wt-early- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 9 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 2 |
gen_ai.usage.total_tokens | 9 |
llmobs_parent_id | 4964306953896391642 |
llmobs_trace_id | 6b097a71000000000c44521873952f0a |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5835 |
runtime-id | efaff677fcb2404cb098ce28db9ac207 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/async-stream-helper · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream-helper- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2137 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 313 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2137 |
gen_ai.usage.output_tokens | 313 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2450 |
llmobs_parent_id | 9071499537876759108 |
llmobs_trace_id | 6b097a81000000009fc0b3e2f80cb7cb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5981 |
runtime-id | 3ebbe121a7994e9a89cda4c8977ec89b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream-helper- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2137 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 313 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2137 |
gen_ai.usage.output_tokens | 313 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2450 |
llmobs_parent_id | 9071499537876759108 |
llmobs_trace_id | 6b097a81000000009fc0b3e2f80cb7cb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5981 |
runtime-id | 3ebbe121a7994e9a89cda4c8977ec89b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-stream-helper · response_id #
expected chatcmpl-wt-shelper, reported nothing
- Expected
chatcmpl-wt-shelper- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream-helper- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2137 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 313 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2137 |
gen_ai.usage.output_tokens | 313 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2450 |
llmobs_parent_id | 9071499537876759108 |
llmobs_trace_id | 6b097a81000000009fc0b3e2f80cb7cb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5981 |
runtime-id | 3ebbe121a7994e9a89cda4c8977ec89b |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/async-stream-helper · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/async-stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2137 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 313 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2137 |
gen_ai.usage.output_tokens | 313 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2450 |
llmobs_parent_id | 9071499537876759108 |
llmobs_trace_id | 6b097a81000000009fc0b3e2f80cb7cb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5981 |
runtime-id | 3ebbe121a7994e9a89cda4c8977ec89b |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/basic · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/basic- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 14497935229578546940 |
llmobs_trace_id | 6b09794e00000000e2f3cc5a1edf7b14 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3117 |
runtime-id | a7faf8a23aed4949a86c23083e9fce05 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/basic · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/basic- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 14497935229578546940 |
llmobs_trace_id | 6b09794e00000000e2f3cc5a1edf7b14 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3117 |
runtime-id | a7faf8a23aed4949a86c23083e9fce05 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/basic · response_id #
expected chatcmpl-wt-basic, reported nothing
- Expected
chatcmpl-wt-basic- Reproduce
spantruth run --subject ddtrace --scenario openai/basic- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 14497935229578546940 |
llmobs_trace_id | 6b09794e00000000e2f3cc5a1edf7b14 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3117 |
runtime-id | a7faf8a23aed4949a86c23083e9fce05 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/basic · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 14497935229578546940 |
llmobs_trace_id | 6b09794e00000000e2f3cc5a1edf7b14 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3117 |
runtime-id | a7faf8a23aed4949a86c23083e9fce05 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/cache-hit · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/cache-hit- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 4096 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5379 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 377 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 5756 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 4096 |
gen_ai.usage.input_tokens | 5379 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 5756 |
llmobs_parent_id | 1003839752845013987 |
llmobs_trace_id | 6b09796500000000423ca55ebdc75cae |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3316 |
runtime-id | 64c71efbd1c14bbf913647090ae91ea6 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/cache-hit · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/cache-hit- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 4096 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5379 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 377 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 5756 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 4096 |
gen_ai.usage.input_tokens | 5379 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 5756 |
llmobs_parent_id | 1003839752845013987 |
llmobs_trace_id | 6b09796500000000423ca55ebdc75cae |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3316 |
runtime-id | 64c71efbd1c14bbf913647090ae91ea6 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/cache-hit · response_id #
expected chatcmpl-wt-cache, reported nothing
- Expected
chatcmpl-wt-cache- Reproduce
spantruth run --subject ddtrace --scenario openai/cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 4096 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5379 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 377 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 5756 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 4096 |
gen_ai.usage.input_tokens | 5379 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 5756 |
llmobs_parent_id | 1003839752845013987 |
llmobs_trace_id | 6b09796500000000423ca55ebdc75cae |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3316 |
runtime-id | 64c71efbd1c14bbf913647090ae91ea6 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/cache-hit · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 4096 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 5379 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 377 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 5756 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 4096 |
gen_ai.usage.input_tokens | 5379 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 5756 |
llmobs_parent_id | 1003839752845013987 |
llmobs_trace_id | 6b09796500000000423ca55ebdc75cae |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3316 |
runtime-id | 64c71efbd1c14bbf913647090ae91ea6 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/cache-write · request_model #
expected gpt-5.6-luna, reported gpt-5.6-luna-2026-10-14
- Expected
gpt-5.6-luna- Reported
gpt-5.6-luna-2026-10-14- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/cache-write- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 2753 |
_dd.llmobs.cache_write_input_tokens | 3181 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 6619 |
_dd.llmobs.model_name | gpt-5.6-luna-2026-10-14 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 401 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7020 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.cache_read_input_tokens | 2753 |
gen_ai.usage.cache_write_input_tokens | 3181 |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.output_tokens | 401 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 7020 |
llmobs_parent_id | 6157911525849830309 |
llmobs_trace_id | 6b097975000000002a912d4adbb36563 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5.6-luna |
openai.request.provider | OpenAI |
openai.response.model | gpt-5.6-luna-2026-10-14 |
process_id | 3458 |
runtime-id | 41cbc5b688164b1a9134dc97402eacc2 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/cache-write · response_model #
expected gpt-5.6-luna-2026-10-14, reported nothing
- Expected
gpt-5.6-luna-2026-10-14- Reproduce
spantruth run --subject ddtrace --scenario openai/cache-write- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 2753 |
_dd.llmobs.cache_write_input_tokens | 3181 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 6619 |
_dd.llmobs.model_name | gpt-5.6-luna-2026-10-14 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 401 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7020 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.cache_read_input_tokens | 2753 |
gen_ai.usage.cache_write_input_tokens | 3181 |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.output_tokens | 401 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 7020 |
llmobs_parent_id | 6157911525849830309 |
llmobs_trace_id | 6b097975000000002a912d4adbb36563 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5.6-luna |
openai.request.provider | OpenAI |
openai.response.model | gpt-5.6-luna-2026-10-14 |
process_id | 3458 |
runtime-id | 41cbc5b688164b1a9134dc97402eacc2 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/cache-write · response_id #
expected chatcmpl-wt-cwrite, reported nothing
- Expected
chatcmpl-wt-cwrite- Reproduce
spantruth run --subject ddtrace --scenario openai/cache-write- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 2753 |
_dd.llmobs.cache_write_input_tokens | 3181 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 6619 |
_dd.llmobs.model_name | gpt-5.6-luna-2026-10-14 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 401 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7020 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.cache_read_input_tokens | 2753 |
gen_ai.usage.cache_write_input_tokens | 3181 |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.output_tokens | 401 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 7020 |
llmobs_parent_id | 6157911525849830309 |
llmobs_trace_id | 6b097975000000002a912d4adbb36563 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5.6-luna |
openai.request.provider | OpenAI |
openai.response.model | gpt-5.6-luna-2026-10-14 |
process_id | 3458 |
runtime-id | 41cbc5b688164b1a9134dc97402eacc2 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/cache-write · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/cache-write- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 2753 |
_dd.llmobs.cache_write_input_tokens | 3181 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 6619 |
_dd.llmobs.model_name | gpt-5.6-luna-2026-10-14 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 401 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7020 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.cache_read_input_tokens | 2753 |
gen_ai.usage.cache_write_input_tokens | 3181 |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.output_tokens | 401 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 7020 |
llmobs_parent_id | 6157911525849830309 |
llmobs_trace_id | 6b097975000000002a912d4adbb36563 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5.6-luna |
openai.request.provider | OpenAI |
openai.response.model | gpt-5.6-luna-2026-10-14 |
process_id | 3458 |
runtime-id | 41cbc5b688164b1a9134dc97402eacc2 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-extra-cache-fields · response_model #
expected deepseek-flash, reported nothing
- Expected
deepseek-flash- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-extra-cache-fields- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1408 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1931 |
_dd.llmobs.model_name | deepseek-flash |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 397 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2328 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | deepseek-flash |
gen_ai.usage.cache_read_input_tokens | 1408 |
gen_ai.usage.input_tokens | 1931 |
gen_ai.usage.output_tokens | 397 |
gen_ai.usage.total_tokens | 2328 |
llmobs_parent_id | 9219749083035892091 |
llmobs_trace_id | 6b097b9100000000245519552d85b00b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | deepseek-flash |
openai.request.provider | OpenAI |
openai.response.model | deepseek-flash |
process_id | 9007 |
runtime-id | acdd66beef194f94b33f1601daaaa2b6 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-extra-cache-fields · response_id #
expected 9f3c2a71-5b8e-4d0a-a6c4-2e17d8b0f5a3, reported nothing
- Expected
9f3c2a71-5b8e-4d0a-a6c4-2e17d8b0f5a3- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-extra-cache-fields- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1408 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1931 |
_dd.llmobs.model_name | deepseek-flash |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 397 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2328 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | deepseek-flash |
gen_ai.usage.cache_read_input_tokens | 1408 |
gen_ai.usage.input_tokens | 1931 |
gen_ai.usage.output_tokens | 397 |
gen_ai.usage.total_tokens | 2328 |
llmobs_parent_id | 9219749083035892091 |
llmobs_trace_id | 6b097b9100000000245519552d85b00b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | deepseek-flash |
openai.request.provider | OpenAI |
openai.response.model | deepseek-flash |
process_id | 9007 |
runtime-id | acdd66beef194f94b33f1601daaaa2b6 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-extra-cache-fields · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-extra-cache-fields- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1408 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1931 |
_dd.llmobs.model_name | deepseek-flash |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 397 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2328 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | deepseek-flash |
gen_ai.usage.cache_read_input_tokens | 1408 |
gen_ai.usage.input_tokens | 1931 |
gen_ai.usage.output_tokens | 397 |
gen_ai.usage.total_tokens | 2328 |
llmobs_parent_id | 9219749083035892091 |
llmobs_trace_id | 6b097b9100000000245519552d85b00b |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | deepseek-flash |
openai.request.provider | OpenAI |
openai.response.model | deepseek-flash |
process_id | 9007 |
runtime-id | acdd66beef194f94b33f1601daaaa2b6 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/compat-extra-timing-fields · request_model #
expected llama-3.3-70b-versatile, reported openai/gpt-oss-20b
- Expected
llama-3.3-70b-versatile- Reported
openai/gpt-oss-20b- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-extra-timing-fields- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 18 |
_dd.llmobs.model_name | openai/gpt-oss-20b |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 556 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 574 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | openai/gpt-oss-20b |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 556 |
gen_ai.usage.total_tokens | 574 |
llmobs_parent_id | 16935410008456337584 |
llmobs_trace_id | 6b097b9900000000e31892c867c9641d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | llama-3.3-70b-versatile |
openai.request.provider | OpenAI |
openai.response.model | openai/gpt-oss-20b |
process_id | 9063 |
runtime-id | be153bcd512740bca4f8533739497194 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-extra-timing-fields · response_model #
expected openai/gpt-oss-20b, reported nothing
- Expected
openai/gpt-oss-20b- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-extra-timing-fields- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 18 |
_dd.llmobs.model_name | openai/gpt-oss-20b |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 556 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 574 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | openai/gpt-oss-20b |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 556 |
gen_ai.usage.total_tokens | 574 |
llmobs_parent_id | 16935410008456337584 |
llmobs_trace_id | 6b097b9900000000e31892c867c9641d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | llama-3.3-70b-versatile |
openai.request.provider | OpenAI |
openai.response.model | openai/gpt-oss-20b |
process_id | 9063 |
runtime-id | be153bcd512740bca4f8533739497194 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-extra-timing-fields · response_id #
expected chatcmpl-f51b2cd2-bef7-417e-964e-a08f0b513c22, reported nothing
- Expected
chatcmpl-f51b2cd2-bef7-417e-964e-a08f0b513c22- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-extra-timing-fields- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 18 |
_dd.llmobs.model_name | openai/gpt-oss-20b |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 556 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 574 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | openai/gpt-oss-20b |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 556 |
gen_ai.usage.total_tokens | 574 |
llmobs_parent_id | 16935410008456337584 |
llmobs_trace_id | 6b097b9900000000e31892c867c9641d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | llama-3.3-70b-versatile |
openai.request.provider | OpenAI |
openai.response.model | openai/gpt-oss-20b |
process_id | 9063 |
runtime-id | be153bcd512740bca4f8533739497194 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-extra-timing-fields · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-extra-timing-fields- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 18 |
_dd.llmobs.model_name | openai/gpt-oss-20b |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 556 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 574 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | openai/gpt-oss-20b |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 556 |
gen_ai.usage.total_tokens | 574 |
llmobs_parent_id | 16935410008456337584 |
llmobs_trace_id | 6b097b9900000000e31892c867c9641d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | llama-3.3-70b-versatile |
openai.request.provider | OpenAI |
openai.response.model | openai/gpt-oss-20b |
process_id | 9063 |
runtime-id | be153bcd512740bca4f8533739497194 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/compat-no-details · request_model #
expected qwen3.5-27b, reported Qwen/Qwen3.5-27B-Instruct
- Expected
qwen3.5-27b- Reported
Qwen/Qwen3.5-27B-Instruct- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-no-details- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1129 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 241 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1370 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1129 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.total_tokens | 1370 |
llmobs_parent_id | 16091431175826975137 |
llmobs_trace_id | 6b097b620000000039bf424ac06ee34d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8434 |
runtime-id | 1434ab4f95be4a2aa053713a31ffcf3e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-no-details · response_model #
expected Qwen/Qwen3.5-27B-Instruct, reported nothing
- Expected
Qwen/Qwen3.5-27B-Instruct- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-no-details- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1129 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 241 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1370 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1129 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.total_tokens | 1370 |
llmobs_parent_id | 16091431175826975137 |
llmobs_trace_id | 6b097b620000000039bf424ac06ee34d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8434 |
runtime-id | 1434ab4f95be4a2aa053713a31ffcf3e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-no-details · response_id #
expected chatcmpl-wt-cnodet, reported nothing
- Expected
chatcmpl-wt-cnodet- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-no-details- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1129 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 241 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1370 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1129 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.total_tokens | 1370 |
llmobs_parent_id | 16091431175826975137 |
llmobs_trace_id | 6b097b620000000039bf424ac06ee34d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8434 |
runtime-id | 1434ab4f95be4a2aa053713a31ffcf3e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-no-details · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-no-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1129 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 241 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1370 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1129 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.total_tokens | 1370 |
llmobs_parent_id | 16091431175826975137 |
llmobs_trace_id | 6b097b620000000039bf424ac06ee34d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8434 |
runtime-id | 1434ab4f95be4a2aa053713a31ffcf3e |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/compat-null-details · request_model #
expected qwen3.5-27b, reported Qwen/Qwen3.5-27B-Instruct
- Expected
qwen3.5-27b- Reported
Qwen/Qwen3.5-27B-Instruct- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-null-details- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 11825263790545464829 |
llmobs_trace_id | 6b097b6a00000000e15407083b5d7895 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8522 |
runtime-id | 405ccd2a7a3741bc87f11a4fdae8a749 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-null-details · response_model #
expected Qwen/Qwen3.5-27B-Instruct, reported nothing
- Expected
Qwen/Qwen3.5-27B-Instruct- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-null-details- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 11825263790545464829 |
llmobs_trace_id | 6b097b6a00000000e15407083b5d7895 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8522 |
runtime-id | 405ccd2a7a3741bc87f11a4fdae8a749 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-null-details · response_id #
expected chatcmpl-wt-cnull, reported nothing
- Expected
chatcmpl-wt-cnull- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-null-details- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 11825263790545464829 |
llmobs_trace_id | 6b097b6a00000000e15407083b5d7895 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8522 |
runtime-id | 405ccd2a7a3741bc87f11a4fdae8a749 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-null-details · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-null-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1213 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 277 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1490 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
llmobs_parent_id | 11825263790545464829 |
llmobs_trace_id | 6b097b6a00000000e15407083b5d7895 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8522 |
runtime-id | 405ccd2a7a3741bc87f11a4fdae8a749 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-partial-details · response_model #
expected qwen3.5:0.8b, reported nothing
- Expected
qwen3.5:0.8b- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-partial-details- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 28 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 32 |
_dd.llmobs.model_name | qwen3.5:0.8b |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 16 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 48 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5:0.8b |
gen_ai.usage.cache_read_input_tokens | 28 |
gen_ai.usage.input_tokens | 32 |
gen_ai.usage.output_tokens | 16 |
gen_ai.usage.total_tokens | 48 |
llmobs_parent_id | 2431482468596595062 |
llmobs_trace_id | 6b097b8900000000fa5fe90032dbef28 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5:0.8b |
openai.request.provider | OpenAI |
openai.response.model | qwen3.5:0.8b |
process_id | 8945 |
runtime-id | 5ab874449ed34993ba36797d2e917100 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-partial-details · response_id #
expected chatcmpl-54, reported nothing
- Expected
chatcmpl-54- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-partial-details- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 28 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 32 |
_dd.llmobs.model_name | qwen3.5:0.8b |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 16 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 48 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5:0.8b |
gen_ai.usage.cache_read_input_tokens | 28 |
gen_ai.usage.input_tokens | 32 |
gen_ai.usage.output_tokens | 16 |
gen_ai.usage.total_tokens | 48 |
llmobs_parent_id | 2431482468596595062 |
llmobs_trace_id | 6b097b8900000000fa5fe90032dbef28 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5:0.8b |
openai.request.provider | OpenAI |
openai.response.model | qwen3.5:0.8b |
process_id | 8945 |
runtime-id | 5ab874449ed34993ba36797d2e917100 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-partial-details · finish_reasonsSilent stop #
expected length, reported nothing
- Expected
['length']- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-partial-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 28 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 32 |
_dd.llmobs.model_name | qwen3.5:0.8b |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 16 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 48 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5:0.8b |
gen_ai.usage.cache_read_input_tokens | 28 |
gen_ai.usage.input_tokens | 32 |
gen_ai.usage.output_tokens | 16 |
gen_ai.usage.total_tokens | 48 |
llmobs_parent_id | 2431482468596595062 |
llmobs_trace_id | 6b097b8900000000fa5fe90032dbef28 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5:0.8b |
openai.request.provider | OpenAI |
openai.response.model | qwen3.5:0.8b |
process_id | 8945 |
runtime-id | 5ab874449ed34993ba36797d2e917100 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/compat-stream-no-details · request_model #
expected qwen3.5-27b, reported Qwen/Qwen3.5-27B-Instruct
- Expected
qwen3.5-27b- Reported
Qwen/Qwen3.5-27B-Instruct- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-stream-no-details- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1361 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 293 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1654 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1361 |
gen_ai.usage.output_tokens | 293 |
gen_ai.usage.total_tokens | 1654 |
llmobs_parent_id | 7523816809986344614 |
llmobs_trace_id | 6b097b720000000057116051df8308cb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8608 |
runtime-id | c969bb6104084c6f96c2fb2ef11f52e8 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-stream-no-details · response_model #
expected Qwen/Qwen3.5-27B-Instruct, reported nothing
- Expected
Qwen/Qwen3.5-27B-Instruct- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-stream-no-details- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1361 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 293 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1654 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1361 |
gen_ai.usage.output_tokens | 293 |
gen_ai.usage.total_tokens | 1654 |
llmobs_parent_id | 7523816809986344614 |
llmobs_trace_id | 6b097b720000000057116051df8308cb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8608 |
runtime-id | c969bb6104084c6f96c2fb2ef11f52e8 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-stream-no-details · response_id #
expected chatcmpl-wt-csnodet, reported nothing
- Expected
chatcmpl-wt-csnodet- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-stream-no-details- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1361 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 293 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1654 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1361 |
gen_ai.usage.output_tokens | 293 |
gen_ai.usage.total_tokens | 1654 |
llmobs_parent_id | 7523816809986344614 |
llmobs_trace_id | 6b097b720000000057116051df8308cb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8608 |
runtime-id | c969bb6104084c6f96c2fb2ef11f52e8 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-stream-no-details · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-stream-no-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1361 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 293 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1654 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1361 |
gen_ai.usage.output_tokens | 293 |
gen_ai.usage.total_tokens | 1654 |
llmobs_parent_id | 7523816809986344614 |
llmobs_trace_id | 6b097b720000000057116051df8308cb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8608 |
runtime-id | c969bb6104084c6f96c2fb2ef11f52e8 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/compat-stream-usage-on-finish · request_model #
expected qwen3.5-27b, reported Qwen/Qwen3.5-27B-Instruct
- Expected
qwen3.5-27b- Reported
Qwen/Qwen3.5-27B-Instruct- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-stream-usage-on-finish- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1063 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1489 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 331 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1820 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.cache_read_input_tokens | 1063 |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.output_tokens | 331 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1820 |
llmobs_parent_id | 10233541665676484421 |
llmobs_trace_id | 6b097b7a00000000affe96ee4b035858 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8736 |
runtime-id | b76f899e8b2248f5bbb8c9478b3f9975 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-stream-usage-on-finish · response_model #
expected Qwen/Qwen3.5-27B-Instruct, reported nothing
- Expected
Qwen/Qwen3.5-27B-Instruct- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-stream-usage-on-finish- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1063 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1489 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 331 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1820 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.cache_read_input_tokens | 1063 |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.output_tokens | 331 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1820 |
llmobs_parent_id | 10233541665676484421 |
llmobs_trace_id | 6b097b7a00000000affe96ee4b035858 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8736 |
runtime-id | b76f899e8b2248f5bbb8c9478b3f9975 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-stream-usage-on-finish · response_id #
expected chatcmpl-wt-csfinish, reported nothing
- Expected
chatcmpl-wt-csfinish- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-stream-usage-on-finish- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1063 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1489 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 331 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1820 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.cache_read_input_tokens | 1063 |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.output_tokens | 331 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1820 |
llmobs_parent_id | 10233541665676484421 |
llmobs_trace_id | 6b097b7a00000000affe96ee4b035858 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8736 |
runtime-id | b76f899e8b2248f5bbb8c9478b3f9975 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/compat-stream-usage-on-finish · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/compat-stream-usage-on-finish- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 1063 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1489 |
_dd.llmobs.model_name | Qwen/Qwen3.5-27B-Instruct |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 331 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1820 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.cache_read_input_tokens | 1063 |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.output_tokens | 331 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1820 |
llmobs_parent_id | 10233541665676484421 |
llmobs_trace_id | 6b097b7a00000000affe96ee4b035858 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | qwen3.5-27b |
openai.request.provider | OpenAI |
openai.response.model | Qwen/Qwen3.5-27B-Instruct |
process_id | 8736 |
runtime-id | b76f899e8b2248f5bbb8c9478b3f9975 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/content-off · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/content-off- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 6581671974925947 |
llmobs_trace_id | 6b097ab3000000008d55ce093c550403 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6402 |
runtime-id | 9a1b9be9e8e14ba18197b4aa69f693b8 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/content-off · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/content-off- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 6581671974925947 |
llmobs_trace_id | 6b097ab3000000008d55ce093c550403 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6402 |
runtime-id | 9a1b9be9e8e14ba18197b4aa69f693b8 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/content-off · response_id #
expected chatcmpl-wt-basic, reported nothing
- Expected
chatcmpl-wt-basic- Reproduce
spantruth run --subject ddtrace --scenario openai/content-off- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 6581671974925947 |
llmobs_trace_id | 6b097ab3000000008d55ce093c550403 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6402 |
runtime-id | 9a1b9be9e8e14ba18197b4aa69f693b8 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/content-off · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 6581671974925947 |
llmobs_trace_id | 6b097ab3000000008d55ce093c550403 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6402 |
runtime-id | 9a1b9be9e8e14ba18197b4aa69f693b8 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/content-on · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/content-on- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 17220978239882020021 |
llmobs_trace_id | 6b097abb00000000d41c14cf7b711ccb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6466 |
runtime-id | de496e010e544b14a55f740b9049cf21 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/content-on · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/content-on- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 17220978239882020021 |
llmobs_trace_id | 6b097abb00000000d41c14cf7b711ccb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6466 |
runtime-id | de496e010e544b14a55f740b9049cf21 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/content-on · response_id #
expected chatcmpl-wt-basic, reported nothing
- Expected
chatcmpl-wt-basic- Reproduce
spantruth run --subject ddtrace --scenario openai/content-on- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 17220978239882020021 |
llmobs_trace_id | 6b097abb00000000d41c14cf7b711ccb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6466 |
runtime-id | de496e010e544b14a55f740b9049cf21 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/content-on · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1187 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 263 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1450 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1450 |
llmobs_parent_id | 17220978239882020021 |
llmobs_trace_id | 6b097abb00000000d41c14cf7b711ccb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6466 |
runtime-id | de496e010e544b14a55f740b9049cf21 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/reasoning · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/reasoning- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1601 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2219 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3820 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
gen_ai.usage.reasoning_output_tokens | 1792 |
gen_ai.usage.total_tokens | 3820 |
llmobs_parent_id | 10172963898095381040 |
llmobs_trace_id | 6b0979b30000000039842bb331b3e792 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 4093 |
runtime-id | f84760b245a84c2799e4976272023ec7 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/reasoning · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/reasoning- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1601 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2219 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3820 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
gen_ai.usage.reasoning_output_tokens | 1792 |
gen_ai.usage.total_tokens | 3820 |
llmobs_parent_id | 10172963898095381040 |
llmobs_trace_id | 6b0979b30000000039842bb331b3e792 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 4093 |
runtime-id | f84760b245a84c2799e4976272023ec7 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/reasoning · response_id #
expected chatcmpl-wt-reason, reported nothing
- Expected
chatcmpl-wt-reason- Reproduce
spantruth run --subject ddtrace --scenario openai/reasoning- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1601 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2219 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3820 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
gen_ai.usage.reasoning_output_tokens | 1792 |
gen_ai.usage.total_tokens | 3820 |
llmobs_parent_id | 10172963898095381040 |
llmobs_trace_id | 6b0979b30000000039842bb331b3e792 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 4093 |
runtime-id | f84760b245a84c2799e4976272023ec7 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/reasoning · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/reasoning- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1601 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2219 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 3820 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
gen_ai.usage.reasoning_output_tokens | 1792 |
gen_ai.usage.total_tokens | 3820 |
llmobs_parent_id | 10172963898095381040 |
llmobs_trace_id | 6b0979b30000000039842bb331b3e792 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 4093 |
runtime-id | f84760b245a84c2799e4976272023ec7 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/retry-429 · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/retry-429- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2477 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 367 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2844 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2844 |
llmobs_parent_id | 4026239391333607330 |
llmobs_trace_id | 6b0979a400000000a123d5be5d7dfe8f |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3885 |
runtime-id | 392a9e7a22cb4a4b83eb1df35c6b85a6 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/retry-429 · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/retry-429- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2477 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 367 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2844 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2844 |
llmobs_parent_id | 4026239391333607330 |
llmobs_trace_id | 6b0979a400000000a123d5be5d7dfe8f |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3885 |
runtime-id | 392a9e7a22cb4a4b83eb1df35c6b85a6 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/retry-429 · response_id #
expected chatcmpl-wt-retry, reported nothing
- Expected
chatcmpl-wt-retry- Reproduce
spantruth run --subject ddtrace --scenario openai/retry-429- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2477 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 367 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2844 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2844 |
llmobs_parent_id | 4026239391333607330 |
llmobs_trace_id | 6b0979a400000000a123d5be5d7dfe8f |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3885 |
runtime-id | 392a9e7a22cb4a4b83eb1df35c6b85a6 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/retry-429 · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/retry-429- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2477 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 367 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2844 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2844 |
llmobs_parent_id | 4026239391333607330 |
llmobs_trace_id | 6b0979a400000000a123d5be5d7dfe8f |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3885 |
runtime-id | 392a9e7a22cb4a4b83eb1df35c6b85a6 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/stream- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 490878425182854010 |
llmobs_trace_id | 6b09795500000000bd776703996948eb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3182 |
runtime-id | b2bc0576db8f47d78eeba0238dc1706a |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/stream- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 490878425182854010 |
llmobs_trace_id | 6b09795500000000bd776703996948eb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3182 |
runtime-id | b2bc0576db8f47d78eeba0238dc1706a |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream · response_id #
expected chatcmpl-wt-stream, reported nothing
- Expected
chatcmpl-wt-stream- Reproduce
spantruth run --subject ddtrace --scenario openai/stream- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 490878425182854010 |
llmobs_trace_id | 6b09795500000000bd776703996948eb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3182 |
runtime-id | b2bc0576db8f47d78eeba0238dc1706a |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 490878425182854010 |
llmobs_trace_id | 6b09795500000000bd776703996948eb |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3182 |
runtime-id | b2bc0576db8f47d78eeba0238dc1706a |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-cache-hit · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-cache-hit- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 6144 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 511 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7724 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 6144 |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 7724 |
llmobs_parent_id | 8251170347950574057 |
llmobs_trace_id | 6b09796d00000000cd538988d63e05d9 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3381 |
runtime-id | ba8f85a8d09043c3b633b9bd426df121 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-cache-hit · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 6144 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 511 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7724 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 6144 |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 7724 |
llmobs_parent_id | 8251170347950574057 |
llmobs_trace_id | 6b09796d00000000cd538988d63e05d9 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3381 |
runtime-id | ba8f85a8d09043c3b633b9bd426df121 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-cache-hit · response_id #
expected chatcmpl-wt-scache, reported nothing
- Expected
chatcmpl-wt-scache- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 6144 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 511 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7724 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 6144 |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 7724 |
llmobs_parent_id | 8251170347950574057 |
llmobs_trace_id | 6b09796d00000000cd538988d63e05d9 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3381 |
runtime-id | ba8f85a8d09043c3b633b9bd426df121 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-cache-hit · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 6144 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7213 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 511 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7724 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 6144 |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 7724 |
llmobs_parent_id | 8251170347950574057 |
llmobs_trace_id | 6b09796d00000000cd538988d63e05d9 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3381 |
runtime-id | ba8f85a8d09043c3b633b9bd426df121 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-cache-write · request_model #
expected gpt-5.6-luna, reported gpt-5.6-luna-2026-10-14
- Expected
gpt-5.6-luna- Reported
gpt-5.6-luna-2026-10-14- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-cache-write- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 3967 |
_dd.llmobs.cache_write_input_tokens | 3539 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 8237 |
_dd.llmobs.model_name | gpt-5.6-luna-2026-10-14 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 457 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 8694 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.cache_read_input_tokens | 3967 |
gen_ai.usage.cache_write_input_tokens | 3539 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 8694 |
llmobs_parent_id | 15195008988493320038 |
llmobs_trace_id | 6b09797d00000000525548d2475a1e2d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5.6-luna |
openai.request.provider | OpenAI |
openai.response.model | gpt-5.6-luna-2026-10-14 |
process_id | 3518 |
runtime-id | dfdaf6f0c32a42b0a6751dbb4b029680 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-cache-write · response_model #
expected gpt-5.6-luna-2026-10-14, reported nothing
- Expected
gpt-5.6-luna-2026-10-14- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-cache-write- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 3967 |
_dd.llmobs.cache_write_input_tokens | 3539 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 8237 |
_dd.llmobs.model_name | gpt-5.6-luna-2026-10-14 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 457 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 8694 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.cache_read_input_tokens | 3967 |
gen_ai.usage.cache_write_input_tokens | 3539 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 8694 |
llmobs_parent_id | 15195008988493320038 |
llmobs_trace_id | 6b09797d00000000525548d2475a1e2d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5.6-luna |
openai.request.provider | OpenAI |
openai.response.model | gpt-5.6-luna-2026-10-14 |
process_id | 3518 |
runtime-id | dfdaf6f0c32a42b0a6751dbb4b029680 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-cache-write · response_id #
expected chatcmpl-wt-scwrite, reported nothing
- Expected
chatcmpl-wt-scwrite- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-cache-write- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 3967 |
_dd.llmobs.cache_write_input_tokens | 3539 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 8237 |
_dd.llmobs.model_name | gpt-5.6-luna-2026-10-14 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 457 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 8694 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.cache_read_input_tokens | 3967 |
gen_ai.usage.cache_write_input_tokens | 3539 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 8694 |
llmobs_parent_id | 15195008988493320038 |
llmobs_trace_id | 6b09797d00000000525548d2475a1e2d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5.6-luna |
openai.request.provider | OpenAI |
openai.response.model | gpt-5.6-luna-2026-10-14 |
process_id | 3518 |
runtime-id | dfdaf6f0c32a42b0a6751dbb4b029680 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-cache-write · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-cache-write- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 3967 |
_dd.llmobs.cache_write_input_tokens | 3539 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 8237 |
_dd.llmobs.model_name | gpt-5.6-luna-2026-10-14 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 457 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 8694 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.cache_read_input_tokens | 3967 |
gen_ai.usage.cache_write_input_tokens | 3539 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 8694 |
llmobs_parent_id | 15195008988493320038 |
llmobs_trace_id | 6b09797d00000000525548d2475a1e2d |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5.6-luna |
openai.request.provider | OpenAI |
openai.response.model | gpt-5.6-luna-2026-10-14 |
process_id | 3518 |
runtime-id | dfdaf6f0c32a42b0a6751dbb4b029680 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-content-off · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-content-off- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 1565299802555226705 |
llmobs_trace_id | 6b097ac3000000001a73dbc005dcf9a5 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6520 |
runtime-id | 246710b479d04dfca2038b0c779c31d1 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-content-off · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-content-off- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 1565299802555226705 |
llmobs_trace_id | 6b097ac3000000001a73dbc005dcf9a5 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6520 |
runtime-id | 246710b479d04dfca2038b0c779c31d1 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-content-off · response_id #
expected chatcmpl-wt-stream, reported nothing
- Expected
chatcmpl-wt-stream- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-content-off- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 1565299802555226705 |
llmobs_trace_id | 6b097ac3000000001a73dbc005dcf9a5 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6520 |
runtime-id | 246710b479d04dfca2038b0c779c31d1 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-content-off · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 1565299802555226705 |
llmobs_trace_id | 6b097ac3000000001a73dbc005dcf9a5 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6520 |
runtime-id | 246710b479d04dfca2038b0c779c31d1 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-content-on · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-content-on- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 1878199342749886684 |
llmobs_trace_id | 6b097acb00000000508d639fb6f369b8 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6593 |
runtime-id | 866ec57450e84419b2f0109f541552e1 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-content-on · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-content-on- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 1878199342749886684 |
llmobs_trace_id | 6b097acb00000000508d639fb6f369b8 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6593 |
runtime-id | 866ec57450e84419b2f0109f541552e1 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-content-on · response_id #
expected chatcmpl-wt-stream, reported nothing
- Expected
chatcmpl-wt-stream- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-content-on- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 1878199342749886684 |
llmobs_trace_id | 6b097acb00000000508d639fb6f369b8 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6593 |
runtime-id | 866ec57450e84419b2f0109f541552e1 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-content-on · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2311 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 419 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 2730 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 2730 |
llmobs_parent_id | 1878199342749886684 |
llmobs_trace_id | 6b097acb00000000508d639fb6f369b8 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 6593 |
runtime-id | 866ec57450e84419b2f0109f541552e1 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-early-exit · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-early-exit- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 9 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 2 |
gen_ai.usage.total_tokens | 9 |
llmobs_parent_id | 10117118494812088628 |
llmobs_trace_id | 6b09795d00000000223db12870da0542 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3246 |
runtime-id | d91c261896bf4f1c9877230c9cc8671e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-early-exit · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 9 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 2 |
gen_ai.usage.total_tokens | 9 |
llmobs_parent_id | 10117118494812088628 |
llmobs_trace_id | 6b09795d00000000223db12870da0542 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3246 |
runtime-id | d91c261896bf4f1c9877230c9cc8671e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-early-exit · response_id #
expected chatcmpl-wt-early, reported nothing
- Expected
chatcmpl-wt-early- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 9 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 2 |
gen_ai.usage.total_tokens | 9 |
llmobs_parent_id | 10117118494812088628 |
llmobs_trace_id | 6b09795d00000000223db12870da0542 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3246 |
runtime-id | d91c261896bf4f1c9877230c9cc8671e |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-early-exit-with · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-early-exit-with- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 9 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 2 |
gen_ai.usage.total_tokens | 9 |
llmobs_parent_id | 4800658831817993701 |
llmobs_trace_id | 6b097a5100000000ceaaa43fdc217d03 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5461 |
runtime-id | d3d517a09c2c459e9702e054df01db5e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-early-exit-with · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-early-exit-with- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 9 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 2 |
gen_ai.usage.total_tokens | 9 |
llmobs_parent_id | 4800658831817993701 |
llmobs_trace_id | 6b097a5100000000ceaaa43fdc217d03 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5461 |
runtime-id | d3d517a09c2c459e9702e054df01db5e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-early-exit-with · response_id #
expected chatcmpl-wt-early, reported nothing
- Expected
chatcmpl-wt-early- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-early-exit-with- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 9 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 2 |
gen_ai.usage.total_tokens | 9 |
llmobs_parent_id | 4800658831817993701 |
llmobs_trace_id | 6b097a5100000000ceaaa43fdc217d03 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 5461 |
runtime-id | d3d517a09c2c459e9702e054df01db5e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Cost
- $0.00116 on the wire, $1.75e-06 from the spans (-99.8%), at list price.
- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-helper- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 0 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 0 |
gen_ai.usage.total_tokens | 7 |
llmobs_parent_id | 12507289306553927833 |
llmobs_trace_id | 6b0979c300000000f4d5dca37404bf01 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
process_id | 4229 |
runtime-id | f6ce3f7fa1bc4938ba0a41e26f352074 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-helper · response_id #
expected chatcmpl-wt-shelper, reported nothing
- Expected
chatcmpl-wt-shelper- Cost
- $0.00116 on the wire, $1.75e-06 from the spans (-99.8%), at list price.
- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-helper- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 0 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 0 |
gen_ai.usage.total_tokens | 7 |
llmobs_parent_id | 12507289306553927833 |
llmobs_trace_id | 6b0979c300000000f4d5dca37404bf01 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
process_id | 4229 |
runtime-id | f6ce3f7fa1bc4938ba0a41e26f352074 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-helper · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Cost
- $0.00116 on the wire, $1.75e-06 from the spans (-99.8%), at list price.
- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 0 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 0 |
gen_ai.usage.total_tokens | 7 |
llmobs_parent_id | 12507289306553927833 |
llmobs_trace_id | 6b0979c300000000f4d5dca37404bf01 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
process_id | 4229 |
runtime-id | f6ce3f7fa1bc4938ba0a41e26f352074 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-helper · input_tokensVanishing tokens #
expected 2137, reported 7
- Expected
2137- Reported
7- Read from
gen_ai.usage.input_tokens- Cost
- $0.00116 on the wire, $1.75e-06 from the spans (-99.8%), at list price.
- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-helper- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 0 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 0 |
gen_ai.usage.total_tokens | 7 |
llmobs_parent_id | 12507289306553927833 |
llmobs_trace_id | 6b0979c300000000f4d5dca37404bf01 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
process_id | 4229 |
runtime-id | f6ce3f7fa1bc4938ba0a41e26f352074 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-helper · output_tokensVanishing tokens #
expected 313, reported 0
- Expected
313- Reported
0- Read from
gen_ai.usage.output_tokens- Cost
- $0.00116 on the wire, $1.75e-06 from the spans (-99.8%), at list price.
- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-helper- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 0 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 7 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 0 |
gen_ai.usage.total_tokens | 7 |
llmobs_parent_id | 12507289306553927833 |
llmobs_trace_id | 6b0979c300000000f4d5dca37404bf01 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
process_id | 4229 |
runtime-id | f6ce3f7fa1bc4938ba0a41e26f352074 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-no-usage · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-no-usage- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 7 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 14 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 14 |
llmobs_parent_id | 8139018341084117939 |
llmobs_trace_id | 6b09798500000000ab51e0c1a309f556 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3599 |
runtime-id | 953bfdd7db274866aef83fe58016078e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-no-usage · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-no-usage- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 7 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 14 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 14 |
llmobs_parent_id | 8139018341084117939 |
llmobs_trace_id | 6b09798500000000ab51e0c1a309f556 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3599 |
runtime-id | 953bfdd7db274866aef83fe58016078e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-no-usage · response_id #
expected chatcmpl-wt-nousage, reported nothing
- Expected
chatcmpl-wt-nousage- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-no-usage- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 7 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 14 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 14 |
llmobs_parent_id | 8139018341084117939 |
llmobs_trace_id | 6b09798500000000ab51e0c1a309f556 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3599 |
runtime-id | 953bfdd7db274866aef83fe58016078e |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-no-usage · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-no-usage- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 7 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 14 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 14 |
llmobs_parent_id | 8139018341084117939 |
llmobs_trace_id | 6b09798500000000ab51e0c1a309f556 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3599 |
runtime-id | 953bfdd7db274866aef83fe58016078e |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-no-usage · input_tokensPhantom tokens #
expected nothing, reported 7: estimated: the stream carried no usage
- Reported
7- Read from
gen_ai.usage.input_tokens- Note
estimated: the stream carried no usage- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-no-usage- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 7 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 14 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 14 |
llmobs_parent_id | 8139018341084117939 |
llmobs_trace_id | 6b09798500000000ab51e0c1a309f556 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3599 |
runtime-id | 953bfdd7db274866aef83fe58016078e |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-no-usage · output_tokensPhantom tokens #
expected nothing, reported 7: estimated: the stream carried no usage
- Reported
7- Read from
gen_ai.usage.output_tokens- Note
estimated: the stream carried no usage- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-no-usage- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 7 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 7 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 14 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 14 |
llmobs_parent_id | 8139018341084117939 |
llmobs_trace_id | 6b09798500000000ab51e0c1a309f556 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3599 |
runtime-id | 953bfdd7db274866aef83fe58016078e |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-reasoning · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-reasoning- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2089 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2459 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 4548 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.reasoning_output_tokens | 1931 |
gen_ai.usage.total_tokens | 4548 |
llmobs_parent_id | 10580170714838955194 |
llmobs_trace_id | 6b0979bb0000000014e047d02a735c4c |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 4160 |
runtime-id | f35c6ca1aca24d77ac65b88867be9a00 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-reasoning · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-reasoning- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2089 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2459 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 4548 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.reasoning_output_tokens | 1931 |
gen_ai.usage.total_tokens | 4548 |
llmobs_parent_id | 10580170714838955194 |
llmobs_trace_id | 6b0979bb0000000014e047d02a735c4c |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 4160 |
runtime-id | f35c6ca1aca24d77ac65b88867be9a00 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-reasoning · response_id #
expected chatcmpl-wt-sreason, reported nothing
- Expected
chatcmpl-wt-sreason- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-reasoning- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2089 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2459 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 4548 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.reasoning_output_tokens | 1931 |
gen_ai.usage.total_tokens | 4548 |
llmobs_parent_id | 10580170714838955194 |
llmobs_trace_id | 6b0979bb0000000014e047d02a735c4c |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 4160 |
runtime-id | f35c6ca1aca24d77ac65b88867be9a00 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-reasoning · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-reasoning- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 2089 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 2459 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 4548 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.reasoning_output_tokens | 1931 |
gen_ai.usage.total_tokens | 4548 |
llmobs_parent_id | 10580170714838955194 |
llmobs_trace_id | 6b0979bb0000000014e047d02a735c4c |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 4160 |
runtime-id | f35c6ca1aca24d77ac65b88867be9a00 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/stream-tool-call · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-tool-call- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1553 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 173 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1726 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1726 |
llmobs_parent_id | 4476315281796404532 |
llmobs_trace_id | 6b09799400000000439f26b98e04a080 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3735 |
runtime-id | 94108501b8b341e388c205d320756a96 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-tool-call · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-tool-call- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1553 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 173 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1726 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1726 |
llmobs_parent_id | 4476315281796404532 |
llmobs_trace_id | 6b09799400000000439f26b98e04a080 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3735 |
runtime-id | 94108501b8b341e388c205d320756a96 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-tool-call · response_id #
expected chatcmpl-wt-stools, reported nothing
- Expected
chatcmpl-wt-stools- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-tool-call- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1553 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 173 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1726 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1726 |
llmobs_parent_id | 4476315281796404532 |
llmobs_trace_id | 6b09799400000000439f26b98e04a080 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3735 |
runtime-id | 94108501b8b341e388c205d320756a96 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/stream-tool-call · finish_reasonsSilent stop #
expected tool_calls, reported nothing
- Expected
['tool_calls']- Reproduce
spantruth run --subject ddtrace --scenario openai/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 1553 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 173 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1726 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1726 |
llmobs_parent_id | 4476315281796404532 |
llmobs_trace_id | 6b09799400000000439f26b98e04a080 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3735 |
runtime-id | 94108501b8b341e388c205d320756a96 |
spantruth.scenario spantruth.driver, status UNSET
wrong ddtrace · openai/tool-call · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject ddtrace --scenario openai/tool-call- Rule
- The model name the request asked for.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 931 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 88 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1019 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1019 |
llmobs_parent_id | 16651844684240018181 |
llmobs_trace_id | 6b09798c000000006c5e0ed12b2eef51 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3660 |
runtime-id | 610af5cc2af14774809c5efba8070248 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/tool-call · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Reproduce
spantruth run --subject ddtrace --scenario openai/tool-call- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 931 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 88 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1019 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1019 |
llmobs_parent_id | 16651844684240018181 |
llmobs_trace_id | 6b09798c000000006c5e0ed12b2eef51 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3660 |
runtime-id | 610af5cc2af14774809c5efba8070248 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/tool-call · response_id #
expected chatcmpl-wt-tools, reported nothing
- Expected
chatcmpl-wt-tools- Reproduce
spantruth run --subject ddtrace --scenario openai/tool-call- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 931 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 88 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1019 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1019 |
llmobs_parent_id | 16651844684240018181 |
llmobs_trace_id | 6b09798c000000006c5e0ed12b2eef51 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3660 |
runtime-id | 610af5cc2af14774809c5efba8070248 |
spantruth.scenario spantruth.driver, status UNSET
missing ddtrace · openai/tool-call · finish_reasonsSilent stop #
expected tool_calls, reported nothing
- Expected
['tool_calls']- Reproduce
spantruth run --subject ddtrace --scenario openai/tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.request ddtrace.adapter, status UNSET
_dd.llmobs.artificial_gen_ai_tags | true |
_dd.llmobs.cache_read_input_tokens | 0 |
_dd.llmobs.enabled | 1 |
_dd.llmobs.input_tokens | 931 |
_dd.llmobs.model_name | gpt-5-mini-2026-08-07 |
_dd.llmobs.model_provider | openai |
_dd.llmobs.output_tokens | 88 |
_dd.llmobs.span_kind | llm |
_dd.llmobs.total_tokens | 1019 |
_dd.measured | 1 |
_dd.svc_src | m |
component | openai |
gen_ai.application.name | spantruth |
gen_ai.operation.name | llm |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.reasoning_output_tokens | 0 |
gen_ai.usage.total_tokens | 1019 |
llmobs_parent_id | 16651844684240018181 |
llmobs_trace_id | 6b09798c000000006c5e0ed12b2eef51 |
openai.request.endpoint | /v1/chat/completions |
openai.request.method | POST |
openai.request.model | gpt-5-mini |
openai.request.provider | OpenAI |
openai.response.model | gpt-5-mini-2026-08-07 |
process_id | 3660 |
runtime-id | 610af5cc2af14774809c5efba8070248 |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openinference · anthropic/async-stream · input_tokensVanishing tokens #
expected 2311, reported 0
- Expected
2311- Reported
0- Read from
llm.token_count.prompt- Cost
- $0.00881 on the wire, $0.00419 from the spans (-52.5%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/async-stream- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | end_turn |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 419 |
llm.token_count.prompt | 0 |
llm.token_count.total | 419 |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital of France is Paris.", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "stop_reason": "end_turn", "stop_sequence": null, "finish_reason": "end_turn", "normalized_finish_reason": "stop", "finish_state": "complete"}, "type": "AIMessageChunk", "id": "lc_run--01a21d05-c619-7072-8908-b811d1c0772d", "usage_metadata": {"input_tokens": 0, "output_tokens": 419, "total_tokens": 419, "input_token_details": {}}, "chunk_position": "last", "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openinference · anthropic/async-stream-early-exit · status.unsetFalse alarm #
expected UNSET, reported ERROR: 1 span(s) set status to Error on a successful operation
- Expected
UNSET- Reported
ERROR- Note
1 span(s) set status to Error on a successful operation- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/async-stream-early-exit- Rule
- Span Status Code MUST be left unset if the instrumented operation has ended without any errors.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status ERROR
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic"}, "type": "AIMessageChunk", "id": "lc_run--01a21d05-d98c-74b2-b3f6-108b5ac6fac0", "tool_calls": [], "invalid_tool_calls": []}}}], []], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openinference · anthropic/async-stream-early-exit · input_tokensVanishing tokens #
expected 1913, reported nothing
- Expected
1913- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/async-stream-early-exit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status ERROR
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic"}, "type": "AIMessageChunk", "id": "lc_run--01a21d05-d98c-74b2-b3f6-108b5ac6fac0", "tool_calls": [], "invalid_tool_calls": []}}}], []], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openinference · anthropic/stream · input_tokensVanishing tokens #
expected 2311, reported 0
- Expected
2311- Reported
0- Read from
llm.token_count.prompt- Cost
- $0.00881 on the wire, $0.00419 from the spans (-52.5%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | end_turn |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 419 |
llm.token_count.prompt | 0 |
llm.token_count.total | 419 |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital of France is Paris.", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "stop_reason": "end_turn", "stop_sequence": null, "finish_reason": "end_turn", "normalized_finish_reason": "stop", "finish_state": "complete"}, "type": "AIMessageChunk", "id": "lc_run--01a21d04-4a6e-740d-b5bf-1236effea729", "usage_metadata": {"input_tokens": 0, "output_tokens": 419, "total_tokens": 419, "input_token_details": {}}, "chunk_position": "last", "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openinference · anthropic/stream-cache-1h · input_tokensVanishing tokens #
expected 7160, reported 0
- Expected
7160- Reported
0- Read from
llm.token_count.prompt- Cost
- $0.0175 on the wire, $0.00523 from the spans (-70.1%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream-cache-1h- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | end_turn |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 523 |
llm.token_count.prompt | 0 |
llm.token_count.total | 523 |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital of France is Paris.", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "stop_reason": "end_turn", "stop_sequence": null, "finish_reason": "end_turn", "normalized_finish_reason": "stop", "finish_state": "complete"}, "type": "AIMessageChunk", "id": "lc_run--01a21d04-c3ac-71ec-b18f-ff08b672617d", "usage_metadata": {"input_tokens": 0, "output_tokens": 523, "total_tokens": 523, "input_token_details": {}}, "chunk_position": "last", "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openinference · anthropic/stream-cache-1h · cache_read_tokensCache-blind tokens #
expected 3217, reported nothing
- Expected
3217- Cost
- $0.0175 on the wire, $0.00523 from the spans (-70.1%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream-cache-1h- Rule
- Input tokens read from the provider cache.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | end_turn |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 523 |
llm.token_count.prompt | 0 |
llm.token_count.total | 523 |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital of France is Paris.", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "stop_reason": "end_turn", "stop_sequence": null, "finish_reason": "end_turn", "normalized_finish_reason": "stop", "finish_state": "complete"}, "type": "AIMessageChunk", "id": "lc_run--01a21d04-c3ac-71ec-b18f-ff08b672617d", "usage_metadata": {"input_tokens": 0, "output_tokens": 523, "total_tokens": 523, "input_token_details": {}}, "chunk_position": "last", "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openinference · anthropic/stream-cache-1h · cache_write_tokensCache-blind tokens #
expected 2492, reported nothing
- Expected
2492- Cost
- $0.0175 on the wire, $0.00523 from the spans (-70.1%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream-cache-1h- Rule
- Input tokens written to the provider cache.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | end_turn |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 523 |
llm.token_count.prompt | 0 |
llm.token_count.total | 523 |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital of France is Paris.", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "stop_reason": "end_turn", "stop_sequence": null, "finish_reason": "end_turn", "normalized_finish_reason": "stop", "finish_state": "complete"}, "type": "AIMessageChunk", "id": "lc_run--01a21d04-c3ac-71ec-b18f-ff08b672617d", "usage_metadata": {"input_tokens": 0, "output_tokens": 523, "total_tokens": 523, "input_token_details": {}}, "chunk_position": "last", "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openinference · anthropic/stream-cache-hit · input_tokensVanishing tokens #
expected 8424, reported 0
- Expected
8424- Reported
0- Read from
llm.token_count.prompt- Cost
- $0.0107 on the wire, $0.00511 from the spans (-52%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream-cache-hit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | end_turn |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 511 |
llm.token_count.prompt | 0 |
llm.token_count.total | 511 |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital of France is Paris.", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "stop_reason": "end_turn", "stop_sequence": null, "finish_reason": "end_turn", "normalized_finish_reason": "stop", "finish_state": "complete"}, "type": "AIMessageChunk", "id": "lc_run--01a21d04-895d-7020-8a13-81fbfffbb9cc", "usage_metadata": {"input_tokens": 0, "output_tokens": 511, "total_tokens": 511, "input_token_details": {}}, "chunk_position": "last", "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openinference · anthropic/stream-cache-hit · cache_read_tokensCache-blind tokens #
expected 6144, reported nothing
- Expected
6144- Cost
- $0.0107 on the wire, $0.00511 from the spans (-52%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream-cache-hit- Rule
- Input tokens read from the provider cache.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | end_turn |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 511 |
llm.token_count.prompt | 0 |
llm.token_count.total | 511 |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital of France is Paris.", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "stop_reason": "end_turn", "stop_sequence": null, "finish_reason": "end_turn", "normalized_finish_reason": "stop", "finish_state": "complete"}, "type": "AIMessageChunk", "id": "lc_run--01a21d04-895d-7020-8a13-81fbfffbb9cc", "usage_metadata": {"input_tokens": 0, "output_tokens": 511, "total_tokens": 511, "input_token_details": {}}, "chunk_position": "last", "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openinference · anthropic/stream-cache-hit · cache_write_tokensCache-blind tokens #
expected 737, reported nothing
- Expected
737- Cost
- $0.0107 on the wire, $0.00511 from the spans (-52%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream-cache-hit- Rule
- Input tokens written to the provider cache.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | end_turn |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 511 |
llm.token_count.prompt | 0 |
llm.token_count.total | 511 |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital of France is Paris.", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "stop_reason": "end_turn", "stop_sequence": null, "finish_reason": "end_turn", "normalized_finish_reason": "stop", "finish_state": "complete"}, "type": "AIMessageChunk", "id": "lc_run--01a21d04-895d-7020-8a13-81fbfffbb9cc", "usage_metadata": {"input_tokens": 0, "output_tokens": 511, "total_tokens": 511, "input_token_details": {}}, "chunk_position": "last", "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openinference · anthropic/stream-early-exit · status.unsetFalse alarm #
expected UNSET, reported ERROR: 1 span(s) set status to Error on a successful operation
- Expected
UNSET- Reported
ERROR- Note
1 span(s) set status to Error on a successful operation- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream-early-exit- Rule
- Span Status Code MUST be left unset if the instrumented operation has ended without any errors.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status ERROR
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic"}, "type": "AIMessageChunk", "id": "lc_run--01a21d04-5e65-7467-b944-814cc8562a65", "tool_calls": [], "invalid_tool_calls": []}}}], []], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openinference · anthropic/stream-early-exit · input_tokensVanishing tokens #
expected 1913, reported nothing
- Expected
1913- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream-early-exit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status ERROR
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.content | The capital |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital", "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic"}, "type": "AIMessageChunk", "id": "lc_run--01a21d04-5e65-7467-b944-814cc8562a65", "tool_calls": [], "invalid_tool_calls": []}}}], []], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openinference · anthropic/stream-thinking · input_tokensVanishing tokens #
expected 1831, reported 0
- Expected
1831- Reported
0- Read from
llm.token_count.prompt- Cost
- $0.0181 on the wire, $0.0144 from the spans (-20.3%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream-thinking- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | end_turn |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.contents.0.message_content.text | |
llm.output_messages.0.message.contents.2.message_content.text | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 1439 |
llm.token_count.completion_details.reasoning | 1103 |
llm.token_count.prompt | 0 |
llm.token_count.total | 1439 |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": ["", {"thinking": "Let me think about the capital of France. The capital is Paris.", "type": "thinking", "index": 0, "signature": "dGVzdC1zaWduYXR1cmU="}, "The capital of France is Paris."], "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "stop_reason": "end_turn", "stop_sequence": null, "finish_reason": "end_turn", "normalized_finish_reason": "stop", "finish_state": "complete"}, "type": "AIMessageChunk", "id": "lc_run--01a21d05-62fb-7167-a5d3-96cfd313f304", "usage_metadata": {"input_tokens": 0, "output_tokens": 1439, "total_tokens": 1439, "input_token_details": {}, "output_token_details": {"reasoning": 1103}}, "chunk_position": "last", "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openinference · anthropic/stream-tool-call · input_tokensVanishing tokens #
expected 1619, reported 0
- Expected
1619- Reported
0- Read from
llm.token_count.prompt- Cost
- $0.00521 on the wire, $0.00197 from the spans (-62.2%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/stream-tool-call- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | tool_use |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null, "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
llm.model_name | claude-sonnet-5-5 |
llm.output_messages.0.message.role | assistant |
llm.output_messages.0.message.tool_calls.0.tool_call.function.arguments | {"city": "Paris"} |
llm.output_messages.0.message.tool_calls.0.tool_call.function.name | get_weather |
llm.output_messages.0.message.tool_calls.0.tool_call.id | toolu_wt_1 |
llm.output_messages.0.message.tool_calls.1.tool_call.function.arguments | {"zone": "Europe/Paris"} |
llm.output_messages.0.message.tool_calls.1.tool_call.function.name | get_time |
llm.output_messages.0.message.tool_calls.1.tool_call.id | toolu_wt_2 |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 197 |
llm.token_count.prompt | 0 |
llm.token_count.total | 197 |
llm.tools.0.tool.json_schema | {"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}} |
llm.tools.1.tool.json_schema | {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}} |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": [{"id": "toolu_wt_1", "input": {}, "name": "get_weather", "type": "tool_use", "toolset_name": null, "index": 0, "partial_json": "{\"city\": \"Paris\"}"}, {"id": "toolu_wt_2", "input": {}, "name": "get_time", "type": "tool_use", "toolset_name": null, "index": 1, "partial_json": "{\"zone\": \"Europe/Paris\"}"}], "response_metadata": {"model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "stop_reason": "tool_use", "stop_sequence": null, "finish_reason": "tool_use", "normalized_finish_reason": "tool_call", "finish_state": "complete"}, "type": "AIMessageChunk", "id": "lc_run--01a21d05-009d-73e8-99cb-3af2361139e7", "tool_calls": [{"name": "get_weather", "args": {"city": "Paris"}, "id": "toolu_wt_1", "type": "tool_call"}, {"name": "get_time", "args": {"zone": "Europe/Paris"}, "id": "toolu_wt_2", "type": "tool_call"}], "usage_metadata": {"input_tokens": 0, "output_tokens": 197, "total_tokens": 197, "input_token_details": {}}, "tool_call_chunks": [{"name": "get_weather", "args": "{\"city\": \"Paris\"}", "id": "toolu_wt_1", "index": 0, "type": "tool_call_chunk"}, {"name": "get_time", "args": "{\"zone\": \"Europe/Paris\"}", "id": "toolu_wt_2", "index": 1, "type": "tool_call_chunk"}], "chunk_position": "last", "invalid_tool_calls": []}}}]], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openinference · anthropic/thinking · reasoning_tokensHidden reasoning #
expected 947, reported nothing
- Expected
947- Reproduce
spantruth run --subject langchain-openinference --scenario anthropic/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
ChatAnthropic openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | end_turn |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "claude-sonnet-5-5", "max_tokens": 1024, "temperature": null, "top_k": null, "top_p": null, "model_kwargs": {}, "streaming": false, "max_retries": 0, "default_request_timeout": 10.0, "thinking": null, "output_config": null, "_type": "anthropic-chat", "stop": null} |
llm.model_name | claude-sonnet-5-5-20260915 |
llm.output_messages.0.message.contents.1.message_content.text | The capital of France is Paris. |
llm.output_messages.0.message.contents.1.message_content.type | text |
llm.output_messages.0.message.role | assistant |
llm.provider | anthropic |
llm.system | anthropic |
llm.token_count.completion | 1273 |
llm.token_count.prompt | 1627 |
metadata | {"ls_provider": "anthropic", "ls_model_name": "claude-sonnet-5-5", "ls_model_type": "chat", "ls_temperature": null, "ls_max_tokens": 1024, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": null, "type": "ChatGeneration", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessage"], "kwargs": {"content": [{"signature": "dGVzdC1zaWduYXR1cmU=", "thinking": "Let me think about the capital of France. The capital of France is Paris.", "type": "thinking"}, {"text": "The capital of France is Paris.", "type": "text"}], "response_metadata": {"id": "msg_wt_thinking", "container": null, "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 1627, "output_tokens": 1273, "output_tokens_details": {"thinking_tokens": 947}, "server_tool_use": null, "service_tier": null, "speed": null}, "model_name": "claude-sonnet-5-5-20260915", "model_provider": "anthropic", "finish_reason": "end_turn", "normalized_finish_reason": "stop", "finish_state": "complete"}, "type": "ai", "id": "lc_run--01a21d05-4f97-74e3-b982-0b5bfa552120-0", "usage_metadata": {"input_tokens": 1627, "output_tokens": 1273, "total_tokens": 2900, "input_token_details": {"cache_read": 0, "cache_creation": 0}, "output_token_details": {"reasoning": 947}}, "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": {"id": "msg_wt_thinking", "container": null, "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 1627, "output_tokens": 1273, "output_tokens_details": {"thinking_tokens": 947}, "server_tool_use": null, "service_tier": null, "speed": null}, "model_name": "claude-sonnet-5-5-20260915"}, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openinference · openai/async-stream-early-exit · status.unsetFalse alarm #
expected UNSET, reported ERROR: 1 span(s) set status to Error on a successful operation
- Expected
UNSET- Reported
ERROR- Note
1 span(s) set status to Error on a successful operation- Reproduce
spantruth run --subject langchain-openinference --scenario openai/async-stream-early-exit- Rule
- Span Status Code MUST be left unset if the instrumented operation has ended without any errors.
Exported spans (2)
ChatOpenAI openinference.instrumentation.langchain, status ERROR
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "gpt-5-mini", "model_name": "gpt-5-mini", "stream": false, "_type": "openai-chat", "stop": null} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital |
llm.output_messages.0.message.role | assistant |
llm.provider | openai |
llm.system | openai |
metadata | {"ls_provider": "openai", "ls_model_name": "gpt-5-mini", "ls_model_type": "chat", "ls_temperature": null, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital", "response_metadata": {"model_provider": "openai"}, "type": "AIMessageChunk", "id": "lc_run--01a21d05-9229-7404-b622-9776e3ad2e90", "tool_calls": [], "invalid_tool_calls": []}}}], []], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openinference · openai/cache-write · cache_write_tokensCache-blind tokens #
expected 3181, reported nothing
- Expected
3181- Cost
- $0.00147 on the wire, $0.00131 from the spans (-10.8%), at list price.
- Reproduce
spantruth run --subject langchain-openinference --scenario openai/cache-write- Rule
- Input tokens written to the provider cache.
Exported spans (2)
ChatOpenAI openinference.instrumentation.langchain, status OK
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.finish_reason | stop |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "gpt-5.6-luna", "model_name": "gpt-5.6-luna", "stream": false, "_type": "openai-chat", "stop": null} |
llm.model_name | gpt-5.6-luna-2026-10-14 |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.provider | openai |
llm.system | openai |
llm.token_count.completion | 401 |
llm.token_count.completion_details.audio | 0 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 6619 |
llm.token_count.prompt_details.audio | 0 |
llm.token_count.prompt_details.cache_read | 2753 |
llm.token_count.total | 7020 |
metadata | {"ls_provider": "openai", "ls_model_name": "gpt-5.6-luna", "ls_model_type": "chat", "ls_temperature": null, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital of France is Paris.", "generation_info": {"finish_reason": "stop", "logprobs": null, "normalized_finish_reason": "stop"}, "type": "ChatGeneration", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessage"], "kwargs": {"content": "The capital of France is Paris.", "additional_kwargs": {"refusal": null}, "response_metadata": {"token_usage": {"completion_tokens": 401, "prompt_tokens": 6619, "total_tokens": 7020, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 3181, "cached_tokens": 2753, "image_tokens": null, "text_tokens": null}}, "model_provider": "openai", "model_name": "gpt-5.6-luna-2026-10-14", "system_fingerprint": "fp_wt0001", "id": "chatcmpl-wt-cwrite", "service_tier": "default", "finish_reason": "stop", "logprobs": null, "normalized_finish_reason": "stop"}, "type": "ai", "id": "lc_run--01a21d03-a345-73df-b84d-79dfa2de8ca7-0", "usage_metadata": {"input_tokens": 6619, "output_tokens": 401, "total_tokens": 7020, "input_token_details": {"audio": 0, "cache_read": 2753, "cache_creation": 3181}, "output_token_details": {"audio": 0, "reasoning": 0}}, "tool_calls": [], "invalid_tool_calls": []}}}]], "llm_output": {"token_usage": {"completion_tokens": 401, "prompt_tokens": 6619, "total_tokens": 7020, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 3181, "cached_tokens": 2753, "image_tokens": null, "text_tokens": null}}, "model_provider": "openai", "model_name": "gpt-5.6-luna-2026-10-14", "system_fingerprint": "fp_wt0001", "id": "chatcmpl-wt-cwrite", "service_tier": "default"}, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openinference · openai/stream-early-exit · status.unsetFalse alarm #
expected UNSET, reported ERROR: 1 span(s) set status to Error on a successful operation
- Expected
UNSET- Reported
ERROR- Note
1 span(s) set status to Error on a successful operation- Reproduce
spantruth run --subject langchain-openinference --scenario openai/stream-early-exit- Rule
- Span Status Code MUST be left unset if the instrumented operation has ended without any errors.
Exported spans (2)
ChatOpenAI openinference.instrumentation.langchain, status ERROR
input.mime_type | application/json |
input.value | {"messages": [[{"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "HumanMessage"], "kwargs": {"content": "What is the capital of France?", "type": "human"}}]]} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "gpt-5-mini", "model_name": "gpt-5-mini", "stream": false, "_type": "openai-chat", "stop": null} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital |
llm.output_messages.0.message.role | assistant |
llm.provider | openai |
llm.system | openai |
metadata | {"ls_provider": "openai", "ls_model_name": "gpt-5-mini", "ls_model_type": "chat", "ls_temperature": null, "ls_integration": "langchain_chat_model", "lc_versions": {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"generations": [[{"text": "The capital", "generation_info": null, "type": "ChatGenerationChunk", "message": {"lc": 1, "type": "constructor", "id": ["langchain", "schema", "messages", "AIMessageChunk"], "kwargs": {"content": "The capital", "response_metadata": {"model_provider": "openai"}, "type": "AIMessageChunk", "id": "lc_run--01a21d03-77ab-732c-bf7d-bd66c2d12856", "tool_calls": [], "invalid_tool_calls": []}}}], []], "llm_output": null, "run": null, "type": "LLMResult"} |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/async-basic · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/async-stream · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Cost
- $0.00881 on the wire, $0.00419 from the spans (-52.5%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/async-stream- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 419 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/async-stream · response_id #
expected msg_wt_stream, reported nothing
- Expected
msg_wt_stream- Cost
- $0.00881 on the wire, $0.00419 from the spans (-52.5%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/async-stream- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 419 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/async-stream · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.00881 on the wire, $0.00419 from the spans (-52.5%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 419 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/async-stream · input_tokensVanishing tokens #
expected 2311, reported 0
- Expected
2311- Reported
0- Read from
gen_ai.usage.input_tokens- Cost
- $0.00881 on the wire, $0.00419 from the spans (-52.5%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/async-stream- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 419 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/async-stream-early-exit · status.unsetFalse alarm #
expected UNSET, reported ERROR: 1 span(s) set status to Error on a successful operation
- Expected
UNSET- Reported
ERROR- Note
1 span(s) set status to Error on a successful operation- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/async-stream-early-exit- Rule
- Span Status Code MUST be left unset if the instrumented operation has ended without any errors.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/async-stream-early-exit · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/async-stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/async-stream-early-exit · response_id #
expected msg_wt_early, reported nothing
- Expected
msg_wt_early- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/async-stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/async-stream-early-exit · input_tokensVanishing tokens #
expected 1913, reported nothing
- Expected
1913- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/async-stream-early-exit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/basic · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/cache-1h · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.0146 on the wire, $0.011 from the spans (-24.4%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 2861 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
gen_ai.usage.total_tokens | 6677 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/cache-1h · cache_write_tokensCache-blind tokens #
expected 2120, reported 0
- Expected
2120- Reported
0- Read from
gen_ai.usage.cache_creation.input_tokens- Cost
- $0.0146 on the wire, $0.011 from the spans (-24.4%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/cache-1h- Rule
- Input tokens written to the provider cache.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 2861 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
gen_ai.usage.total_tokens | 6677 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/cache-hit · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 519 |
gen_ai.usage.cache_read.input_tokens | 4096 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.total_tokens | 6179 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/retry-429 · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/retry-429- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_retry |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.total_tokens | 2844 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Cost
- $0.00881 on the wire, $0.00419 from the spans (-52.5%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 419 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream · response_id #
expected msg_wt_stream, reported nothing
- Expected
msg_wt_stream- Cost
- $0.00881 on the wire, $0.00419 from the spans (-52.5%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 419 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.00881 on the wire, $0.00419 from the spans (-52.5%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 419 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream · input_tokensVanishing tokens #
expected 2311, reported 0
- Expected
2311- Reported
0- Read from
gen_ai.usage.input_tokens- Cost
- $0.00881 on the wire, $0.00419 from the spans (-52.5%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 419 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-cache-1h · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Cost
- $0.0175 on the wire, $0.00523 from the spans (-70.1%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-1h- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 523 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-cache-1h · response_id #
expected msg_wt_scache1h, reported nothing
- Expected
msg_wt_scache1h- Cost
- $0.0175 on the wire, $0.00523 from the spans (-70.1%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-1h- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 523 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-cache-1h · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.0175 on the wire, $0.00523 from the spans (-70.1%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 523 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-cache-1h · input_tokensVanishing tokens #
expected 7160, reported 0
- Expected
7160- Reported
0- Read from
gen_ai.usage.input_tokens- Cost
- $0.0175 on the wire, $0.00523 from the spans (-70.1%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-1h- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 523 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-cache-1h · cache_read_tokensCache-blind tokens #
expected 3217, reported nothing
- Expected
3217- Cost
- $0.0175 on the wire, $0.00523 from the spans (-70.1%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-1h- Rule
- Input tokens read from the provider cache.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 523 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-cache-1h · cache_write_tokensCache-blind tokens #
expected 2492, reported nothing
- Expected
2492- Cost
- $0.0175 on the wire, $0.00523 from the spans (-70.1%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-1h- Rule
- Input tokens written to the provider cache.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 523 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-cache-cumulative · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-cumulative- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.cache_creation.input_tokens | 811 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-cache-cumulative · response_id #
expected msg_wt_cumul, reported nothing
- Expected
msg_wt_cumul- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-cumulative- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.cache_creation.input_tokens | 811 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-cache-cumulative · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-cumulative- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.cache_creation.input_tokens | 811 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-cache-hit · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Cost
- $0.0107 on the wire, $0.00511 from the spans (-52%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 511 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-cache-hit · response_id #
expected msg_wt_scache, reported nothing
- Expected
msg_wt_scache- Cost
- $0.0107 on the wire, $0.00511 from the spans (-52%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 511 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-cache-hit · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.0107 on the wire, $0.00511 from the spans (-52%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 511 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-cache-hit · input_tokensVanishing tokens #
expected 8424, reported 0
- Expected
8424- Reported
0- Read from
gen_ai.usage.input_tokens- Cost
- $0.0107 on the wire, $0.00511 from the spans (-52%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-hit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 511 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-cache-hit · cache_read_tokensCache-blind tokens #
expected 6144, reported nothing
- Expected
6144- Cost
- $0.0107 on the wire, $0.00511 from the spans (-52%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-hit- Rule
- Input tokens read from the provider cache.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 511 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-cache-hit · cache_write_tokensCache-blind tokens #
expected 737, reported nothing
- Expected
737- Cost
- $0.0107 on the wire, $0.00511 from the spans (-52%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-cache-hit- Rule
- Input tokens written to the provider cache.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 511 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-early-exit · status.unsetFalse alarm #
expected UNSET, reported ERROR: 1 span(s) set status to Error on a successful operation
- Expected
UNSET- Reported
ERROR- Note
1 span(s) set status to Error on a successful operation- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-early-exit- Rule
- Span Status Code MUST be left unset if the instrumented operation has ended without any errors.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-early-exit · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-early-exit · response_id #
expected msg_wt_early, reported nothing
- Expected
msg_wt_early- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-early-exit · input_tokensVanishing tokens #
expected 1913, reported nothing
- Expected
1913- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-early-exit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-thinking · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Cost
- $0.0181 on the wire, $0.0144 from the spans (-20.3%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-thinking- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 1439 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-thinking · response_id #
expected msg_wt_sthink, reported nothing
- Expected
msg_wt_sthink- Cost
- $0.0181 on the wire, $0.0144 from the spans (-20.3%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-thinking- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 1439 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-thinking · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.0181 on the wire, $0.0144 from the spans (-20.3%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 1439 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-thinking · input_tokensVanishing tokens #
expected 1831, reported 0
- Expected
1831- Reported
0- Read from
gen_ai.usage.input_tokens- Cost
- $0.0181 on the wire, $0.0144 from the spans (-20.3%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-thinking- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 1439 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-thinking · reasoning_tokensHidden reasoning #
expected 1103, reported nothing
- Expected
1103- Cost
- $0.0181 on the wire, $0.0144 from the spans (-20.3%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 1439 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-tool-call · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Cost
- $0.00521 on the wire, $0.00197 from the spans (-62.2%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-tool-call- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "{\"id\": \"toolu_wt_1\", \"input\": {}, \"name\": \"get_weather\", \"type\": \"tool_use\", \"toolset_name\": null, \"index\": 0, \"partial_json\": \"{\\\"city\\\": \\\"Paris\\\"}\"}"}, {"type": "text", "content": "{\"id\": \"toolu_wt_2\", \"input\": {}, \"name\": \"get_time\", \"type\": \"tool_use\", \"toolset_name\": null, \"index\": 1, \"partial_json\": \"{\\\"zone\\\": \\\"Europe/Paris\\\"}\"}"}, {"type": "tool_call", "id": "toolu_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "toolu_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.tool.definitions | [{"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 197 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-tool-call · response_id #
expected msg_wt_stools, reported nothing
- Expected
msg_wt_stools- Cost
- $0.00521 on the wire, $0.00197 from the spans (-62.2%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-tool-call- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "{\"id\": \"toolu_wt_1\", \"input\": {}, \"name\": \"get_weather\", \"type\": \"tool_use\", \"toolset_name\": null, \"index\": 0, \"partial_json\": \"{\\\"city\\\": \\\"Paris\\\"}\"}"}, {"type": "text", "content": "{\"id\": \"toolu_wt_2\", \"input\": {}, \"name\": \"get_time\", \"type\": \"tool_use\", \"toolset_name\": null, \"index\": 1, \"partial_json\": \"{\\\"zone\\\": \\\"Europe/Paris\\\"}\"}"}, {"type": "tool_call", "id": "toolu_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "toolu_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.tool.definitions | [{"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 197 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/stream-tool-call · finish_reasonsSilent stop #
expected tool_use, reported nothing
- Expected
['tool_use']- Cost
- $0.00521 on the wire, $0.00197 from the spans (-62.2%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "{\"id\": \"toolu_wt_1\", \"input\": {}, \"name\": \"get_weather\", \"type\": \"tool_use\", \"toolset_name\": null, \"index\": 0, \"partial_json\": \"{\\\"city\\\": \\\"Paris\\\"}\"}"}, {"type": "text", "content": "{\"id\": \"toolu_wt_2\", \"input\": {}, \"name\": \"get_time\", \"type\": \"tool_use\", \"toolset_name\": null, \"index\": 1, \"partial_json\": \"{\\\"zone\\\": \\\"Europe/Paris\\\"}\"}"}, {"type": "tool_call", "id": "toolu_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "toolu_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.tool.definitions | [{"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 197 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · anthropic/stream-tool-call · input_tokensVanishing tokens #
expected 1619, reported 0
- Expected
1619- Reported
0- Read from
gen_ai.usage.input_tokens- Cost
- $0.00521 on the wire, $0.00197 from the spans (-62.2%), at list price.
- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/stream-tool-call- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "{\"id\": \"toolu_wt_1\", \"input\": {}, \"name\": \"get_weather\", \"type\": \"tool_use\", \"toolset_name\": null, \"index\": 0, \"partial_json\": \"{\\\"city\\\": \\\"Paris\\\"}\"}"}, {"type": "text", "content": "{\"id\": \"toolu_wt_2\", \"input\": {}, \"name\": \"get_time\", \"type\": \"tool_use\", \"toolset_name\": null, \"index\": 1, \"partial_json\": \"{\\\"zone\\\": \\\"Europe/Paris\\\"}\"}"}, {"type": "tool_call", "id": "toolu_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "toolu_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.tool.definitions | [{"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 0 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 197 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/thinking · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.total_tokens | 2900 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/thinking · reasoning_tokensHidden reasoning #
expected 947, reported nothing
- Expected
947- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.total_tokens | 2900 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · anthropic/tool-call · finish_reasonsSilent stop #
expected tool_use, reported nothing
- Expected
['tool_use']- Reproduce
spantruth run --subject langchain-openllmetry --scenario anthropic/tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatAnthropic.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "{\"id\": \"toolu_wt_1\", \"input\": {\"city\": \"Paris\"}, \"name\": \"get_weather\", \"type\": \"tool_use\", \"toolset_name\": null}"}, {"type": "text", "content": "{\"id\": \"toolu_wt_2\", \"input\": {\"zone\": \"Europe/Paris\"}, \"name\": \"get_time\", \"type\": \"tool_use\", \"toolset_name\": null}"}, {"type": "tool_call", "id": "toolu_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "toolu_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": ""}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_tools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.tool.definitions | [{"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.total_tokens | 1019 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-anthropic": "1.7.13"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_max_tokens | 1024 |
traceloop.association.properties.ls_model_name | claude-sonnet-5-5 |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | anthropic |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/async-stream · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/async-stream- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/async-stream · response_id #
expected chatcmpl-wt-stream, reported nothing
- Expected
chatcmpl-wt-stream- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/async-stream- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/async-stream-early-exit · status.unsetFalse alarm #
expected UNSET, reported ERROR: 1 span(s) set status to Error on a successful operation
- Expected
UNSET- Reported
ERROR- Note
1 span(s) set status to Error on a successful operation- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/async-stream-early-exit- Rule
- Span Status Code MUST be left unset if the instrumented operation has ended without any errors.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/async-stream-early-exit · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/async-stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/async-stream-early-exit · response_id #
expected chatcmpl-wt-early, reported nothing
- Expected
chatcmpl-wt-early- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/async-stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/reasoning · reasoning_tokensHidden reasoning #
expected 1792, reported nothing
- Expected
1792- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-reason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
gen_ai.usage.total_tokens | 3820 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/stream · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/stream · response_id #
expected chatcmpl-wt-stream, reported nothing
- Expected
chatcmpl-wt-stream- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/stream-cache-hit · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 7724 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/stream-cache-hit · response_id #
expected chatcmpl-wt-scache, reported nothing
- Expected
chatcmpl-wt-scache- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 7724 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/stream-cache-write · response_model #
expected gpt-5.6-luna-2026-10-14, reported gpt-5.6-luna
- Expected
gpt-5.6-luna-2026-10-14- Reported
gpt-5.6-luna- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-cache-write- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5.6-luna |
gen_ai.usage.cache_creation.input_tokens | 3539 |
gen_ai.usage.cache_read.input_tokens | 3967 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5.6-luna |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/stream-cache-write · response_id #
expected chatcmpl-wt-scwrite, reported nothing
- Expected
chatcmpl-wt-scwrite- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-cache-write- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5.6-luna |
gen_ai.usage.cache_creation.input_tokens | 3539 |
gen_ai.usage.cache_read.input_tokens | 3967 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5.6-luna |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/stream-early-exit · status.unsetFalse alarm #
expected UNSET, reported ERROR: 1 span(s) set status to Error on a successful operation
- Expected
UNSET- Reported
ERROR- Note
1 span(s) set status to Error on a successful operation- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-early-exit- Rule
- Span Status Code MUST be left unset if the instrumented operation has ended without any errors.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/stream-early-exit · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/stream-early-exit · response_id #
expected chatcmpl-wt-early, reported nothing
- Expected
chatcmpl-wt-early- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status ERROR
error.type | GeneratorExit |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.task.status | failure |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/stream-no-usage · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-no-usage- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/stream-no-usage · response_id #
expected chatcmpl-wt-nousage, reported nothing
- Expected
chatcmpl-wt-nousage- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-no-usage- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/stream-reasoning · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-reasoning- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.total_tokens | 4548 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/stream-reasoning · response_id #
expected chatcmpl-wt-sreason, reported nothing
- Expected
chatcmpl-wt-sreason- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-reasoning- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.total_tokens | 4548 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/stream-reasoning · reasoning_tokensHidden reasoning #
expected 1931, reported nothing
- Expected
1931- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.total_tokens | 4548 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
wrong langchain-openllmetry · openai/stream-tool-call · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-tool-call- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "tool_call", "id": "call_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "call_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": "tool_call"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['tool_call'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.tool.definitions | [{"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.total_tokens | 1726 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
missing langchain-openllmetry · openai/stream-tool-call · response_id #
expected chatcmpl-wt-stools, reported nothing
- Expected
chatcmpl-wt-stools- Reproduce
spantruth run --subject langchain-openllmetry --scenario openai/stream-tool-call- Rule
- The unique identifier of the completion.
Exported spans (2)
ChatOpenAI.chat opentelemetry.instrumentation.langchain, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "unknown", "parts": [{"type": "tool_call", "id": "call_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "call_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": "tool_call"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['tool_call'] |
gen_ai.response.model | gpt-5-mini |
gen_ai.tool.definitions | [{"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.total_tokens | 1726 |
traceloop.association.properties.lc_versions | {"langchain-core": "1.8.5", "langchain-openai": "1.8.5"} |
traceloop.association.properties.ls_integration | langchain_chat_model |
traceloop.association.properties.ls_model_name | gpt-5-mini |
traceloop.association.properties.ls_model_type | chat |
traceloop.association.properties.ls_provider | openai |
traceloop.entity.path | |
traceloop.workflow.name | |
spantruth.scenario spantruth.driver, status UNSET
inconclusive langfuse · openai/async-concurrent-streams · span.recordedGhost span #
call 2 of 2: 1 LLM span(s) record no request model of any call, and the calls ran at the same time, so those spans are not graded
- Note
call 2 of 2: 1 LLM span(s) record no request model of any call, and the calls ran at the same time, so those spans are not graded- Reproduce
spantruth run --subject langfuse --scenario openai/async-concurrent-streams- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (3)
OpenAI-generation langfuse-sdk, status UNSET
langfuse.internal.is_app_root | True |
langfuse.observation.completion_start_time | "2026-11-27T12:45:38.314659Z" |
langfuse.observation.input | [{"role": "user", "content": "What is the capital of France?"}] |
langfuse.observation.metadata.finish_reason | "stop" |
langfuse.observation.model.name | gpt-5-mini-2026-08-07 |
langfuse.observation.model.parameters | {"temperature": 1, "max_tokens": "Infinity", "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, "service_tier": "default"} |
langfuse.observation.output | The capital of France is Paris. |
langfuse.observation.type | generation |
langfuse.observation.usage_details | {"completion_tokens": 149, "prompt_tokens": 1033, "total_tokens": 1182, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cached_tokens": 769}} |
OpenAI-generation langfuse-sdk, status UNSET
langfuse.internal.is_app_root | True |
langfuse.observation.completion_start_time | "2026-11-27T12:45:38.315899Z" |
langfuse.observation.input | [{"role": "user", "content": "What is the capital of France?"}] |
langfuse.observation.metadata.finish_reason | "stop" |
langfuse.observation.model.name | gpt-5-nano-2026-08-07 |
langfuse.observation.model.parameters | {"temperature": 1, "max_tokens": "Infinity", "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, "service_tier": "default"} |
langfuse.observation.output | The capital of France is Paris. |
langfuse.observation.type | generation |
langfuse.observation.usage_details | {"completion_tokens": 181, "prompt_tokens": 1747, "total_tokens": 1928, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0}, "prompt_tokens_details": {"audio_tokens": 0, "cached_tokens": 0}} |
spantruth.scenario spantruth.driver, status UNSET
wrong langfuse · openai/async-stream-dropped · error.statusFalse OK #
expected ERROR, reported UNSET
- Expected
ERROR- Reported
['UNSET']- Upstream
- reported traced_iterator finalizes in finally without level ERROR, so the span status stays UNSET. Fix proposed in https://github.com/langfuse/langfuse-python/pull/2056, which turns all three cells green.
- Reproduce
spantruth run --subject langfuse --scenario openai/async-stream-dropped- Rule
- Span status SHOULD follow Recording Errors: an operation that ended in an error sets the status to Error.
Exported spans (2)
OpenAI-generation langfuse-sdk, status UNSET
langfuse.internal.is_app_root | True |
langfuse.observation.completion_start_time | "2026-11-27T12:44:44.714583Z" |
langfuse.observation.input | [{"role": "user", "content": "What is the capital of France?"}] |
langfuse.observation.model.name | gpt-5-mini-2026-08-07 |
langfuse.observation.model.parameters | {"temperature": 1, "max_tokens": "Infinity", "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, "service_tier": "default"} |
langfuse.observation.output | The capital of France |
langfuse.observation.type | generation |
spantruth.scenario spantruth.driver, status UNSET
missing langfuse · openai/async-stream-helper · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject langfuse --scenario openai/async-stream-helper- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
wrong langfuse · openai/responses-stream-missing-finish-abort · error.statusFalse OK #
expected ERROR, reported UNSET
- Expected
ERROR- Reported
['UNSET']- Upstream
- reported traced_iterator finalizes in finally without level ERROR, so the span status stays UNSET. Fix proposed in https://github.com/langfuse/langfuse-python/pull/2056, which turns all three cells green.
- Reproduce
spantruth run --subject langfuse --scenario openai/responses-stream-missing-finish-abort- Rule
- Span status SHOULD follow Recording Errors: an operation that ended in an error sets the status to Error.
Exported spans (2)
OpenAI-generation langfuse-sdk, status UNSET
langfuse.internal.is_app_root | True |
langfuse.observation.completion_start_time | "2026-11-27T12:45:23.892071Z" |
langfuse.observation.input | [{"role": "user", "content": "What is the capital of France?"}] |
langfuse.observation.metadata.background | false |
langfuse.observation.metadata.id | "resp_025c23fff6653590006acbfc0086cc87d18124e70e8d3ff838" |
langfuse.observation.metadata.max_output_tokens | 16 |
langfuse.observation.metadata.metadata | {} |
langfuse.observation.metadata.object | "response" |
langfuse.observation.metadata.parallel_tool_calls | true |
langfuse.observation.metadata.prompt_cache_retention | "24h" |
langfuse.observation.metadata.reasoning | {"context":"all_turns","effort":"none","generate_summary":null,"mode":"standard","summary":null} |
langfuse.observation.metadata.service_tier | "auto" |
langfuse.observation.metadata.status | "in_progress" |
langfuse.observation.metadata.temperature | 1.0 |
langfuse.observation.metadata.tool_choice | "auto" |
langfuse.observation.metadata.tool_usage | {"image_gen":{"input_tokens":0,"input_tokens_details":{"image_tokens":0,"text_tokens":0},"output_tokens":0,"total_tokens":0,"cached_tokens":null,"cached_tokens_details":null,"output_tokens_details":{"image_tokens":0,"text_tokens":0}},"web_search":{"num_requests":0}} |
langfuse.observation.metadata.tools | [] |
langfuse.observation.metadata.top_logprobs | 0 |
langfuse.observation.metadata.top_p | 0.98 |
langfuse.observation.metadata.truncation | "disabled" |
langfuse.observation.model.name | gpt-6-luna |
langfuse.observation.model.parameters | {"temperature": 1, "max_tokens": "Infinity", "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, "service_tier": "auto"} |
langfuse.observation.type | generation |
spantruth.scenario spantruth.driver, status UNSET
wrong langfuse · openai/stream-dropped · error.statusFalse OK #
expected ERROR, reported UNSET
- Expected
ERROR- Reported
['UNSET']- Upstream
- reported traced_iterator finalizes in finally without level ERROR, so the span status stays UNSET. Fix proposed in https://github.com/langfuse/langfuse-python/pull/2056, which turns all three cells green.
- Reproduce
spantruth run --subject langfuse --scenario openai/stream-dropped- Rule
- Span status SHOULD follow Recording Errors: an operation that ended in an error sets the status to Error.
Exported spans (2)
OpenAI-generation langfuse-sdk, status UNSET
langfuse.internal.is_app_root | True |
langfuse.observation.completion_start_time | "2026-11-27T12:44:22.895940Z" |
langfuse.observation.input | [{"role": "user", "content": "What is the capital of France?"}] |
langfuse.observation.model.name | gpt-5-mini-2026-08-07 |
langfuse.observation.model.parameters | {"temperature": 1, "max_tokens": "Infinity", "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, "service_tier": "default"} |
langfuse.observation.output | The capital of France |
langfuse.observation.type | generation |
spantruth.scenario spantruth.driver, status UNSET
missing langfuse · openai/stream-helper · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject langfuse --scenario openai/stream-helper- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
wrong litellm · anthropic/async-basic · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario anthropic/async-basic- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.002374 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.005004 |
gen_ai.cost.output_cost | 0.0026300000000000004 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.005004 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | acompletion |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-bbe28dbe-fa36-4769-9ea7-7ea9272073ed |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--async-basic", "response_cost": 0.005004, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:48:08 GMT", "llm_provider-content-type": "application/json", "llm_provider-content-length": "344", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1204.984, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": "anthropic/claude-sonnet-5-5", "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 2715be8c-2c8d-49eb-aef7-3f0d6bee1f19 |
litellm.provider.model | anthropic/claude-sonnet-5-5 |
llm.is_streaming | False |
llm.request.type | acompletion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 263, 'prompt_tokens': 1187, 'total_tokens': 1450, 'completion_tokens_details': {'reasoning_tokens': 0, 'text_tokens': 263}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1187, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0, 'iterations': None, 'inference_geo': None, 'speed': None, 'service_tier': None} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
llm.anthropic.content | [{'type': 'text', 'text': 'The capital of France is Paris.'}] |
llm.anthropic.id | msg_wt_basic |
llm.anthropic.max_tokens | 1024 |
llm.anthropic.messages | [{'role': 'user', 'content': [{'type': 'text', 'text': 'What is the capital of France?'}]}] |
llm.anthropic.model | claude-sonnet-5-5-20260915 |
llm.anthropic.role | assistant |
llm.anthropic.stop_reason | end_turn |
llm.anthropic.stop_sequence | |
llm.anthropic.type | message |
llm.anthropic.usage | {'input_tokens': 1187, 'output_tokens': 263, 'cache_read_input_tokens': 0, 'cache_creation_input_tokens': 0} |
wrong litellm · anthropic/async-basic · response_id #
expected msg_wt_basic, reported chatcmpl-bbe28dbe-fa36-4769-9ea7-7ea9272073ed
- Expected
msg_wt_basic- Reported
chatcmpl-bbe28dbe-fa36-4769-9ea7-7ea9272073ed- Read from
gen_ai.response.id- Reproduce
spantruth run --subject litellm --scenario anthropic/async-basic- Rule
- The unique identifier of the completion.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.002374 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.005004 |
gen_ai.cost.output_cost | 0.0026300000000000004 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.005004 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | acompletion |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-bbe28dbe-fa36-4769-9ea7-7ea9272073ed |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--async-basic", "response_cost": 0.005004, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:48:08 GMT", "llm_provider-content-type": "application/json", "llm_provider-content-length": "344", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1204.984, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": "anthropic/claude-sonnet-5-5", "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 2715be8c-2c8d-49eb-aef7-3f0d6bee1f19 |
litellm.provider.model | anthropic/claude-sonnet-5-5 |
llm.is_streaming | False |
llm.request.type | acompletion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 263, 'prompt_tokens': 1187, 'total_tokens': 1450, 'completion_tokens_details': {'reasoning_tokens': 0, 'text_tokens': 263}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1187, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0, 'iterations': None, 'inference_geo': None, 'speed': None, 'service_tier': None} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
llm.anthropic.content | [{'type': 'text', 'text': 'The capital of France is Paris.'}] |
llm.anthropic.id | msg_wt_basic |
llm.anthropic.max_tokens | 1024 |
llm.anthropic.messages | [{'role': 'user', 'content': [{'type': 'text', 'text': 'What is the capital of France?'}]}] |
llm.anthropic.model | claude-sonnet-5-5-20260915 |
llm.anthropic.role | assistant |
llm.anthropic.stop_reason | end_turn |
llm.anthropic.stop_sequence | |
llm.anthropic.type | message |
llm.anthropic.usage | {'input_tokens': 1187, 'output_tokens': 263, 'cache_read_input_tokens': 0, 'cache_creation_input_tokens': 0} |
wrong litellm · anthropic/async-basic · finish_reasonsSilent stop #
expected end_turn, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['end_turn']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject litellm --scenario anthropic/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.002374 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.005004 |
gen_ai.cost.output_cost | 0.0026300000000000004 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.005004 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | acompletion |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-bbe28dbe-fa36-4769-9ea7-7ea9272073ed |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--async-basic", "response_cost": 0.005004, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:48:08 GMT", "llm_provider-content-type": "application/json", "llm_provider-content-length": "344", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1204.984, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": "anthropic/claude-sonnet-5-5", "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 2715be8c-2c8d-49eb-aef7-3f0d6bee1f19 |
litellm.provider.model | anthropic/claude-sonnet-5-5 |
llm.is_streaming | False |
llm.request.type | acompletion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 263, 'prompt_tokens': 1187, 'total_tokens': 1450, 'completion_tokens_details': {'reasoning_tokens': 0, 'text_tokens': 263}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1187, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0, 'iterations': None, 'inference_geo': None, 'speed': None, 'service_tier': None} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
llm.anthropic.content | [{'type': 'text', 'text': 'The capital of France is Paris.'}] |
llm.anthropic.id | msg_wt_basic |
llm.anthropic.max_tokens | 1024 |
llm.anthropic.messages | [{'role': 'user', 'content': [{'type': 'text', 'text': 'What is the capital of France?'}]}] |
llm.anthropic.model | claude-sonnet-5-5-20260915 |
llm.anthropic.role | assistant |
llm.anthropic.stop_reason | end_turn |
llm.anthropic.stop_sequence | |
llm.anthropic.type | message |
llm.anthropic.usage | {'input_tokens': 1187, 'output_tokens': 263, 'cache_read_input_tokens': 0, 'cache_creation_input_tokens': 0} |
missing litellm · anthropic/async-stream-early-exit · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/async-stream-early-exit- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
wrong litellm · anthropic/stream · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario anthropic/stream- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.004621999999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.008812 |
gen_ai.cost.output_cost | 0.00419 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.008812 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-cdf7a8a3-9951-416a-872c-3564016de04b |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream/v1/messages", "response_cost": 0.008812, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:43 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | b6e7cc42-0541-4142-a669-0d2e32d38f66 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 419, 'prompt_tokens': 2311, 'total_tokens': 2730, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 419, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 2311, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.008812, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject litellm --scenario anthropic/stream- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.004621999999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.008812 |
gen_ai.cost.output_cost | 0.00419 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.008812 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-cdf7a8a3-9951-416a-872c-3564016de04b |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream/v1/messages", "response_cost": 0.008812, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:43 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | b6e7cc42-0541-4142-a669-0d2e32d38f66 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 419, 'prompt_tokens': 2311, 'total_tokens': 2730, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 419, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 2311, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.008812, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream · response_id #
expected msg_wt_stream, reported chatcmpl-cdf7a8a3-9951-416a-872c-3564016de04b
- Expected
msg_wt_stream- Reported
chatcmpl-cdf7a8a3-9951-416a-872c-3564016de04b- Read from
gen_ai.response.id- Reproduce
spantruth run --subject litellm --scenario anthropic/stream- Rule
- The unique identifier of the completion.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.004621999999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.008812 |
gen_ai.cost.output_cost | 0.00419 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.008812 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-cdf7a8a3-9951-416a-872c-3564016de04b |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream/v1/messages", "response_cost": 0.008812, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:43 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | b6e7cc42-0541-4142-a669-0d2e32d38f66 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 419, 'prompt_tokens': 2311, 'total_tokens': 2730, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 419, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 2311, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.008812, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream · finish_reasonsSilent stop #
expected end_turn, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['end_turn']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject litellm --scenario anthropic/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.004621999999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.008812 |
gen_ai.cost.output_cost | 0.00419 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.008812 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-cdf7a8a3-9951-416a-872c-3564016de04b |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream/v1/messages", "response_cost": 0.008812, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:43 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | b6e7cc42-0541-4142-a669-0d2e32d38f66 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 419, 'prompt_tokens': 2311, 'total_tokens': 2730, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 419, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 2311, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.008812, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-cache-1h · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Cost
- $0.0175 on the wire, $0.0196 from the spans (+11.7%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-1h- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0090485 |
gen_ai.cost.cache_read_cost | 0.00032169999999999996 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.012272199999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0175022 |
gen_ai.cost.output_cost | 0.00523 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0175022 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-d0417099-26ae-494c-bd9d-caa49b0b1f8f |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7683 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages", "response_cost": 0.0175022, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:27 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8294ec29-ece7-4508-8960-9b0530773483 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 523, 'prompt_tokens': 7160, 'total_tokens': 7683, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 523, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 2492, 'cached_tokens': 3217, 'image_tokens': None, 'text_tokens': 1451, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 2492, 'cache_creation_token_details': {'ephemeral_5m_input_tokens': 613, 'ephemeral_30m_input_tokens': None, 'ephemeral_1h_input_tokens': 1879, 'ephemeral_12h_input_tokens': None}}, 'cost': 0.0175022, 'cache_creation_input_tokens': 2492, 'cache_read_input_tokens': 3217} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-cache-1h · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Cost
- $0.0175 on the wire, $0.0196 from the spans (+11.7%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-1h- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0090485 |
gen_ai.cost.cache_read_cost | 0.00032169999999999996 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.012272199999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0175022 |
gen_ai.cost.output_cost | 0.00523 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0175022 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-d0417099-26ae-494c-bd9d-caa49b0b1f8f |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7683 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages", "response_cost": 0.0175022, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:27 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8294ec29-ece7-4508-8960-9b0530773483 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 523, 'prompt_tokens': 7160, 'total_tokens': 7683, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 523, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 2492, 'cached_tokens': 3217, 'image_tokens': None, 'text_tokens': 1451, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 2492, 'cache_creation_token_details': {'ephemeral_5m_input_tokens': 613, 'ephemeral_30m_input_tokens': None, 'ephemeral_1h_input_tokens': 1879, 'ephemeral_12h_input_tokens': None}}, 'cost': 0.0175022, 'cache_creation_input_tokens': 2492, 'cache_read_input_tokens': 3217} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-cache-1h · response_id #
expected msg_wt_scache1h, reported chatcmpl-d0417099-26ae-494c-bd9d-caa49b0b1f8f
- Expected
msg_wt_scache1h- Reported
chatcmpl-d0417099-26ae-494c-bd9d-caa49b0b1f8f- Read from
gen_ai.response.id- Cost
- $0.0175 on the wire, $0.0196 from the spans (+11.7%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-1h- Rule
- The unique identifier of the completion.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0090485 |
gen_ai.cost.cache_read_cost | 0.00032169999999999996 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.012272199999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0175022 |
gen_ai.cost.output_cost | 0.00523 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0175022 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-d0417099-26ae-494c-bd9d-caa49b0b1f8f |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7683 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages", "response_cost": 0.0175022, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:27 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8294ec29-ece7-4508-8960-9b0530773483 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 523, 'prompt_tokens': 7160, 'total_tokens': 7683, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 523, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 2492, 'cached_tokens': 3217, 'image_tokens': None, 'text_tokens': 1451, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 2492, 'cache_creation_token_details': {'ephemeral_5m_input_tokens': 613, 'ephemeral_30m_input_tokens': None, 'ephemeral_1h_input_tokens': 1879, 'ephemeral_12h_input_tokens': None}}, 'cost': 0.0175022, 'cache_creation_input_tokens': 2492, 'cache_read_input_tokens': 3217} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-cache-1h · finish_reasonsSilent stop #
expected end_turn, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['end_turn']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Cost
- $0.0175 on the wire, $0.0196 from the spans (+11.7%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0090485 |
gen_ai.cost.cache_read_cost | 0.00032169999999999996 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.012272199999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0175022 |
gen_ai.cost.output_cost | 0.00523 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0175022 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-d0417099-26ae-494c-bd9d-caa49b0b1f8f |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7683 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages", "response_cost": 0.0175022, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:27 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8294ec29-ece7-4508-8960-9b0530773483 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 523, 'prompt_tokens': 7160, 'total_tokens': 7683, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 523, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 2492, 'cached_tokens': 3217, 'image_tokens': None, 'text_tokens': 1451, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 2492, 'cache_creation_token_details': {'ephemeral_5m_input_tokens': 613, 'ephemeral_30m_input_tokens': None, 'ephemeral_1h_input_tokens': 1879, 'ephemeral_12h_input_tokens': None}}, 'cost': 0.0175022, 'cache_creation_input_tokens': 2492, 'cache_read_input_tokens': 3217} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
missing litellm · anthropic/stream-cache-1h · cache_read_tokensCache-blind tokens #
expected 3217, reported nothing
- Expected
3217- Cost
- $0.0175 on the wire, $0.0196 from the spans (+11.7%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-1h- Rule
- Input tokens read from the provider cache.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0090485 |
gen_ai.cost.cache_read_cost | 0.00032169999999999996 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.012272199999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0175022 |
gen_ai.cost.output_cost | 0.00523 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0175022 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-d0417099-26ae-494c-bd9d-caa49b0b1f8f |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7683 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages", "response_cost": 0.0175022, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:27 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8294ec29-ece7-4508-8960-9b0530773483 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 523, 'prompt_tokens': 7160, 'total_tokens': 7683, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 523, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 2492, 'cached_tokens': 3217, 'image_tokens': None, 'text_tokens': 1451, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 2492, 'cache_creation_token_details': {'ephemeral_5m_input_tokens': 613, 'ephemeral_30m_input_tokens': None, 'ephemeral_1h_input_tokens': 1879, 'ephemeral_12h_input_tokens': None}}, 'cost': 0.0175022, 'cache_creation_input_tokens': 2492, 'cache_read_input_tokens': 3217} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
missing litellm · anthropic/stream-cache-1h · cache_write_tokensCache-blind tokens #
expected 2492, reported nothing
- Expected
2492- Cost
- $0.0175 on the wire, $0.0196 from the spans (+11.7%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-1h- Rule
- Input tokens written to the provider cache.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0090485 |
gen_ai.cost.cache_read_cost | 0.00032169999999999996 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.012272199999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0175022 |
gen_ai.cost.output_cost | 0.00523 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0175022 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-d0417099-26ae-494c-bd9d-caa49b0b1f8f |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7683 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages", "response_cost": 0.0175022, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:27 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8294ec29-ece7-4508-8960-9b0530773483 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 523, 'prompt_tokens': 7160, 'total_tokens': 7683, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 523, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 2492, 'cached_tokens': 3217, 'image_tokens': None, 'text_tokens': 1451, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 2492, 'cache_creation_token_details': {'ephemeral_5m_input_tokens': 613, 'ephemeral_30m_input_tokens': None, 'ephemeral_1h_input_tokens': 1879, 'ephemeral_12h_input_tokens': None}}, 'cost': 0.0175022, 'cache_creation_input_tokens': 2492, 'cache_read_input_tokens': 3217} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-cache-cumulative · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Cost
- $0.00961 on the wire, $0.016 from the spans (+66.6%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-cumulative- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0020275000000000002 |
gen_ai.cost.cache_read_cost | 0.0003583 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0049438 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0096138 |
gen_ai.cost.output_cost | 0.0046700000000000005 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0096138 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-28152cd3-60d7-4497-8ff6-de9251b8c97a |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-cumulative/v1/messages", "response_cost": 0.0096138, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:16 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | a263b0c9-464d-44e7-8542-0de6896a6b09 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 467, 'prompt_tokens': 5673, 'total_tokens': 6140, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 467, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 811, 'cached_tokens': 3583, 'image_tokens': None, 'text_tokens': 1279, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 811}, 'cost': 0.0096138, 'cache_creation_input_tokens': 811, 'cache_read_input_tokens': 3583} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-cache-cumulative · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Cost
- $0.00961 on the wire, $0.016 from the spans (+66.6%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-cumulative- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0020275000000000002 |
gen_ai.cost.cache_read_cost | 0.0003583 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0049438 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0096138 |
gen_ai.cost.output_cost | 0.0046700000000000005 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0096138 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-28152cd3-60d7-4497-8ff6-de9251b8c97a |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-cumulative/v1/messages", "response_cost": 0.0096138, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:16 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | a263b0c9-464d-44e7-8542-0de6896a6b09 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 467, 'prompt_tokens': 5673, 'total_tokens': 6140, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 467, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 811, 'cached_tokens': 3583, 'image_tokens': None, 'text_tokens': 1279, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 811}, 'cost': 0.0096138, 'cache_creation_input_tokens': 811, 'cache_read_input_tokens': 3583} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-cache-cumulative · response_id #
expected msg_wt_cumul, reported chatcmpl-28152cd3-60d7-4497-8ff6-de9251b8c97a
- Expected
msg_wt_cumul- Reported
chatcmpl-28152cd3-60d7-4497-8ff6-de9251b8c97a- Read from
gen_ai.response.id- Cost
- $0.00961 on the wire, $0.016 from the spans (+66.6%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-cumulative- Rule
- The unique identifier of the completion.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0020275000000000002 |
gen_ai.cost.cache_read_cost | 0.0003583 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0049438 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0096138 |
gen_ai.cost.output_cost | 0.0046700000000000005 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0096138 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-28152cd3-60d7-4497-8ff6-de9251b8c97a |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-cumulative/v1/messages", "response_cost": 0.0096138, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:16 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | a263b0c9-464d-44e7-8542-0de6896a6b09 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 467, 'prompt_tokens': 5673, 'total_tokens': 6140, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 467, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 811, 'cached_tokens': 3583, 'image_tokens': None, 'text_tokens': 1279, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 811}, 'cost': 0.0096138, 'cache_creation_input_tokens': 811, 'cache_read_input_tokens': 3583} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-cache-cumulative · finish_reasonsSilent stop #
expected end_turn, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['end_turn']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Cost
- $0.00961 on the wire, $0.016 from the spans (+66.6%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-cumulative- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0020275000000000002 |
gen_ai.cost.cache_read_cost | 0.0003583 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0049438 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0096138 |
gen_ai.cost.output_cost | 0.0046700000000000005 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0096138 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-28152cd3-60d7-4497-8ff6-de9251b8c97a |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-cumulative/v1/messages", "response_cost": 0.0096138, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:16 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | a263b0c9-464d-44e7-8542-0de6896a6b09 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 467, 'prompt_tokens': 5673, 'total_tokens': 6140, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 467, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 811, 'cached_tokens': 3583, 'image_tokens': None, 'text_tokens': 1279, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 811}, 'cost': 0.0096138, 'cache_creation_input_tokens': 811, 'cache_read_input_tokens': 3583} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
missing litellm · anthropic/stream-cache-cumulative · cache_read_tokensCache-blind tokens #
expected 3583, reported nothing
- Expected
3583- Cost
- $0.00961 on the wire, $0.016 from the spans (+66.6%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-cumulative- Rule
- Input tokens read from the provider cache.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0020275000000000002 |
gen_ai.cost.cache_read_cost | 0.0003583 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0049438 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0096138 |
gen_ai.cost.output_cost | 0.0046700000000000005 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0096138 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-28152cd3-60d7-4497-8ff6-de9251b8c97a |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-cumulative/v1/messages", "response_cost": 0.0096138, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:16 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | a263b0c9-464d-44e7-8542-0de6896a6b09 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 467, 'prompt_tokens': 5673, 'total_tokens': 6140, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 467, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 811, 'cached_tokens': 3583, 'image_tokens': None, 'text_tokens': 1279, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 811}, 'cost': 0.0096138, 'cache_creation_input_tokens': 811, 'cache_read_input_tokens': 3583} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
missing litellm · anthropic/stream-cache-cumulative · cache_write_tokensCache-blind tokens #
expected 811, reported nothing
- Expected
811- Cost
- $0.00961 on the wire, $0.016 from the spans (+66.6%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-cumulative- Rule
- Input tokens written to the provider cache.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0020275000000000002 |
gen_ai.cost.cache_read_cost | 0.0003583 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0049438 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0096138 |
gen_ai.cost.output_cost | 0.0046700000000000005 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0096138 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-28152cd3-60d7-4497-8ff6-de9251b8c97a |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.total_tokens | 6140 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-cumulative/v1/messages", "response_cost": 0.0096138, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:16 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | a263b0c9-464d-44e7-8542-0de6896a6b09 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 467, 'prompt_tokens': 5673, 'total_tokens': 6140, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 467, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 811, 'cached_tokens': 3583, 'image_tokens': None, 'text_tokens': 1279, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 811}, 'cost': 0.0096138, 'cache_creation_input_tokens': 811, 'cache_read_input_tokens': 3583} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-cache-hit · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Cost
- $0.0107 on the wire, $0.022 from the spans (+106.1%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-hit- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0018425000000000002 |
gen_ai.cost.cache_read_cost | 0.0006144 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0055429 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0106529 |
gen_ai.cost.output_cost | 0.005110000000000001 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0106529 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-8daea8a2-6d66-4445-bbc9-c7567ebae223 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 8935 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages", "response_cost": 0.0106529, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:05 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 4951550e-e38a-46d9-832b-1a61deb1b05d |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 511, 'prompt_tokens': 8424, 'total_tokens': 8935, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 511, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 737, 'cached_tokens': 6144, 'image_tokens': None, 'text_tokens': 1543, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 737}, 'cost': 0.0106529, 'cache_creation_input_tokens': 737, 'cache_read_input_tokens': 6144} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
spantruth.scenario spantruth.driver, status UNSET
wrong litellm · anthropic/stream-cache-hit · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Cost
- $0.0107 on the wire, $0.022 from the spans (+106.1%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (3)
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0018425000000000002 |
gen_ai.cost.cache_read_cost | 0.0006144 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0055429 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0106529 |
gen_ai.cost.output_cost | 0.005110000000000001 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0106529 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-8daea8a2-6d66-4445-bbc9-c7567ebae223 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 8935 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages", "response_cost": 0.0106529, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:05 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 4951550e-e38a-46d9-832b-1a61deb1b05d |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 511, 'prompt_tokens': 8424, 'total_tokens': 8935, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 511, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 737, 'cached_tokens': 6144, 'image_tokens': None, 'text_tokens': 1543, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 737}, 'cost': 0.0106529, 'cache_creation_input_tokens': 737, 'cache_read_input_tokens': 6144} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
spantruth.scenario spantruth.driver, status UNSET
wrong litellm · anthropic/stream-cache-hit · response_id #
expected msg_wt_scache, reported chatcmpl-8daea8a2-6d66-4445-bbc9-c7567ebae223
- Expected
msg_wt_scache- Reported
chatcmpl-8daea8a2-6d66-4445-bbc9-c7567ebae223- Read from
gen_ai.response.id- Cost
- $0.0107 on the wire, $0.022 from the spans (+106.1%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-hit- Rule
- The unique identifier of the completion.
Exported spans (3)
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0018425000000000002 |
gen_ai.cost.cache_read_cost | 0.0006144 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0055429 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0106529 |
gen_ai.cost.output_cost | 0.005110000000000001 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0106529 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-8daea8a2-6d66-4445-bbc9-c7567ebae223 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 8935 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages", "response_cost": 0.0106529, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:05 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 4951550e-e38a-46d9-832b-1a61deb1b05d |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 511, 'prompt_tokens': 8424, 'total_tokens': 8935, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 511, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 737, 'cached_tokens': 6144, 'image_tokens': None, 'text_tokens': 1543, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 737}, 'cost': 0.0106529, 'cache_creation_input_tokens': 737, 'cache_read_input_tokens': 6144} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
spantruth.scenario spantruth.driver, status UNSET
wrong litellm · anthropic/stream-cache-hit · finish_reasonsSilent stop #
expected end_turn, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['end_turn']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Cost
- $0.0107 on the wire, $0.022 from the spans (+106.1%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0018425000000000002 |
gen_ai.cost.cache_read_cost | 0.0006144 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0055429 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0106529 |
gen_ai.cost.output_cost | 0.005110000000000001 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0106529 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-8daea8a2-6d66-4445-bbc9-c7567ebae223 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 8935 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages", "response_cost": 0.0106529, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:05 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 4951550e-e38a-46d9-832b-1a61deb1b05d |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 511, 'prompt_tokens': 8424, 'total_tokens': 8935, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 511, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 737, 'cached_tokens': 6144, 'image_tokens': None, 'text_tokens': 1543, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 737}, 'cost': 0.0106529, 'cache_creation_input_tokens': 737, 'cache_read_input_tokens': 6144} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
spantruth.scenario spantruth.driver, status UNSET
missing litellm · anthropic/stream-cache-hit · cache_read_tokensCache-blind tokens #
expected 6144, reported nothing
- Expected
6144- Cost
- $0.0107 on the wire, $0.022 from the spans (+106.1%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-hit- Rule
- Input tokens read from the provider cache.
Exported spans (3)
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0018425000000000002 |
gen_ai.cost.cache_read_cost | 0.0006144 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0055429 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0106529 |
gen_ai.cost.output_cost | 0.005110000000000001 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0106529 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-8daea8a2-6d66-4445-bbc9-c7567ebae223 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 8935 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages", "response_cost": 0.0106529, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:05 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 4951550e-e38a-46d9-832b-1a61deb1b05d |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 511, 'prompt_tokens': 8424, 'total_tokens': 8935, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 511, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 737, 'cached_tokens': 6144, 'image_tokens': None, 'text_tokens': 1543, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 737}, 'cost': 0.0106529, 'cache_creation_input_tokens': 737, 'cache_read_input_tokens': 6144} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
spantruth.scenario spantruth.driver, status UNSET
missing litellm · anthropic/stream-cache-hit · cache_write_tokensCache-blind tokens #
expected 737, reported nothing
- Expected
737- Cost
- $0.0107 on the wire, $0.022 from the spans (+106.1%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-cache-hit- Rule
- Input tokens written to the provider cache.
Exported spans (3)
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.0018425000000000002 |
gen_ai.cost.cache_read_cost | 0.0006144 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0055429 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0106529 |
gen_ai.cost.output_cost | 0.005110000000000001 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0106529 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-8daea8a2-6d66-4445-bbc9-c7567ebae223 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 8935 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages", "response_cost": 0.0106529, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:05 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 4951550e-e38a-46d9-832b-1a61deb1b05d |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 511, 'prompt_tokens': 8424, 'total_tokens': 8935, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 511, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 737, 'cached_tokens': 6144, 'image_tokens': None, 'text_tokens': 1543, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 737}, 'cost': 0.0106529, 'cache_creation_input_tokens': 737, 'cache_read_input_tokens': 6144} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
spantruth.scenario spantruth.driver, status UNSET
wrong litellm · anthropic/stream-dropped · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-dropped- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status ERROR
error.message | peer closed connection without sending complete message body (incomplete chunked read) |
error.stack_trace | File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/litellm/litellm_core_utils/streaming_handler.py", line 2428, in __next__
chunk = next(self.completion_stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/litellm/llms/anthropic/chat/handler.py", line 1545, in __next__
chunk = self.response_iterator.__next__()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/litellm/llms/custom_httpx/sse_lines.py", line 55, in iter_sse_lines
for text in text_chunks:
^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/httpx/_models.py", line 916, in iter_text
for byte_content in self.iter_bytes():
^^^^^^^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/httpx/_models.py", line 897, in iter_bytes
for raw_bytes in self.iter_raw():
^^^^^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/httpx/_models.py", line 951, in iter_raw
for raw_stream_bytes in self.stream:
^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/httpx/_client.py", line 153, in __iter__
for chunk in self._stream:
^^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/httpx/_transports/default.py", line 126, in __iter__
with map_httpcore_exceptions():
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/_temp/uv-python-dir/cpython-3.12.16-linux-x86_64-gnu/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
|
error.type | RemoteProtocolError |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0 |
gen_ai.cost.output_cost | 0.0 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | 8aa4da00-390d-4d6f-9483-a30d55c64ba4 |
gen_ai.system | anthropic |
hidden_params | {"model_id": null, "cache_key": null, "api_base": null, "response_cost": 0.0, "additional_headers": null, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8aa4da00-390d-4d6f-9483-a30d55c64ba4 |
litellm.provider.model | claude-sonnet-5-5 |
litellm.usage.estimated_input_tokens | 14 |
litellm.usage.provider_status | unknown |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
missing litellm · anthropic/stream-early-exit · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-early-exit- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
missing litellm · anthropic/stream-early-exit-with · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-early-exit-with- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
wrong litellm · anthropic/stream-error-event · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-error-event- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status ERROR
error.code | 500 |
error.message | Overloaded |
error.stack_trace | File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/litellm/litellm_core_utils/streaming_handler.py", line 2428, in __next__
chunk = next(self.completion_stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/litellm/llms/anthropic/chat/handler.py", line 1568, in __next__
result = self._parse_sse_data(str_line)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/litellm/llms/anthropic/chat/handler.py", line 1516, in _parse_sse_data
return self.chunk_parser(chunk=data_json)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/litellm/llms/anthropic/chat/handler.py", line 1247, in chunk_parser
raise AnthropicError(
|
error.type | AnthropicError |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0 |
gen_ai.cost.output_cost | 0.0 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | a2484ca5-2977-46a2-ac04-a2b7ab6a94f5 |
gen_ai.system | anthropic |
hidden_params | {"model_id": null, "cache_key": null, "api_base": null, "response_cost": 0.0, "additional_headers": null, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
http.response.status_code | 500 |
litellm.cache_hit | False |
litellm.call_id | a2484ca5-2977-46a2-ac04-a2b7ab6a94f5 |
litellm.provider.model | claude-sonnet-5-5 |
litellm.usage.estimated_input_tokens | 14 |
litellm.usage.provider_status | unknown |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
wrong litellm · anthropic/stream-thinking · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-thinking- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.003662 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.018052000000000002 |
gen_ai.cost.output_cost | 0.014390000000000002 |
gen_ai.cost.reasoning_cost | 0.011030000000000002 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.018052000000000002 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-ea4b0bff-cb9a-4030-9f82-91e3d95e8ac3 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 3270 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-thinking/v1/messages", "response_cost": 0.018052000000000002, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:47:11 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | ad68ef7e-a016-4d0b-a86b-16135c3e6d35 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 1439, 'prompt_tokens': 1831, 'total_tokens': 3270, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 1103, 'rejected_prediction_tokens': None, 'text_tokens': 336, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1831, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.018052000000000002, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-thinking · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-thinking- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.003662 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.018052000000000002 |
gen_ai.cost.output_cost | 0.014390000000000002 |
gen_ai.cost.reasoning_cost | 0.011030000000000002 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.018052000000000002 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-ea4b0bff-cb9a-4030-9f82-91e3d95e8ac3 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 3270 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-thinking/v1/messages", "response_cost": 0.018052000000000002, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:47:11 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | ad68ef7e-a016-4d0b-a86b-16135c3e6d35 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 1439, 'prompt_tokens': 1831, 'total_tokens': 3270, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 1103, 'rejected_prediction_tokens': None, 'text_tokens': 336, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1831, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.018052000000000002, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-thinking · response_id #
expected msg_wt_sthink, reported chatcmpl-ea4b0bff-cb9a-4030-9f82-91e3d95e8ac3
- Expected
msg_wt_sthink- Reported
chatcmpl-ea4b0bff-cb9a-4030-9f82-91e3d95e8ac3- Read from
gen_ai.response.id- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-thinking- Rule
- The unique identifier of the completion.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.003662 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.018052000000000002 |
gen_ai.cost.output_cost | 0.014390000000000002 |
gen_ai.cost.reasoning_cost | 0.011030000000000002 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.018052000000000002 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-ea4b0bff-cb9a-4030-9f82-91e3d95e8ac3 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 3270 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-thinking/v1/messages", "response_cost": 0.018052000000000002, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:47:11 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | ad68ef7e-a016-4d0b-a86b-16135c3e6d35 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 1439, 'prompt_tokens': 1831, 'total_tokens': 3270, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 1103, 'rejected_prediction_tokens': None, 'text_tokens': 336, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1831, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.018052000000000002, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-thinking · finish_reasonsSilent stop #
expected end_turn, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['end_turn']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.003662 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.018052000000000002 |
gen_ai.cost.output_cost | 0.014390000000000002 |
gen_ai.cost.reasoning_cost | 0.011030000000000002 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.018052000000000002 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-ea4b0bff-cb9a-4030-9f82-91e3d95e8ac3 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 3270 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-thinking/v1/messages", "response_cost": 0.018052000000000002, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:47:11 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | ad68ef7e-a016-4d0b-a86b-16135c3e6d35 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 1439, 'prompt_tokens': 1831, 'total_tokens': 3270, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 1103, 'rejected_prediction_tokens': None, 'text_tokens': 336, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1831, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.018052000000000002, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
missing litellm · anthropic/stream-thinking · reasoning_tokensHidden reasoning #
expected 1103, reported nothing
- Expected
1103- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.003662 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.018052000000000002 |
gen_ai.cost.output_cost | 0.014390000000000002 |
gen_ai.cost.reasoning_cost | 0.011030000000000002 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.018052000000000002 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-ea4b0bff-cb9a-4030-9f82-91e3d95e8ac3 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 3270 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-thinking/v1/messages", "response_cost": 0.018052000000000002, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:47:11 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | ad68ef7e-a016-4d0b-a86b-16135c3e6d35 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 1439, 'prompt_tokens': 1831, 'total_tokens': 3270, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 1103, 'rejected_prediction_tokens': None, 'text_tokens': 336, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1831, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.018052000000000002, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-tool-call · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-tool-call- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.completion.0.function_call.arguments | {"city": "Paris"} |
gen_ai.completion.0.function_call.name | get_weather |
gen_ai.completion.1.function_call.arguments | {"zone": "Europe/Paris"} |
gen_ai.completion.1.function_call.name | get_time |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.003238 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.005208 |
gen_ai.cost.output_cost | 0.00197 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.005208 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": ""}], "finish_reason": "tool_calls"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-e72940ae-e6f7-4775-b30c-9fe52d5926ff |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 1816 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-tool-call/v1/messages", "response_cost": 0.005208, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:49 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | a1fedd0b-5dd1-48d9-b1be-1c95f64f99e8 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.functions.0.description | |
llm.request.functions.0.name | get_weather |
llm.request.functions.0.parameters | {"type": "object", "properties": {"city": {"type": "string"}}} |
llm.request.functions.1.description | |
llm.request.functions.1.name | get_time |
llm.request.functions.1.parameters | {"type": "object", "properties": {"zone": {"type": "string"}}} |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 197, 'prompt_tokens': 1619, 'total_tokens': 1816, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 197, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1619, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.005208, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-tool-call · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-tool-call- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.completion.0.function_call.arguments | {"city": "Paris"} |
gen_ai.completion.0.function_call.name | get_weather |
gen_ai.completion.1.function_call.arguments | {"zone": "Europe/Paris"} |
gen_ai.completion.1.function_call.name | get_time |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.003238 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.005208 |
gen_ai.cost.output_cost | 0.00197 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.005208 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": ""}], "finish_reason": "tool_calls"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-e72940ae-e6f7-4775-b30c-9fe52d5926ff |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 1816 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-tool-call/v1/messages", "response_cost": 0.005208, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:49 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | a1fedd0b-5dd1-48d9-b1be-1c95f64f99e8 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.functions.0.description | |
llm.request.functions.0.name | get_weather |
llm.request.functions.0.parameters | {"type": "object", "properties": {"city": {"type": "string"}}} |
llm.request.functions.1.description | |
llm.request.functions.1.name | get_time |
llm.request.functions.1.parameters | {"type": "object", "properties": {"zone": {"type": "string"}}} |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 197, 'prompt_tokens': 1619, 'total_tokens': 1816, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 197, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1619, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.005208, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-tool-call · response_id #
expected msg_wt_stools, reported chatcmpl-e72940ae-e6f7-4775-b30c-9fe52d5926ff
- Expected
msg_wt_stools- Reported
chatcmpl-e72940ae-e6f7-4775-b30c-9fe52d5926ff- Read from
gen_ai.response.id- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-tool-call- Rule
- The unique identifier of the completion.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.completion.0.function_call.arguments | {"city": "Paris"} |
gen_ai.completion.0.function_call.name | get_weather |
gen_ai.completion.1.function_call.arguments | {"zone": "Europe/Paris"} |
gen_ai.completion.1.function_call.name | get_time |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.003238 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.005208 |
gen_ai.cost.output_cost | 0.00197 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.005208 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": ""}], "finish_reason": "tool_calls"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-e72940ae-e6f7-4775-b30c-9fe52d5926ff |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 1816 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-tool-call/v1/messages", "response_cost": 0.005208, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:49 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | a1fedd0b-5dd1-48d9-b1be-1c95f64f99e8 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.functions.0.description | |
llm.request.functions.0.name | get_weather |
llm.request.functions.0.parameters | {"type": "object", "properties": {"city": {"type": "string"}}} |
llm.request.functions.1.description | |
llm.request.functions.1.name | get_time |
llm.request.functions.1.parameters | {"type": "object", "properties": {"zone": {"type": "string"}}} |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 197, 'prompt_tokens': 1619, 'total_tokens': 1816, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 197, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1619, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.005208, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · anthropic/stream-tool-call · finish_reasonsSilent stop #
expected tool_use, reported ["tool_calls"]: the right values, recorded as the JSON string ["tool_calls"] instead of a string array
- Expected
['tool_use']- Reported
["tool_calls"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["tool_calls"] instead of a string array- Reproduce
spantruth run --subject litellm --scenario anthropic/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.completion.0.function_call.arguments | {"city": "Paris"} |
gen_ai.completion.0.function_call.name | get_weather |
gen_ai.completion.1.function_call.arguments | {"zone": "Europe/Paris"} |
gen_ai.completion.1.function_call.name | get_time |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.003238 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.005208 |
gen_ai.cost.output_cost | 0.00197 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.005208 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": ""}], "finish_reason": "tool_calls"}] |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-e72940ae-e6f7-4775-b30c-9fe52d5926ff |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.total_tokens | 1816 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/anthropic--stream-tool-call/v1/messages", "response_cost": 0.005208, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:46:49 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | a1fedd0b-5dd1-48d9-b1be-1c95f64f99e8 |
litellm.provider.model | claude-sonnet-5-5 |
llm.is_streaming | True |
llm.request.functions.0.description | |
llm.request.functions.0.name | get_weather |
llm.request.functions.0.parameters | {"type": "object", "properties": {"city": {"type": "string"}}} |
llm.request.functions.1.description | |
llm.request.functions.1.name | get_time |
llm.request.functions.1.parameters | {"type": "object", "properties": {"zone": {"type": "string"}}} |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 197, 'prompt_tokens': 1619, 'total_tokens': 1816, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 197, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': None, 'cache_write_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': 1619, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 0}, 'cost': 0.005208, 'cache_creation_input_tokens': 0, 'cache_read_input_tokens': 0} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/async-basic · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario openai/async-basic- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.00029675 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0008227499999999999 |
gen_ai.cost.output_cost | 0.000526 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0008227499999999999 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | acompletion |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-basic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--async-basic/v1", "response_cost": 0.0008227499999999999, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:47:46 GMT", "llm_provider-content-type": "application/json", "llm_provider-content-length": "648", "llm_provider-x-request-id": "req_spantruth", "llm_provider-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 946.2759, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": "openai/gpt-5-mini", "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 7b81aa22-c80d-48f9-b046-4ae985981fa5 |
litellm.provider.model | openai/gpt-5-mini |
llm.is_streaming | False |
llm.request.type | acompletion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 263, 'prompt_tokens': 1187, 'total_tokens': 1450, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0}} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
llm.openai.choices | [{'finish_reason': 'stop', 'index': 0, 'logprobs': None, 'message': {'content': 'The capital of France is Paris.', 'refusal': None, 'role': 'assistant', 'annotations': []}}] |
llm.openai.created | 1760000000 |
llm.openai.id | chatcmpl-wt-basic |
llm.openai.messages | [{'role': 'user', 'content': 'What is the capital of France?'}] |
llm.openai.model | gpt-5-mini-2026-08-07 |
llm.openai.object | chat.completion |
llm.openai.service_tier | default |
llm.openai.system_fingerprint | fp_wt0001 |
llm.openai.usage | {'completion_tokens': 263, 'prompt_tokens': 1187, 'total_tokens': 1450, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0}} |
wrong litellm · openai/async-basic · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject litellm --scenario openai/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.00029675 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0008227499999999999 |
gen_ai.cost.output_cost | 0.000526 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0008227499999999999 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | acompletion |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-basic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--async-basic/v1", "response_cost": 0.0008227499999999999, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:47:46 GMT", "llm_provider-content-type": "application/json", "llm_provider-content-length": "648", "llm_provider-x-request-id": "req_spantruth", "llm_provider-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 946.2759, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": "openai/gpt-5-mini", "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 7b81aa22-c80d-48f9-b046-4ae985981fa5 |
litellm.provider.model | openai/gpt-5-mini |
llm.is_streaming | False |
llm.request.type | acompletion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 263, 'prompt_tokens': 1187, 'total_tokens': 1450, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0}} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
llm.openai.choices | [{'finish_reason': 'stop', 'index': 0, 'logprobs': None, 'message': {'content': 'The capital of France is Paris.', 'refusal': None, 'role': 'assistant', 'annotations': []}}] |
llm.openai.created | 1760000000 |
llm.openai.id | chatcmpl-wt-basic |
llm.openai.messages | [{'role': 'user', 'content': 'What is the capital of France?'}] |
llm.openai.model | gpt-5-mini-2026-08-07 |
llm.openai.object | chat.completion |
llm.openai.service_tier | default |
llm.openai.system_fingerprint | fp_wt0001 |
llm.openai.usage | {'completion_tokens': 263, 'prompt_tokens': 1187, 'total_tokens': 1450, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0}} |
missing litellm · openai/async-stream-early-exit · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/async-stream-early-exit- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
wrong litellm · openai/stream · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario openai/stream- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0005777499999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00141575 |
gen_ai.cost.output_cost | 0.000838 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00141575 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream/v1/", "response_cost": 0.00141575, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:14 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1036.4779, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 079ec74d-c9d7-4b21-915a-ad193e7c4887 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 419, 'prompt_tokens': 2311, 'total_tokens': 2730, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.00141575} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject litellm --scenario openai/stream- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0005777499999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00141575 |
gen_ai.cost.output_cost | 0.000838 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00141575 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream/v1/", "response_cost": 0.00141575, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:14 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1036.4779, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 079ec74d-c9d7-4b21-915a-ad193e7c4887 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 419, 'prompt_tokens': 2311, 'total_tokens': 2730, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.00141575} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject litellm --scenario openai/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0005777499999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00141575 |
gen_ai.cost.output_cost | 0.000838 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00141575 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream/v1/", "response_cost": 0.00141575, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:14 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1036.4779, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 079ec74d-c9d7-4b21-915a-ad193e7c4887 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 419, 'prompt_tokens': 2311, 'total_tokens': 2730, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.00141575} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-cache-hit · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Cost
- $0.00144 on the wire, $0.00283 from the spans (+95.8%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-cache-hit- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_read_cost | 0.0001536 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.00042084999999999996 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0014428499999999999 |
gen_ai.cost.output_cost | 0.001022 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0014428499999999999 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scache |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 7724 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-cache-hit/v1/", "response_cost": 0.0014428499999999999, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:36 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 837.166, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | d38dee0e-c02d-4dfb-9610-e4bc4812ec88 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 511, 'prompt_tokens': 7213, 'total_tokens': 7724, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 6144, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.0014428499999999999} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-cache-hit · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Cost
- $0.00144 on the wire, $0.00283 from the spans (+95.8%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_read_cost | 0.0001536 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.00042084999999999996 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0014428499999999999 |
gen_ai.cost.output_cost | 0.001022 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0014428499999999999 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scache |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 7724 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-cache-hit/v1/", "response_cost": 0.0014428499999999999, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:36 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 837.166, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | d38dee0e-c02d-4dfb-9610-e4bc4812ec88 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 511, 'prompt_tokens': 7213, 'total_tokens': 7724, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 6144, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.0014428499999999999} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-cache-hit · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Cost
- $0.00144 on the wire, $0.00283 from the spans (+95.8%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_read_cost | 0.0001536 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.00042084999999999996 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0014428499999999999 |
gen_ai.cost.output_cost | 0.001022 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0014428499999999999 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scache |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 7724 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-cache-hit/v1/", "response_cost": 0.0014428499999999999, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:36 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 837.166, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | d38dee0e-c02d-4dfb-9610-e4bc4812ec88 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 511, 'prompt_tokens': 7213, 'total_tokens': 7724, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 6144, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.0014428499999999999} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
missing litellm · openai/stream-cache-hit · cache_read_tokensCache-blind tokens #
expected 6144, reported nothing
- Expected
6144- Cost
- $0.00144 on the wire, $0.00283 from the spans (+95.8%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-cache-hit- Rule
- Input tokens read from the provider cache.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_read_cost | 0.0001536 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.00042084999999999996 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0014428499999999999 |
gen_ai.cost.output_cost | 0.001022 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0014428499999999999 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scache |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 7724 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-cache-hit/v1/", "response_cost": 0.0014428499999999999, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:36 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 837.166, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | d38dee0e-c02d-4dfb-9610-e4bc4812ec88 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 511, 'prompt_tokens': 7213, 'total_tokens': 7724, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 6144, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.0014428499999999999} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-cache-write · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Cost
- $0.00166 on the wire, $0.0022 from the spans (+32.4%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-cache-write- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.00088475 |
gen_ai.cost.cache_read_cost | 7.934e-05 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0011102899999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00165869 |
gen_ai.cost.output_cost | 0.0005484 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00165869 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-cache-write/v1/", "response_cost": 0.00165869, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:47 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1006.4289, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8ebaecea-898b-4c5e-b2c5-453c384196c8 |
litellm.provider.model | gpt-5.6-luna |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 457, 'prompt_tokens': 8237, 'total_tokens': 8694, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cache_write_tokens': 3539, 'cached_tokens': 3967, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 3539}, 'cost': 0.00165869} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-cache-write · response_model #
expected gpt-5.6-luna-2026-10-14, reported gpt-5.6-luna
- Expected
gpt-5.6-luna-2026-10-14- Reported
gpt-5.6-luna- Read from
gen_ai.response.model- Cost
- $0.00166 on the wire, $0.0022 from the spans (+32.4%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-cache-write- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.00088475 |
gen_ai.cost.cache_read_cost | 7.934e-05 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0011102899999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00165869 |
gen_ai.cost.output_cost | 0.0005484 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00165869 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-cache-write/v1/", "response_cost": 0.00165869, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:47 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1006.4289, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8ebaecea-898b-4c5e-b2c5-453c384196c8 |
litellm.provider.model | gpt-5.6-luna |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 457, 'prompt_tokens': 8237, 'total_tokens': 8694, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cache_write_tokens': 3539, 'cached_tokens': 3967, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 3539}, 'cost': 0.00165869} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-cache-write · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Cost
- $0.00166 on the wire, $0.0022 from the spans (+32.4%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-cache-write- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.00088475 |
gen_ai.cost.cache_read_cost | 7.934e-05 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0011102899999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00165869 |
gen_ai.cost.output_cost | 0.0005484 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00165869 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-cache-write/v1/", "response_cost": 0.00165869, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:47 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1006.4289, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8ebaecea-898b-4c5e-b2c5-453c384196c8 |
litellm.provider.model | gpt-5.6-luna |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 457, 'prompt_tokens': 8237, 'total_tokens': 8694, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cache_write_tokens': 3539, 'cached_tokens': 3967, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 3539}, 'cost': 0.00165869} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
missing litellm · openai/stream-cache-write · cache_read_tokensCache-blind tokens #
expected 3967, reported nothing
- Expected
3967- Cost
- $0.00166 on the wire, $0.0022 from the spans (+32.4%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-cache-write- Rule
- Input tokens read from the provider cache.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.00088475 |
gen_ai.cost.cache_read_cost | 7.934e-05 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0011102899999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00165869 |
gen_ai.cost.output_cost | 0.0005484 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00165869 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-cache-write/v1/", "response_cost": 0.00165869, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:47 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1006.4289, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8ebaecea-898b-4c5e-b2c5-453c384196c8 |
litellm.provider.model | gpt-5.6-luna |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 457, 'prompt_tokens': 8237, 'total_tokens': 8694, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cache_write_tokens': 3539, 'cached_tokens': 3967, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 3539}, 'cost': 0.00165869} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
missing litellm · openai/stream-cache-write · cache_write_tokensCache-blind tokens #
expected 3539, reported nothing
- Expected
3539- Cost
- $0.00166 on the wire, $0.0022 from the spans (+32.4%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-cache-write- Rule
- Input tokens written to the provider cache.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.cache_creation_cost | 0.00088475 |
gen_ai.cost.cache_read_cost | 7.934e-05 |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0011102899999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00165869 |
gen_ai.cost.output_cost | 0.0005484 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00165869 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-cache-write/v1/", "response_cost": 0.00165869, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:47 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1006.4289, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 8ebaecea-898b-4c5e-b2c5-453c384196c8 |
litellm.provider.model | gpt-5.6-luna |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 457, 'prompt_tokens': 8237, 'total_tokens': 8694, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cache_write_tokens': 3539, 'cached_tokens': 3967, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None, 'cache_creation_tokens': 3539}, 'cost': 0.00165869} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-dropped · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario openai/stream-dropped- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status ERROR
error.message | Connection error. |
error.stack_trace | File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/litellm/litellm_core_utils/streaming_handler.py", line 2428, in __next__
chunk = next(self.completion_stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/openai/_streaming.py", line 49, in __next__
return self._iterator.__next__()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/openai/_streaming.py", line 70, in __stream__
for sse in iterator:
^^^^^^^^
File "/home/runner/.cache/spantruth/venvs/litellm-0b4271858004/lib/python3.12/site-packages/openai/_streaming.py", line 61, in _iter_events
raise APIConnectionError(request=self.response.request) from err
|
error.type | APIConnectionError |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.0 |
gen_ai.cost.output_cost | 0.0 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.0 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.id | d4e8ea15-0743-4ecd-84eb-e6988b618e89 |
gen_ai.system | openai |
hidden_params | {"model_id": null, "cache_key": null, "api_base": null, "response_cost": 0.0, "additional_headers": null, "litellm_overhead_time_ms": null, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | d4e8ea15-0743-4ecd-84eb-e6988b618e89 |
litellm.provider.model | gpt-5-mini |
litellm.usage.estimated_input_tokens | 14 |
litellm.usage.provider_status | unknown |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
missing litellm · openai/stream-early-exit · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-early-exit- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
missing litellm · openai/stream-early-exit-with · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject litellm --scenario openai/stream-early-exit-with- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
wrong litellm · openai/stream-no-usage · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario openai/stream-no-usage- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 3.5e-06 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 1.75e-05 |
gen_ai.cost.output_cost | 1.4e-05 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 1.75e-05 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 14 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 21 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-no-usage/v1/", "response_cost": 1.75e-05, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:59 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1146.4889, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 33550cb9-a3e1-4fc4-bd1a-2c16a54d4669 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 7, 'prompt_tokens': 14, 'total_tokens': 21, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 7, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': None, 'cost': 1.75e-05} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-no-usage · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject litellm --scenario openai/stream-no-usage- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 3.5e-06 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 1.75e-05 |
gen_ai.cost.output_cost | 1.4e-05 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 1.75e-05 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 14 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 21 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-no-usage/v1/", "response_cost": 1.75e-05, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:59 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1146.4889, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 33550cb9-a3e1-4fc4-bd1a-2c16a54d4669 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 7, 'prompt_tokens': 14, 'total_tokens': 21, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 7, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': None, 'cost': 1.75e-05} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-no-usage · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject litellm --scenario openai/stream-no-usage- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 3.5e-06 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 1.75e-05 |
gen_ai.cost.output_cost | 1.4e-05 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 1.75e-05 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 14 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 21 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-no-usage/v1/", "response_cost": 1.75e-05, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:59 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1146.4889, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 33550cb9-a3e1-4fc4-bd1a-2c16a54d4669 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 7, 'prompt_tokens': 14, 'total_tokens': 21, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 7, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': None, 'cost': 1.75e-05} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-no-usage · input_tokensPhantom tokens #
expected nothing, reported 14: estimated: the stream carried no usage
- Reported
14- Read from
gen_ai.usage.input_tokens- Note
estimated: the stream carried no usage- Reproduce
spantruth run --subject litellm --scenario openai/stream-no-usage- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 3.5e-06 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 1.75e-05 |
gen_ai.cost.output_cost | 1.4e-05 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 1.75e-05 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 14 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 21 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-no-usage/v1/", "response_cost": 1.75e-05, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:59 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1146.4889, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 33550cb9-a3e1-4fc4-bd1a-2c16a54d4669 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 7, 'prompt_tokens': 14, 'total_tokens': 21, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 7, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': None, 'cost': 1.75e-05} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-no-usage · output_tokensPhantom tokens #
expected nothing, reported 7: estimated: the stream carried no usage
- Reported
7- Read from
gen_ai.usage.output_tokens- Note
estimated: the stream carried no usage- Reproduce
spantruth run --subject litellm --scenario openai/stream-no-usage- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 3.5e-06 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 1.75e-05 |
gen_ai.cost.output_cost | 1.4e-05 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 1.75e-05 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 14 |
gen_ai.usage.output_tokens | 7 |
gen_ai.usage.total_tokens | 21 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-no-usage/v1/", "response_cost": 1.75e-05, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:44:59 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1146.4889, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 33550cb9-a3e1-4fc4-bd1a-2c16a54d4669 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 7, 'prompt_tokens': 14, 'total_tokens': 21, 'completion_tokens_details': {'accepted_prediction_tokens': None, 'audio_tokens': None, 'reasoning_tokens': 0, 'rejected_prediction_tokens': None, 'text_tokens': 7, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': None, 'cost': 1.75e-05} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-reasoning · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario openai/stream-reasoning- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0005222499999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00544025 |
gen_ai.cost.output_cost | 0.004918 |
gen_ai.cost.reasoning_cost | 0.003862 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00544025 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.total_tokens | 4548 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-reasoning/v1/", "response_cost": 0.00544025, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:32 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1099.5601, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 862b74f7-b50a-4138-a2e6-dad0174ea2f3 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 2459, 'prompt_tokens': 2089, 'total_tokens': 4548, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 1931, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.00544025} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-reasoning · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject litellm --scenario openai/stream-reasoning- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0005222499999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00544025 |
gen_ai.cost.output_cost | 0.004918 |
gen_ai.cost.reasoning_cost | 0.003862 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00544025 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.total_tokens | 4548 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-reasoning/v1/", "response_cost": 0.00544025, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:32 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1099.5601, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 862b74f7-b50a-4138-a2e6-dad0174ea2f3 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 2459, 'prompt_tokens': 2089, 'total_tokens': 4548, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 1931, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.00544025} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-reasoning · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject litellm --scenario openai/stream-reasoning- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0005222499999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00544025 |
gen_ai.cost.output_cost | 0.004918 |
gen_ai.cost.reasoning_cost | 0.003862 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00544025 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.total_tokens | 4548 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-reasoning/v1/", "response_cost": 0.00544025, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:32 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1099.5601, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 862b74f7-b50a-4138-a2e6-dad0174ea2f3 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 2459, 'prompt_tokens': 2089, 'total_tokens': 4548, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 1931, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.00544025} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
missing litellm · openai/stream-reasoning · reasoning_tokensHidden reasoning #
expected 1931, reported nothing
- Expected
1931- Reproduce
spantruth run --subject litellm --scenario openai/stream-reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.0005222499999999999 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00544025 |
gen_ai.cost.output_cost | 0.004918 |
gen_ai.cost.reasoning_cost | 0.003862 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00544025 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.total_tokens | 4548 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-reasoning/v1/", "response_cost": 0.00544025, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:32 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 1099.5601, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 862b74f7-b50a-4138-a2e6-dad0174ea2f3 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 2459, 'prompt_tokens': 2089, 'total_tokens': 4548, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 1931, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.00544025} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-tool-call · span.parented #
outside the app's trace: litellm_request
- Note
outside the app's trace: litellm_request- Reproduce
spantruth run --subject litellm --scenario openai/stream-tool-call- Rule
- The span belongs to the trace that was active when the application made the call.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.completion.0.function_call.arguments | {"city":"Paris"} |
gen_ai.completion.0.function_call.name | get_weather |
gen_ai.completion.1.function_call.arguments | {"zone":"Europe/Paris"} |
gen_ai.completion.1.function_call.name | get_time |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.00038825 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00073425 |
gen_ai.cost.output_cost | 0.000346 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00073425 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [], "finish_reason": "tool_calls"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-wt-stools |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.total_tokens | 1726 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-tool-call/v1/", "response_cost": 0.00073425, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:10 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 948.7699, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 0abab33d-917b-451a-8f94-56005339e9a5 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.functions.0.description | |
llm.request.functions.0.name | get_weather |
llm.request.functions.0.parameters | {"type": "object", "properties": {"city": {"type": "string"}}} |
llm.request.functions.1.description | |
llm.request.functions.1.name | get_time |
llm.request.functions.1.parameters | {"type": "object", "properties": {"zone": {"type": "string"}}} |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 173, 'prompt_tokens': 1553, 'total_tokens': 1726, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.00073425} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-tool-call · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject litellm --scenario openai/stream-tool-call- Rule
- The name of the model that generated the response.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.completion.0.function_call.arguments | {"city":"Paris"} |
gen_ai.completion.0.function_call.name | get_weather |
gen_ai.completion.1.function_call.arguments | {"zone":"Europe/Paris"} |
gen_ai.completion.1.function_call.name | get_time |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.00038825 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00073425 |
gen_ai.cost.output_cost | 0.000346 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00073425 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [], "finish_reason": "tool_calls"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-wt-stools |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.total_tokens | 1726 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-tool-call/v1/", "response_cost": 0.00073425, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:10 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 948.7699, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 0abab33d-917b-451a-8f94-56005339e9a5 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.functions.0.description | |
llm.request.functions.0.name | get_weather |
llm.request.functions.0.parameters | {"type": "object", "properties": {"city": {"type": "string"}}} |
llm.request.functions.1.description | |
llm.request.functions.1.name | get_time |
llm.request.functions.1.parameters | {"type": "object", "properties": {"zone": {"type": "string"}}} |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 173, 'prompt_tokens': 1553, 'total_tokens': 1726, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.00073425} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong litellm · openai/stream-tool-call · finish_reasonsSilent stop #
expected tool_calls, reported ["tool_calls"]: the right values, recorded as the JSON string ["tool_calls"] instead of a string array
- Expected
['tool_calls']- Reported
["tool_calls"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["tool_calls"] instead of a string array- Reproduce
spantruth run --subject litellm --scenario openai/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
spantruth.scenario spantruth.driver, status UNSET
litellm_request litellm, status OK
gen_ai.completion.0.function_call.arguments | {"city":"Paris"} |
gen_ai.completion.0.function_call.name | get_weather |
gen_ai.completion.1.function_call.arguments | {"zone":"Europe/Paris"} |
gen_ai.completion.1.function_call.name | get_time |
gen_ai.cost.discount_amount | 0.0 |
gen_ai.cost.discount_percent | 0.0 |
gen_ai.cost.input_cost | 0.00038825 |
gen_ai.cost.margin_fixed_amount | 0.0 |
gen_ai.cost.margin_percent | 0.0 |
gen_ai.cost.margin_total_amount | 0.0 |
gen_ai.cost.original_cost | 0.00073425 |
gen_ai.cost.output_cost | 0.000346 |
gen_ai.cost.tool_usage_cost | 0.0 |
gen_ai.cost.total_cost | 0.00073425 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.openai.response.service_tier | default |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [], "finish_reason": "tool_calls"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-wt-stools |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.total_tokens | 1726 |
hidden_params | {"model_id": null, "cache_key": null, "api_base": "http://127.0.0.1:37565/s/openai--stream-tool-call/v1/", "response_cost": 0.00073425, "additional_headers": {"llm_provider-server": "BaseHTTP/0.6 Python/3.12.16", "llm_provider-date": "Fri, 27 Nov 2026 12:45:10 GMT", "llm_provider-content-type": "text/event-stream", "llm_provider-transfer-encoding": "chunked", "llm_provider-x-request-id": "req_spantruth", "request-id": "req_spantruth"}, "litellm_overhead_time_ms": 948.7699, "batch_models": null, "batch_successful_requests": null, "batch_failed_requests": null, "litellm_model_name": null, "usage_object": null} |
litellm.cache_hit | False |
litellm.call_id | 0abab33d-917b-451a-8f94-56005339e9a5 |
litellm.provider.model | gpt-5-mini |
llm.is_streaming | True |
llm.request.functions.0.description | |
llm.request.functions.0.name | get_weather |
llm.request.functions.0.parameters | {"type": "object", "properties": {"city": {"type": "string"}}} |
llm.request.functions.1.description | |
llm.request.functions.1.name | get_time |
llm.request.functions.1.parameters | {"type": "object", "properties": {"zone": {"type": "string"}}} |
llm.request.type | completion |
metadata.applied_guardrails | [] |
metadata.cold_storage_object_key | |
metadata.kubernetes_pod_routing | |
metadata.mcp_tool_call_metadata | |
metadata.prompt_management_metadata | |
metadata.requester_custom_headers | |
metadata.requester_ip_address | |
metadata.requester_metadata | |
metadata.routing_decision | |
metadata.spend_logs_metadata | |
metadata.team_alias | |
metadata.team_id | |
metadata.usage_object | {'completion_tokens': 173, 'prompt_tokens': 1553, 'total_tokens': 1726, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0, 'text_tokens': None, 'image_tokens': None, 'video_tokens': None}, 'prompt_tokens_details': {'audio_tokens': 0, 'cached_tokens': 0, 'image_tokens': None, 'text_tokens': None, 'video_tokens': None, 'initial_prompt_tokens': None}, 'cost': 0.00073425} |
metadata.used_client_oauth_token | |
metadata.user_agent | |
metadata.user_api_key_alias | |
metadata.user_api_key_auth_metadata | |
metadata.user_api_key_budget_reset_at | |
metadata.user_api_key_customer_member_id | |
metadata.user_api_key_customer_org_id | |
metadata.user_api_key_customer_team_id | |
metadata.user_api_key_end_user_id | |
metadata.user_api_key_hash | |
metadata.user_api_key_max_budget | |
metadata.user_api_key_org_alias | |
metadata.user_api_key_org_id | |
metadata.user_api_key_project_alias | |
metadata.user_api_key_project_id | |
metadata.user_api_key_request_route | |
metadata.user_api_key_spend | |
metadata.user_api_key_team_alias | |
metadata.user_api_key_team_id | |
metadata.user_api_key_team_max_budget | |
metadata.user_api_key_team_spend | |
metadata.user_api_key_user_email | |
metadata.user_api_key_user_id | |
metadata.user_api_key_user_max_budget | |
metadata.user_api_key_user_spend | |
metadata.vector_store_request_metadata | |
raw_gen_ai_request litellm, status OK
wrong logfire · anthropic/agent-loop · finish_reasonsSilent stop #
expected tool_use, reported ["tool_use"]: call 1 of 3: the right values, recorded as the JSON string ["tool_use"] instead of a string array; failed on calls ...
- Expected
['tool_use']- Reported
["tool_use"]- Read from
gen_ai.response.finish_reasons- Note
call 1 of 3: the right values, recorded as the JSON string ["tool_use"] instead of a string array; failed on calls 1, 2, 3- Reproduce
spantruth run --subject logfire --scenario anthropic/agent-loop- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _loop |
code.lineno | 335 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"tool_call","id":"toolu_wt_w","name":"get_weather","arguments":{"city":"Paris"}}],"finish_reason":"tool_use"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["tool_use"] |
gen_ai.response.id | msg_wt_loop1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1171,"output_tokens":97} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _loop |
code.lineno | 335 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]},{"role":"assistant","parts":[{"type":"text","content":"ToolUseBlock(id='toolu_wt_w', caller=None, input={'city': 'Paris'}, name='get_weather', type='tool_use', toolset_name=None)"}]},{"role":"user","parts":[{"type":"tool_call_response","id":"toolu_wt_w","response":"18 C and sunny"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"tool_call","id":"toolu_wt_t","name":"get_time","arguments":{"zone":"Europe/Paris"}}],"finish_reason":"tool_use"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["tool_use"] |
gen_ai.response.id | msg_wt_loop2 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.cache_read.input_tokens | 1093 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":1093,"input_tokens":214,"output_tokens":89} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _loop |
code.lineno | 335 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]},{"role":"assistant","parts":[{"type":"text","content":"ToolUseBlock(id='toolu_wt_w', caller=None, input={'city': 'Paris'}, name='get_weather', type='tool_use', toolset_name=None)"}]},{"role":"user","parts":[{"type":"tool_call_response","id":"toolu_wt_w","response":"18 C and sunny"}]},{"role":"assistant","parts":[{"type":"text","content":"ToolUseBlock(id='toolu_wt_t', caller=None, input={'zone': 'Europe/Paris'}, name='get_time', type='tool_use', toolset_name=None)"}]},{"role":"user","parts":[{"type":"tool_call_response","id":"toolu_wt_t","response":"14:05"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"It is 18 C and sunny in Paris, and the time is 14:05."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_loop3 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.cache_read.input_tokens | 1279 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":1279,"input_tokens":180,"output_tokens":211} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/async-basic · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 270 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1187,"output_tokens":263} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/async-concurrent-streams · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5: call 1 of 2; failed on calls 1, 2
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject logfire --scenario anthropic/async-concurrent-streams- Rule
- The name of the model that generated the response.
Exported spans (5)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 364 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 364 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.response.model | claude-haiku-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-haiku-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-haiku-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 365 |
duration | 0.047981329 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_par1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.cache_read.input_tokens | 769 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":769,"input_tokens":264,"output_tokens":149} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.05s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 365 |
duration | 0.008254747 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_par2 |
gen_ai.response.model | claude-haiku-5-5-20261001 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1747,"output_tokens":181} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-haiku-5-5' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-haiku-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/async-concurrent-streams · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: call 1 of 2: the right values, recorded as the JSON string ["end_turn"] instead of a string array; failed on calls ...
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
call 1 of 2: the right values, recorded as the JSON string ["end_turn"] instead of a string array; failed on calls 1, 2- Reproduce
spantruth run --subject logfire --scenario anthropic/async-concurrent-streams- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (5)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 364 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 364 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.response.model | claude-haiku-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-haiku-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-haiku-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 365 |
duration | 0.047981329 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_par1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.cache_read.input_tokens | 769 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":769,"input_tokens":264,"output_tokens":149} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.05s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 365 |
duration | 0.008254747 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_par2 |
gen_ai.response.model | claude-haiku-5-5-20261001 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1747,"output_tokens":181} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-haiku-5-5' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-haiku-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/async-stream · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/async-stream- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 270 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _aread |
code.lineno | 284 |
duration | 0.039670598 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2311,"output_tokens":419} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/async-stream · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 270 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _aread |
code.lineno | 284 |
duration | 0.039670598 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2311,"output_tokens":419} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/async-stream-early-exit · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/async-stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 270 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 214 |
duration | 0.043782157 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":""}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_early |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1913 |
gen_ai.usage.output_tokens | 1 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1913,"output_tokens":1} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/basic · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1187,"output_tokens":263} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/cache-1h · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.cache_creation.input_tokens | 2120 |
gen_ai.usage.cache_read.input_tokens | 2861 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
gen_ai.usage.raw | {"cache_creation":{"ephemeral_1h_input_tokens":1663,"ephemeral_5m_input_tokens":457},"cache_creation_input_tokens":2120,"cache_read_input_tokens":2861,"input_tokens":1307,"output_tokens":389} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/cache-hit · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_cache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.cache_creation.input_tokens | 519 |
gen_ai.usage.cache_read.input_tokens | 4096 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.raw | {"cache_creation_input_tokens":519,"cache_read_input_tokens":4096,"input_tokens":1187,"output_tokens":377} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/content-off · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1187,"output_tokens":263} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/content-on · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1187,"output_tokens":263} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
missing logfire · anthropic/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject logfire --scenario anthropic/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status ERROR
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.exception.fingerprint | a9e55ea0cfde93f6168001714e6273c40aedfb6c02bf27d31fa0dfaa1504d274 |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.level_num | 17 |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/retry-429 · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/retry-429- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_retry |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2477,"output_tokens":367} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/stream- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.039399105 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2311,"output_tokens":419} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.039399105 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2311,"output_tokens":419} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-cache-1h · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-cache-1h- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.040325267 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.cache_creation.input_tokens | 2492 |
gen_ai.usage.cache_read.input_tokens | 3217 |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.raw | {"cache_creation":{"ephemeral_1h_input_tokens":1879,"ephemeral_5m_input_tokens":613},"cache_creation_input_tokens":2492,"cache_read_input_tokens":3217,"input_tokens":1451,"output_tokens":523} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-cache-1h · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.040325267 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.cache_creation.input_tokens | 2492 |
gen_ai.usage.cache_read.input_tokens | 3217 |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.raw | {"cache_creation":{"ephemeral_1h_input_tokens":1879,"ephemeral_5m_input_tokens":613},"cache_creation_input_tokens":2492,"cache_read_input_tokens":3217,"input_tokens":1451,"output_tokens":523} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-cache-cumulative · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-cache-cumulative- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.040702823 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_cumul |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.cache_creation.input_tokens | 811 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.raw | {"cache_creation_input_tokens":811,"cache_read_input_tokens":3583,"input_tokens":1279,"output_tokens":467} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-cache-cumulative · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-cache-cumulative- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.040702823 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_cumul |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.cache_creation.input_tokens | 811 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
gen_ai.usage.raw | {"cache_creation_input_tokens":811,"cache_read_input_tokens":3583,"input_tokens":1279,"output_tokens":467} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-cache-hit · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.034351683 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.cache_creation.input_tokens | 737 |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.raw | {"cache_creation_input_tokens":737,"cache_read_input_tokens":6144,"input_tokens":1543,"output_tokens":511} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.03s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-cache-hit · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.034351683 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.cache_creation.input_tokens | 737 |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.raw | {"cache_creation_input_tokens":737,"cache_read_input_tokens":6144,"input_tokens":1543,"output_tokens":511} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.03s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-content-off · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-content-off- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.039383044 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2311,"output_tokens":419} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-content-off · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.039383044 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2311,"output_tokens":419} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-content-on · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-content-on- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.040384313 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2311,"output_tokens":419} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-content-on · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.040384313 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":2311,"output_tokens":419} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-early-exit · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/driver.py |
code.function | observe |
code.lineno | 45 |
duration | 0.041764609 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":""}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_early |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1913 |
gen_ai.usage.output_tokens | 1 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1913,"output_tokens":1} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-early-exit-with · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-early-exit-with- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/driver.py |
code.function | observe |
code.lineno | 45 |
duration | 0.03894167 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":""}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_early |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1913 |
gen_ai.usage.output_tokens | 1 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1913,"output_tokens":1} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-thinking · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-thinking- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.037632373 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"signature":"dGVzdC1zaWduYXR1cmU=","thinking":"Let me think about the capital of France. The capital is Paris.","type":"thinking"},{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1831,"output_tokens":1439,"output_tokens_details":{"thinking_tokens":1103}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-thinking · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.037632373 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"signature":"dGVzdC1zaWduYXR1cmU=","thinking":"Let me think about the capital of France. The capital is Paris.","type":"thinking"},{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1831,"output_tokens":1439,"output_tokens_details":{"thinking_tokens":1103}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
missing logfire · anthropic/stream-thinking · reasoning_tokensHidden reasoning #
expected 1103, reported nothing
- Expected
1103- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.037632373 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"signature":"dGVzdC1zaWduYXR1cmU=","thinking":"Let me think about the capital of France. The capital is Paris.","type":"thinking"},{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1831,"output_tokens":1439,"output_tokens_details":{"thinking_tokens":1103}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.04s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-tool-call · response_model #
expected claude-sonnet-5-5-20260915, reported claude-sonnet-5-5
- Expected
claude-sonnet-5-5-20260915- Reported
claude-sonnet-5-5- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-tool-call- Rule
- The name of the model that generated the response.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.034653066 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"tool_call","id":"toolu_wt_1","name":"get_weather","arguments":{"city":"Paris"}},{"type":"tool_call","id":"toolu_wt_2","name":"get_time","arguments":{"zone":"Europe/Paris"}}],"finish_reason":"tool_use"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["tool_use"] |
gen_ai.response.id | msg_wt_stools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1619,"output_tokens":197} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.03s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/stream-tool-call · finish_reasonsSilent stop #
expected tool_use, reported ["tool_use"]: the right values, recorded as the JSON string ["tool_use"] instead of a string array
- Expected
['tool_use']- Reported
["tool_use"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["tool_use"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.034653066 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"tool_call","id":"toolu_wt_1","name":"get_weather","arguments":{"city":"Paris"}},{"type":"tool_call","id":"toolu_wt_2","name":"get_time","arguments":{"zone":"Europe/Paris"}}],"finish_reason":"tool_use"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["tool_use"] |
gen_ai.response.id | msg_wt_stools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1619,"output_tokens":197} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'claude-sonnet-5-5' took 0.03s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/thinking · finish_reasonsSilent stop #
expected end_turn, reported ["end_turn"]: the right values, recorded as the JSON string ["end_turn"] instead of a string array
- Expected
['end_turn']- Reported
["end_turn"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["end_turn"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"signature":"dGVzdC1zaWduYXR1cmU=","thinking":"Let me think about the capital of France. The capital of France is Paris.","type":"thinking"},{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1627,"output_tokens":1273,"output_tokens_details":{"thinking_tokens":947}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
missing logfire · anthropic/thinking · reasoning_tokensHidden reasoning #
expected 947, reported nothing
- Expected
947- Reproduce
spantruth run --subject logfire --scenario anthropic/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"signature":"dGVzdC1zaWduYXR1cmU=","thinking":"Let me think about the capital of France. The capital of France is Paris.","type":"thinking"},{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"end_turn"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["end_turn"] |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":1627,"output_tokens":1273,"output_tokens_details":{"thinking_tokens":947}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · anthropic/tool-call · finish_reasonsSilent stop #
expected tool_use, reported ["tool_use"]: the right values, recorded as the JSON string ["tool_use"] instead of a string array
- Expected
['tool_use']- Reported
["tool_use"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["tool_use"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario anthropic/tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Message with {request_data[model]!r} logfire.anthropic, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 232 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"tool_call","id":"toolu_wt_1","name":"get_weather","arguments":{"city":"Paris"}},{"type":"tool_call","id":"toolu_wt_2","name":"get_time","arguments":{"zone":"Europe/Paris"}}],"finish_reason":"tool_use"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ["tool_use"] |
gen_ai.response.id | msg_wt_tools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.raw | {"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"input_tokens":931,"output_tokens":88} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.request.max_tokens":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Message with 'claude-sonnet-5-5' |
logfire.msg_template | Message with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"claude-sonnet-5-5"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · azure/async-basic · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario azure/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 263 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-azbasic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.raw | {"completion_tokens":277,"prompt_tokens":1213,"total_tokens":1490,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'wt-chat-deployment' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · azure/async-stream · response_model #
expected gpt-5-mini-2026-08-07, reported wt-chat-deployment
- Expected
gpt-5-mini-2026-08-07- Reported
wt-chat-deployment- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario azure/async-stream- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 263 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'wt-chat-deployment' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _aread |
code.lineno | 284 |
duration | 0.017152262 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.raw | {"completion_tokens":433,"prompt_tokens":2341,"total_tokens":2774,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'wt-chat-deployment' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
spantruth.scenario spantruth.driver, status UNSET
missing logfire · azure/async-stream · response_id #
expected chatcmpl-wt-azstream, reported nothing
- Expected
chatcmpl-wt-azstream- Reproduce
spantruth run --subject logfire --scenario azure/async-stream- Rule
- The unique identifier of the completion.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 263 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'wt-chat-deployment' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _aread |
code.lineno | 284 |
duration | 0.017152262 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.raw | {"completion_tokens":433,"prompt_tokens":2341,"total_tokens":2774,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'wt-chat-deployment' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · azure/async-stream · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario azure/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 263 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'wt-chat-deployment' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _aread |
code.lineno | 284 |
duration | 0.017152262 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.raw | {"completion_tokens":433,"prompt_tokens":2341,"total_tokens":2774,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'wt-chat-deployment' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · azure/basic · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario azure/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-azbasic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.raw | {"completion_tokens":277,"prompt_tokens":1213,"total_tokens":1490,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'wt-chat-deployment' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · azure/stream · response_model #
expected gpt-5-mini-2026-08-07, reported wt-chat-deployment
- Expected
gpt-5-mini-2026-08-07- Reported
wt-chat-deployment- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario azure/stream- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'wt-chat-deployment' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.019742052 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.raw | {"completion_tokens":433,"prompt_tokens":2341,"total_tokens":2774,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'wt-chat-deployment' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
spantruth.scenario spantruth.driver, status UNSET
missing logfire · azure/stream · response_id #
expected chatcmpl-wt-azstream, reported nothing
- Expected
chatcmpl-wt-azstream- Reproduce
spantruth run --subject logfire --scenario azure/stream- Rule
- The unique identifier of the completion.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'wt-chat-deployment' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.019742052 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.raw | {"completion_tokens":433,"prompt_tokens":2341,"total_tokens":2774,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'wt-chat-deployment' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · azure/stream · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario azure/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'wt-chat-deployment' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.019742052 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | |
gen_ai.response.model | wt-chat-deployment |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.raw | {"completion_tokens":433,"prompt_tokens":2341,"total_tokens":2774,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'wt-chat-deployment' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"wt-chat-deployment"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/agent-loop · finish_reasonsSilent stop #
expected tool_calls, reported ["tool_calls"]: call 1 of 3: the right values, recorded as the JSON string ["tool_calls"] instead of a string array; failed on ...
- Expected
['tool_calls']- Reported
["tool_calls"]- Read from
gen_ai.response.finish_reasons- Note
call 1 of 3: the right values, recorded as the JSON string ["tool_calls"] instead of a string array; failed on calls 1, 2, 3- Reproduce
spantruth run --subject logfire --scenario openai/agent-loop- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _loop |
code.lineno | 335 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"tool_call","id":"call_wt_w","name":"get_weather","arguments":{"city":"Paris"}}],"finish_reason":"tool_calls"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-wt-loop1 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.raw | {"completion_tokens":97,"prompt_tokens":1171,"total_tokens":1268,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _loop |
code.lineno | 335 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]},{"role":"assistant","parts":[{"type":"tool_call","id":"call_wt_w","name":"get_weather","arguments":{"city":"Paris"}}]},{"role":"tool","parts":[{"type":"tool_call_response","id":"call_wt_w","response":"18 C and sunny"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"tool_call","id":"call_wt_t","name":"get_time","arguments":{"zone":"Europe/Paris"}}],"finish_reason":"tool_calls"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-wt-loop2 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
gen_ai.usage.cache_read.input_tokens | 1093 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.raw | {"completion_tokens":89,"prompt_tokens":1307,"total_tokens":1396,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":1093}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _loop |
code.lineno | 335 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]},{"role":"assistant","parts":[{"type":"tool_call","id":"call_wt_w","name":"get_weather","arguments":{"city":"Paris"}}]},{"role":"tool","parts":[{"type":"tool_call_response","id":"call_wt_w","response":"18 C and sunny"}]},{"role":"assistant","parts":[{"type":"tool_call","id":"call_wt_t","name":"get_time","arguments":{"zone":"Europe/Paris"}}]},{"role":"tool","parts":[{"type":"tool_call_response","id":"call_wt_t","response":"14:05"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"It is 18 C and sunny in Paris, and the time is 14:05."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-loop3 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
gen_ai.usage.cache_read.input_tokens | 1279 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.raw | {"completion_tokens":211,"prompt_tokens":1459,"total_tokens":1670,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":1279}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/async-basic · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 263 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-basic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.raw | {"completion_tokens":263,"prompt_tokens":1187,"total_tokens":1450,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/async-concurrent-streams · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini: call 1 of 2; failed on calls 1, 2
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject logfire --scenario openai/async-concurrent-streams- Rule
- The name of the model that generated the response.
Exported spans (5)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 364 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 364 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-nano |
gen_ai.response.model | gpt-5-nano |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-nano' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-nano"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 365 |
duration | 0.018874247 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-par1 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.cache_read.input_tokens | 769 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.raw | {"completion_tokens":149,"prompt_tokens":1033,"total_tokens":1182,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":769}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 365 |
duration | 0.011195578 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-nano |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-par2 |
gen_ai.response.model | gpt-5-nano-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.raw | {"completion_tokens":181,"prompt_tokens":1747,"total_tokens":1928,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-nano' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-nano"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/async-concurrent-streams · finish_reasonsSilent stop #
expected stop, reported ["stop"]: call 1 of 2: the right values, recorded as the JSON string ["stop"] instead of a string array; failed on calls 1, 2
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
call 1 of 2: the right values, recorded as the JSON string ["stop"] instead of a string array; failed on calls 1, 2- Reproduce
spantruth run --subject logfire --scenario openai/async-concurrent-streams- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (5)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 364 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 364 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-nano |
gen_ai.response.model | gpt-5-nano |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-nano' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-nano"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 365 |
duration | 0.018874247 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-par1 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.cache_read.input_tokens | 769 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.raw | {"completion_tokens":149,"prompt_tokens":1033,"total_tokens":1182,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":769}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _gather.<locals>.one |
code.lineno | 365 |
duration | 0.011195578 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-nano |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-par2 |
gen_ai.response.model | gpt-5-nano-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.raw | {"completion_tokens":181,"prompt_tokens":1747,"total_tokens":1928,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-nano' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-nano"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/async-stream · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/async-stream- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 263 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _aread |
code.lineno | 284 |
duration | 0.0142847 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"completion_tokens":419,"prompt_tokens":2311,"total_tokens":2730,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/async-stream · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 263 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _aread |
code.lineno | 284 |
duration | 0.0142847 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"completion_tokens":419,"prompt_tokens":2311,"total_tokens":2730,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/async-stream-early-exit · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/async-stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 263 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 214 |
duration | 0.011027097 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital"}]}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.id | chatcmpl-wt-early |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/async-stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/async-stream-helper- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 256 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _aread |
code.lineno | 284 |
duration | 0.014843991 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-shelper |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2137 |
gen_ai.usage.output_tokens | 313 |
gen_ai.usage.raw | {"completion_tokens":313,"prompt_tokens":2137,"total_tokens":2450,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/async-stream-helper · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/async-stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _run_async |
code.lineno | 256 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | True |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _aread |
code.lineno | 284 |
duration | 0.014843991 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-shelper |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2137 |
gen_ai.usage.output_tokens | 313 |
gen_ai.usage.raw | {"completion_tokens":313,"prompt_tokens":2137,"total_tokens":2450,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/basic · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-basic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.raw | {"completion_tokens":263,"prompt_tokens":1187,"total_tokens":1450,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/cache-hit · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-cache |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.cache_read.input_tokens | 4096 |
gen_ai.usage.input_tokens | 5379 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.raw | {"completion_tokens":377,"prompt_tokens":5379,"total_tokens":5756,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":4096}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/cache-write · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/cache-write- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-cwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.system | openai |
gen_ai.usage.cache_creation.input_tokens | 3181 |
gen_ai.usage.cache_read.input_tokens | 2753 |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.output_tokens | 401 |
gen_ai.usage.raw | {"completion_tokens":401,"prompt_tokens":6619,"total_tokens":7020,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cache_write_tokens":3181,"cached_tokens":2753}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5.6-luna' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5.6-luna"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/compat-extra-cache-fields · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/compat-extra-cache-fields- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | deepseek-flash |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | 9f3c2a71-5b8e-4d0a-a6c4-2e17d8b0f5a3 |
gen_ai.response.model | deepseek-flash |
gen_ai.system | openai |
gen_ai.usage.cache_read.input_tokens | 1408 |
gen_ai.usage.input_tokens | 1931 |
gen_ai.usage.output_tokens | 397 |
gen_ai.usage.raw | {"completion_tokens":397,"prompt_tokens":1931,"total_tokens":2328,"prompt_tokens_details":{"cached_tokens":1408},"prompt_cache_hit_tokens":1408,"prompt_cache_miss_tokens":523} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'deepseek-flash' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"deepseek-flash"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/compat-extra-timing-fields · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/compat-extra-timing-fields- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | llama-3.3-70b-versatile |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-f51b2cd2-bef7-417e-964e-a08f0b513c22 |
gen_ai.response.model | openai/gpt-oss-20b |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 556 |
gen_ai.usage.raw | {"completion_tokens":556,"prompt_tokens":18,"total_tokens":574,"queue_time":0.037493756,"prompt_time":0.000680594,"completion_time":0.463333333,"total_time":0.464013927} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'llama-3.3-70b-versatile' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"llama-3.3-70b-versatile"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/compat-no-details · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/compat-no-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-cnodet |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1129 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.raw | {"completion_tokens":241,"prompt_tokens":1129,"total_tokens":1370} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'qwen3.5-27b' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5-27b"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/compat-null-details · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/compat-null-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-cnull |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.raw | {"completion_tokens":277,"prompt_tokens":1213,"total_tokens":1490} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'qwen3.5-27b' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5-27b"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/compat-partial-details · finish_reasonsSilent stop #
expected length, reported ["length"]: the right values, recorded as the JSON string ["length"] instead of a string array
- Expected
['length']- Reported
["length"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["length"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/compat-partial-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage"}],"finish_reason":"length"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5:0.8b |
gen_ai.response.finish_reasons | ["length"] |
gen_ai.response.id | chatcmpl-54 |
gen_ai.response.model | qwen3.5:0.8b |
gen_ai.system | openai |
gen_ai.usage.cache_read.input_tokens | 28 |
gen_ai.usage.input_tokens | 32 |
gen_ai.usage.output_tokens | 16 |
gen_ai.usage.raw | {"completion_tokens":16,"prompt_tokens":32,"total_tokens":48,"prompt_tokens_details":{"cached_tokens":28}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'qwen3.5:0.8b' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5:0.8b"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/compat-stream-no-details · response_model #
expected Qwen/Qwen3.5-27B-Instruct, reported qwen3.5-27b
- Expected
Qwen/Qwen3.5-27B-Instruct- Reported
qwen3.5-27b- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/compat-stream-no-details- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | qwen3.5-27b |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'qwen3.5-27b' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5-27b"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.015170537 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-csnodet |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1361 |
gen_ai.usage.output_tokens | 293 |
gen_ai.usage.raw | {"completion_tokens":293,"prompt_tokens":1361,"total_tokens":1654} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'qwen3.5-27b' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5-27b"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/compat-stream-no-details · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/compat-stream-no-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | qwen3.5-27b |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'qwen3.5-27b' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5-27b"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.015170537 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-csnodet |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1361 |
gen_ai.usage.output_tokens | 293 |
gen_ai.usage.raw | {"completion_tokens":293,"prompt_tokens":1361,"total_tokens":1654} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'qwen3.5-27b' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5-27b"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/compat-stream-usage-on-finish · response_model #
expected Qwen/Qwen3.5-27B-Instruct, reported qwen3.5-27b
- Expected
Qwen/Qwen3.5-27B-Instruct- Reported
qwen3.5-27b- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/compat-stream-usage-on-finish- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | qwen3.5-27b |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'qwen3.5-27b' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5-27b"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.016320224 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-csfinish |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.system | openai |
gen_ai.usage.cache_read.input_tokens | 1063 |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.output_tokens | 331 |
gen_ai.usage.raw | {"completion_tokens":331,"prompt_tokens":1489,"total_tokens":1820,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":1063}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'qwen3.5-27b' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5-27b"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/compat-stream-usage-on-finish · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/compat-stream-usage-on-finish- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | qwen3.5-27b |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'qwen3.5-27b' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5-27b"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.016320224 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-csfinish |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.system | openai |
gen_ai.usage.cache_read.input_tokens | 1063 |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.output_tokens | 331 |
gen_ai.usage.raw | {"completion_tokens":331,"prompt_tokens":1489,"total_tokens":1820,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":1063}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'qwen3.5-27b' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"qwen3.5-27b"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/content-off · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-basic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.raw | {"completion_tokens":263,"prompt_tokens":1187,"total_tokens":1450,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/content-on · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-basic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.raw | {"completion_tokens":263,"prompt_tokens":1187,"total_tokens":1450,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
missing logfire · openai/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject logfire --scenario openai/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status ERROR
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.exception.fingerprint | bd9dacc8a56b2e4f8cdd5a794881f56517544bb9baa2077e2f11065e3a03fce4 |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.level_num | 17 |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/reasoning · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/reasoning- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-reason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
gen_ai.usage.raw | {"completion_tokens":2219,"prompt_tokens":1601,"total_tokens":3820,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":1792,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
missing logfire · openai/reasoning · reasoning_tokensHidden reasoning #
expected 1792, reported nothing
- Expected
1792- Reproduce
spantruth run --subject logfire --scenario openai/reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-reason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
gen_ai.usage.raw | {"completion_tokens":2219,"prompt_tokens":1601,"total_tokens":3820,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":1792,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/retry-429 · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/retry-429- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-retry |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.raw | {"completion_tokens":367,"prompt_tokens":2477,"total_tokens":2844,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.013927016 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"completion_tokens":419,"prompt_tokens":2311,"total_tokens":2730,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.013927016 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"completion_tokens":419,"prompt_tokens":2311,"total_tokens":2730,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-cache-hit · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.015385531 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scache |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.raw | {"completion_tokens":511,"prompt_tokens":7213,"total_tokens":7724,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":6144}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-cache-hit · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.015385531 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scache |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.raw | {"completion_tokens":511,"prompt_tokens":7213,"total_tokens":7724,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":6144}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-cache-write · response_model #
expected gpt-5.6-luna-2026-10-14, reported gpt-5.6-luna
- Expected
gpt-5.6-luna-2026-10-14- Reported
gpt-5.6-luna- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream-cache-write- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.model | gpt-5.6-luna |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5.6-luna' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5.6-luna"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.010336417 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.system | openai |
gen_ai.usage.cache_creation.input_tokens | 3539 |
gen_ai.usage.cache_read.input_tokens | 3967 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.raw | {"completion_tokens":457,"prompt_tokens":8237,"total_tokens":8694,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cache_write_tokens":3539,"cached_tokens":3967}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5.6-luna' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5.6-luna"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-cache-write · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/stream-cache-write- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.model | gpt-5.6-luna |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5.6-luna' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5.6-luna"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.010336417 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.system | openai |
gen_ai.usage.cache_creation.input_tokens | 3539 |
gen_ai.usage.cache_read.input_tokens | 3967 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.raw | {"completion_tokens":457,"prompt_tokens":8237,"total_tokens":8694,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cache_write_tokens":3539,"cached_tokens":3967}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.cache_read.input_tokens":{},"gen_ai.usage.cache_creation.input_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5.6-luna' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5.6-luna"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-content-off · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream-content-off- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.008769079 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"completion_tokens":419,"prompt_tokens":2311,"total_tokens":2730,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-content-off · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/stream-content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.008769079 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"completion_tokens":419,"prompt_tokens":2311,"total_tokens":2730,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-content-on · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream-content-on- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.014197555 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"completion_tokens":419,"prompt_tokens":2311,"total_tokens":2730,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-content-on · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/stream-content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.014197555 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.raw | {"completion_tokens":419,"prompt_tokens":2311,"total_tokens":2730,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-early-exit · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/driver.py |
code.function | instrumented |
code.lineno | 233 |
duration | 0.193297397 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital"}]}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.id | chatcmpl-wt-early |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.19s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
wrong logfire · openai/stream-early-exit-with · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream-early-exit-with- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/driver.py |
code.function | instrumented |
code.lineno | 233 |
duration | 0.200516069 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital"}]}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.id | chatcmpl-wt-early |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.20s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
wrong logfire · openai/stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream-helper- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 219 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.015596812 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-shelper |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2137 |
gen_ai.usage.output_tokens | 313 |
gen_ai.usage.raw | {"completion_tokens":313,"prompt_tokens":2137,"total_tokens":2450,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-helper · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | run |
code.lineno | 219 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.015596812 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-shelper |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2137 |
gen_ai.usage.output_tokens | 313 |
gen_ai.usage.raw | {"completion_tokens":313,"prompt_tokens":2137,"total_tokens":2450,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-no-usage · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream-no-usage- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.009113857 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-no-usage · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/stream-no-usage- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.009113857 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-reasoning · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream-reasoning- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.015588614 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.raw | {"completion_tokens":2459,"prompt_tokens":2089,"total_tokens":4548,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":1931,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-reasoning · finish_reasonsSilent stop #
expected stop, reported ["stop"]: the right values, recorded as the JSON string ["stop"] instead of a string array
- Expected
['stop']- Reported
["stop"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["stop"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/stream-reasoning- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.015588614 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.raw | {"completion_tokens":2459,"prompt_tokens":2089,"total_tokens":4548,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":1931,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
missing logfire · openai/stream-reasoning · reasoning_tokensHidden reasoning #
expected 1931, reported nothing
- Expected
1931- Reproduce
spantruth run --subject logfire --scenario openai/stream-reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.015588614 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["stop"] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.raw | {"completion_tokens":2459,"prompt_tokens":2089,"total_tokens":4548,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":1931,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.02s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-tool-call · response_model #
expected gpt-5-mini-2026-08-07, reported gpt-5-mini
- Expected
gpt-5-mini-2026-08-07- Reported
gpt-5-mini- Read from
gen_ai.response.model- Reproduce
spantruth run --subject logfire --scenario openai/stream-tool-call- Rule
- The name of the model that generated the response.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.013775003 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"tool_call","id":"call_wt_1","name":"get_weather","arguments":{"city":"Paris"}},{"type":"tool_call","id":"call_wt_2","name":"get_time","arguments":{"zone":"Europe/Paris"}}],"finish_reason":"tool_calls"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-wt-stools |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.raw | {"completion_tokens":173,"prompt_tokens":1553,"total_tokens":1726,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/stream-tool-call · finish_reasonsSilent stop #
expected tool_calls, reported ["tool_calls"]: the right values, recorded as the JSON string ["tool_calls"] instead of a string array
- Expected
['tool_calls']- Reported
["tool_calls"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["tool_calls"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
streaming response from {request_data[model]!r} took {duration:.2f}s logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _read |
code.lineno | 246 |
duration | 0.013775003 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"tool_call","id":"call_wt_1","name":"get_weather","arguments":{"city":"Paris"}},{"type":"tool_call","id":"call_wt_2","name":"get_time","arguments":{"zone":"Europe/Paris"}}],"finish_reason":"tool_calls"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-wt-stools |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.raw | {"completion_tokens":173,"prompt_tokens":1553,"total_tokens":1726,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"duration":{},"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.id":{},"gen_ai.response.model":{},"gen_ai.response.finish_reasons":{"type":"array"},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"}}} |
logfire.level_num | 9 |
logfire.msg | streaming response from 'gpt-5-mini' took 0.01s |
logfire.msg_template | streaming response from {request_data[model]!r} took {duration:.2f}s |
logfire.span_type | log |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
wrong logfire · openai/tool-call · finish_reasonsSilent stop #
expected tool_calls, reported ["tool_calls"]: the right values, recorded as the JSON string ["tool_calls"] instead of a string array
- Expected
['tool_calls']- Reported
["tool_calls"]- Read from
gen_ai.response.finish_reasons- Note
the right values, recorded as the JSON string ["tool_calls"] instead of a string array- Reproduce
spantruth run --subject logfire --scenario openai/tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
Chat Completion with {request_data[model]!r} logfire.openai, status UNSET
async | False |
code.filepath | /tmp/tmpsy0jtcvv/spantruth/calls.py |
code.function | _openai_create |
code.lineno | 130 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"tool_call","id":"call_wt_1","name":"get_weather","arguments":{"city":"Paris"}},{"type":"tool_call","id":"call_wt_2","name":"get_time","arguments":{"zone":"Europe/Paris"}}],"finish_reason":"tool_calls"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ["tool_calls"] |
gen_ai.response.id | chatcmpl-wt-tools |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.raw | {"completion_tokens":88,"prompt_tokens":931,"total_tokens":1019,"completion_tokens_details":{"accepted_prediction_tokens":0,"audio_tokens":0,"reasoning_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0}} |
logfire.json_schema | {"type":"object","properties":{"request_data":{"type":"object"},"gen_ai.system":{},"gen_ai.provider.name":{},"gen_ai.request.model":{},"gen_ai.operation.name":{},"gen_ai.tool.definitions":{},"gen_ai.input.messages":{"type":"array"},"async":{},"gen_ai.response.model":{},"gen_ai.response.id":{},"gen_ai.usage.input_tokens":{},"gen_ai.usage.output_tokens":{},"gen_ai.usage.raw":{"type":"object"},"gen_ai.output.messages":{"type":"array"},"gen_ai.response.finish_reasons":{"type":"array"}}} |
logfire.msg | Chat Completion with 'gpt-5-mini' |
logfire.msg_template | Chat Completion with {request_data[model]!r} |
logfire.span_type | span |
logfire.tags | ['LLM'] |
request_data | {"model":"gpt-5-mini"} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/agent-loop · finish_reasonsSilent stop #
expected tool_use, reported nothing: call 1 of 3; failed on calls 1, 2, 3
- Expected
['tool_use']- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject mlflow --scenario anthropic/agent-loop- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (8)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1171, "output_tokens": 97, "total_tokens": 1268, "cache_read_input_tokens": 0, "cache_creation_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_loop1", "container": null, "content": [{"id": "toolu_wt_w", "caller": null, "input": {"city": "Paris"}, "name": "get_weather", "type": "tool_use", "toolset_name": null}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "tool_use", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 1171, "output_tokens": 97, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-0b92e308db63d29caf292a10f4471f43" |
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1307, "output_tokens": 89, "total_tokens": 1396, "cache_read_input_tokens": 1093, "cache_creation_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}, {"role": "assistant", "content": [{"id": "toolu_wt_w", "caller": null, "input": {"city": "Paris"}, "name": "get_weather", "type": "tool_use", "toolset_name": null}]}, {"role": "user", "content": [{"type": "tool_result", "tool_use_id": "toolu_wt_w", "content": "18 C and sunny"}]}], "model": "claude-sonnet-5-5", "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_loop2", "container": null, "content": [{"id": "toolu_wt_t", "caller": null, "input": {"zone": "Europe/Paris"}, "name": "get_time", "type": "tool_use", "toolset_name": null}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "tool_use", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 1093, "inference_geo": null, "input_tokens": 214, "output_tokens": 89, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-0b92e308db63d29caf292a10f4471f43" |
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1459, "output_tokens": 211, "total_tokens": 1670, "cache_read_input_tokens": 1279, "cache_creation_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}, {"role": "assistant", "content": [{"id": "toolu_wt_w", "caller": null, "input": {"city": "Paris"}, "name": "get_weather", "type": "tool_use", "toolset_name": null}]}, {"role": "user", "content": [{"type": "tool_result", "tool_use_id": "toolu_wt_w", "content": "18 C and sunny"}]}, {"role": "assistant", "content": [{"id": "toolu_wt_t", "caller": null, "input": {"zone": "Europe/Paris"}, "name": "get_time", "type": "tool_use", "toolset_name": null}]}, {"role": "user", "content": [{"type": "tool_result", "tool_use_id": "toolu_wt_t", "content": "14:05"}]}], "model": "claude-sonnet-5-5", "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_loop3", "container": null, "content": [{"citations": null, "text": "It is 18 C and sunny in Paris, and the time is 14:05.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 1279, "inference_geo": null, "input_tokens": 180, "output_tokens": 211, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-0b92e308db63d29caf292a10f4471f43" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-0b92e308db63d29caf292a10f4471f43" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "toolu_wt_w", "response": "18 C and sunny"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_t", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop2 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "toolu_wt_w", "response": "18 C and sunny"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_t", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "toolu_wt_t", "response": "14:05"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "It is 18 C and sunny in Paris, and the time is 14:05."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop3 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/agent-loop · cache_read_tokensCache-blind tokens #
expected 1093, reported nothing: call 2 of 3; failed on calls 2, 3
- Expected
1093- Note
call 2 of 3; failed on calls 2, 3- Reproduce
spantruth run --subject mlflow --scenario anthropic/agent-loop- Rule
- Input tokens read from the provider cache.
Exported spans (8)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1171, "output_tokens": 97, "total_tokens": 1268, "cache_read_input_tokens": 0, "cache_creation_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_loop1", "container": null, "content": [{"id": "toolu_wt_w", "caller": null, "input": {"city": "Paris"}, "name": "get_weather", "type": "tool_use", "toolset_name": null}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "tool_use", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 1171, "output_tokens": 97, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-0b92e308db63d29caf292a10f4471f43" |
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1307, "output_tokens": 89, "total_tokens": 1396, "cache_read_input_tokens": 1093, "cache_creation_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}, {"role": "assistant", "content": [{"id": "toolu_wt_w", "caller": null, "input": {"city": "Paris"}, "name": "get_weather", "type": "tool_use", "toolset_name": null}]}, {"role": "user", "content": [{"type": "tool_result", "tool_use_id": "toolu_wt_w", "content": "18 C and sunny"}]}], "model": "claude-sonnet-5-5", "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_loop2", "container": null, "content": [{"id": "toolu_wt_t", "caller": null, "input": {"zone": "Europe/Paris"}, "name": "get_time", "type": "tool_use", "toolset_name": null}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "tool_use", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 1093, "inference_geo": null, "input_tokens": 214, "output_tokens": 89, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-0b92e308db63d29caf292a10f4471f43" |
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1459, "output_tokens": 211, "total_tokens": 1670, "cache_read_input_tokens": 1279, "cache_creation_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}, {"role": "assistant", "content": [{"id": "toolu_wt_w", "caller": null, "input": {"city": "Paris"}, "name": "get_weather", "type": "tool_use", "toolset_name": null}]}, {"role": "user", "content": [{"type": "tool_result", "tool_use_id": "toolu_wt_w", "content": "18 C and sunny"}]}, {"role": "assistant", "content": [{"id": "toolu_wt_t", "caller": null, "input": {"zone": "Europe/Paris"}, "name": "get_time", "type": "tool_use", "toolset_name": null}]}, {"role": "user", "content": [{"type": "tool_result", "tool_use_id": "toolu_wt_t", "content": "14:05"}]}], "model": "claude-sonnet-5-5", "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_loop3", "container": null, "content": [{"citations": null, "text": "It is 18 C and sunny in Paris, and the time is 14:05.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 1279, "inference_geo": null, "input_tokens": 180, "output_tokens": 211, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-0b92e308db63d29caf292a10f4471f43" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-0b92e308db63d29caf292a10f4471f43" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "toolu_wt_w", "response": "18 C and sunny"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_t", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop2 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "toolu_wt_w", "response": "18 C and sunny"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_t", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "toolu_wt_t", "response": "14:05"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "It is 18 C and sunny in Paris, and the time is 14:05."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop3 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-basic · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1187, "output_tokens": 263, "total_tokens": 1450, "cache_read_input_tokens": 0, "cache_creation_input_tokens": 0} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_basic", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 1187, "output_tokens": 263, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e0ab2723440b9b78309eb72ff83d9dc1" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e0ab2723440b9b78309eb72ff83d9dc1" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-concurrent-streams · response_model #
expected claude-sonnet-5-5-20260915, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
claude-sonnet-5-5-20260915- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-concurrent-streams- Rule
- The name of the model that generated the response.
Exported spans (6)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f76589d30>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-haiku-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-haiku-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f765996a0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
chat claude-haiku-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-haiku-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-concurrent-streams · response_id #
expected msg_wt_par1, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
msg_wt_par1- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-concurrent-streams- Rule
- The unique identifier of the completion.
Exported spans (6)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f76589d30>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-haiku-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-haiku-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f765996a0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
chat claude-haiku-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-haiku-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-concurrent-streams · finish_reasonsSilent stop #
expected end_turn, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
['end_turn']- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-concurrent-streams- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f76589d30>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-haiku-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-haiku-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f765996a0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
chat claude-haiku-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-haiku-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-concurrent-streams · input_tokensVanishing tokens #
expected 1033, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
1033- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-concurrent-streams- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (6)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f76589d30>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-haiku-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-haiku-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f765996a0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
chat claude-haiku-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-haiku-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-concurrent-streams · output_tokensVanishing tokens #
expected 149, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
149- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-concurrent-streams- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (6)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f76589d30>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-haiku-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-haiku-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f765996a0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
chat claude-haiku-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-haiku-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-concurrent-streams · cache_read_tokensCache-blind tokens #
expected 769, reported nothing: call 1 of 2
- Expected
769- Note
call 1 of 2- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-concurrent-streams- Rule
- Input tokens read from the provider cache.
Exported spans (6)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f76589d30>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-haiku-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-haiku-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x780f765996a0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-017988eadd4947e85e21618c899db98b" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
chat claude-haiku-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-haiku-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-stream · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream- Rule
- The name of the model that generated the response.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x703da34e2c00>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-a1efd486f7ffba51008357b4d8adae41" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-a1efd486f7ffba51008357b4d8adae41" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-stream · response_id #
expected msg_wt_stream, reported nothing
- Expected
msg_wt_stream- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream- Rule
- The unique identifier of the completion.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x703da34e2c00>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-a1efd486f7ffba51008357b4d8adae41" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-a1efd486f7ffba51008357b4d8adae41" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-stream · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x703da34e2c00>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-a1efd486f7ffba51008357b4d8adae41" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-a1efd486f7ffba51008357b4d8adae41" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-stream · input_tokensVanishing tokens #
expected 2311, reported nothing
- Expected
2311- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x703da34e2c00>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-a1efd486f7ffba51008357b4d8adae41" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-a1efd486f7ffba51008357b4d8adae41" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-stream · output_tokensVanishing tokens #
expected 419, reported nothing
- Expected
419- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x703da34e2c00>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-a1efd486f7ffba51008357b4d8adae41" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-a1efd486f7ffba51008357b4d8adae41" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · anthropic/async-stream-dropped · error.statusFalse OK #
expected ERROR, reported OK
- Expected
ERROR- Reported
['OK']- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream-dropped- Rule
- Span status SHOULD follow Recording Errors: an operation that ended in an error sets the status to Error.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x7b3a81492600>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e09e8830128cb7de5591878815ad58fd" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e09e8830128cb7de5591878815ad58fd" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x7b3a81492600>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e09e8830128cb7de5591878815ad58fd" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e09e8830128cb7de5591878815ad58fd" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-stream-early-exit · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x77e7b7c3cdd0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-f994a494d09ac9bf2275f611073f2f53" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-f994a494d09ac9bf2275f611073f2f53" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-stream-early-exit · response_id #
expected msg_wt_early, reported nothing
- Expected
msg_wt_early- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x77e7b7c3cdd0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-f994a494d09ac9bf2275f611073f2f53" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-f994a494d09ac9bf2275f611073f2f53" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-stream-early-exit · input_tokensVanishing tokens #
expected 1913, reported nothing
- Expected
1913- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream-early-exit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x77e7b7c3cdd0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-f994a494d09ac9bf2275f611073f2f53" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-f994a494d09ac9bf2275f611073f2f53" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · anthropic/async-stream-error-event · error.statusFalse OK #
expected ERROR, reported OK
- Expected
ERROR- Reported
['OK']- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream-error-event- Rule
- Span status SHOULD follow Recording Errors: an operation that ended in an error sets the status to Error.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x753191b8e060>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-18a3718bf0081c28b662f9b4d74400b3" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-18a3718bf0081c28b662f9b4d74400b3" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/async-stream-error-event · error.typeFalse OK #
- Reproduce
spantruth run --subject mlflow --scenario anthropic/async-stream-error-event- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (4)
AsyncMessages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.AsyncStream object at 0x753191b8e060>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-18a3718bf0081c28b662f9b4d74400b3" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-18a3718bf0081c28b662f9b4d74400b3" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/basic · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject mlflow --scenario anthropic/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1187, "output_tokens": 263, "total_tokens": 1450, "cache_read_input_tokens": 0, "cache_creation_input_tokens": 0} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_basic", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 1187, "output_tokens": 263, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-601823121ecac068026bc8fae04a998c" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-601823121ecac068026bc8fae04a998c" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/cache-1h · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.0146 on the wire, $0.0165 from the spans (+12.9%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 6288, "output_tokens": 389, "total_tokens": 6677, "cache_read_input_tokens": 2861, "cache_creation_input_tokens": 2120, "cache_creation_input_tokens_above_1hr": 1663} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_cache1h", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": {"ephemeral_1h_input_tokens": 1663, "ephemeral_5m_input_tokens": 457}, "cache_creation_input_tokens": 2120, "cache_read_input_tokens": 2861, "inference_geo": null, "input_tokens": 1307, "output_tokens": 389, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-cee68c6d056d9ad23712a1b9d559b169" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-cee68c6d056d9ad23712a1b9d559b169" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/cache-1h · cache_read_tokensCache-blind tokens #
expected 2861, reported nothing
- Expected
2861- Cost
- $0.0146 on the wire, $0.0165 from the spans (+12.9%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/cache-1h- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 6288, "output_tokens": 389, "total_tokens": 6677, "cache_read_input_tokens": 2861, "cache_creation_input_tokens": 2120, "cache_creation_input_tokens_above_1hr": 1663} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_cache1h", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": {"ephemeral_1h_input_tokens": 1663, "ephemeral_5m_input_tokens": 457}, "cache_creation_input_tokens": 2120, "cache_read_input_tokens": 2861, "inference_geo": null, "input_tokens": 1307, "output_tokens": 389, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-cee68c6d056d9ad23712a1b9d559b169" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-cee68c6d056d9ad23712a1b9d559b169" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/cache-1h · cache_write_tokensCache-blind tokens #
expected 2120, reported nothing
- Expected
2120- Cost
- $0.0146 on the wire, $0.0165 from the spans (+12.9%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/cache-1h- Rule
- Input tokens written to the provider cache.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 6288, "output_tokens": 389, "total_tokens": 6677, "cache_read_input_tokens": 2861, "cache_creation_input_tokens": 2120, "cache_creation_input_tokens_above_1hr": 1663} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_cache1h", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": {"ephemeral_1h_input_tokens": 1663, "ephemeral_5m_input_tokens": 457}, "cache_creation_input_tokens": 2120, "cache_read_input_tokens": 2861, "inference_geo": null, "input_tokens": 1307, "output_tokens": 389, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-cee68c6d056d9ad23712a1b9d559b169" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-cee68c6d056d9ad23712a1b9d559b169" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/cache-hit · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.00785 on the wire, $0.0154 from the spans (+95.8%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5802, "output_tokens": 377, "total_tokens": 6179, "cache_read_input_tokens": 4096, "cache_creation_input_tokens": 519} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_cache", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 519, "cache_read_input_tokens": 4096, "inference_geo": null, "input_tokens": 1187, "output_tokens": 377, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-da53c4315a0bd31aaf788ecfc93a5079" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-da53c4315a0bd31aaf788ecfc93a5079" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/cache-hit · cache_read_tokensCache-blind tokens #
expected 4096, reported nothing
- Expected
4096- Cost
- $0.00785 on the wire, $0.0154 from the spans (+95.8%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/cache-hit- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5802, "output_tokens": 377, "total_tokens": 6179, "cache_read_input_tokens": 4096, "cache_creation_input_tokens": 519} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_cache", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 519, "cache_read_input_tokens": 4096, "inference_geo": null, "input_tokens": 1187, "output_tokens": 377, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-da53c4315a0bd31aaf788ecfc93a5079" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-da53c4315a0bd31aaf788ecfc93a5079" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/cache-hit · cache_write_tokensCache-blind tokens #
expected 519, reported nothing
- Expected
519- Cost
- $0.00785 on the wire, $0.0154 from the spans (+95.8%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/cache-hit- Rule
- Input tokens written to the provider cache.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5802, "output_tokens": 377, "total_tokens": 6179, "cache_read_input_tokens": 4096, "cache_creation_input_tokens": 519} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_cache", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 519, "cache_read_input_tokens": 4096, "inference_geo": null, "input_tokens": 1187, "output_tokens": 377, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-da53c4315a0bd31aaf788ecfc93a5079" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-da53c4315a0bd31aaf788ecfc93a5079" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/content-off · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject mlflow --scenario anthropic/content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1187, "output_tokens": 263, "total_tokens": 1450, "cache_read_input_tokens": 0, "cache_creation_input_tokens": 0} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_basic", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 1187, "output_tokens": 263, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-20cd22be9fa7cb9ddb63b7b93ff486a2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-20cd22be9fa7cb9ddb63b7b93ff486a2" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/content-on · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject mlflow --scenario anthropic/content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1187, "output_tokens": 263, "total_tokens": 1450, "cache_read_input_tokens": 0, "cache_creation_input_tokens": 0} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_basic", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 1187, "output_tokens": 263, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-dfe8c57e796ce6d09f0d26c7cae7163c" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-dfe8c57e796ce6d09f0d26c7cae7163c" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject mlflow --scenario anthropic/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (4)
Messages.create mlflow.tracing.provider, status ERROR
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 40 |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-4efa06866bb7560ff0fa6b85de4ef740" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-4efa06866bb7560ff0fa6b85de4ef740" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status ERROR
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/retry-429 · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject mlflow --scenario anthropic/retry-429- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 2477, "output_tokens": 367, "total_tokens": 2844, "cache_read_input_tokens": 0, "cache_creation_input_tokens": 0} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_retry", "container": null, "content": [{"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 2477, "output_tokens": 367, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-2a03a826165d39761df65228aede09fc" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-2a03a826165d39761df65228aede09fc" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_retry |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream- Rule
- The name of the model that generated the response.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7876af1b9790>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-6137d397f6cd7fdf9aba720524df4cb7" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-6137d397f6cd7fdf9aba720524df4cb7" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream · response_id #
expected msg_wt_stream, reported nothing
- Expected
msg_wt_stream- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream- Rule
- The unique identifier of the completion.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7876af1b9790>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-6137d397f6cd7fdf9aba720524df4cb7" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-6137d397f6cd7fdf9aba720524df4cb7" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7876af1b9790>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-6137d397f6cd7fdf9aba720524df4cb7" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-6137d397f6cd7fdf9aba720524df4cb7" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream · input_tokensVanishing tokens #
expected 2311, reported nothing
- Expected
2311- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7876af1b9790>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-6137d397f6cd7fdf9aba720524df4cb7" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-6137d397f6cd7fdf9aba720524df4cb7" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream · output_tokensVanishing tokens #
expected 419, reported nothing
- Expected
419- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7876af1b9790>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-6137d397f6cd7fdf9aba720524df4cb7" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-6137d397f6cd7fdf9aba720524df4cb7" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-1h · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Cost
- $0.0175 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-1h- Rule
- The name of the model that generated the response.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7b98c0d3db20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-1h · response_id #
expected msg_wt_scache1h, reported nothing
- Expected
msg_wt_scache1h- Cost
- $0.0175 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-1h- Rule
- The unique identifier of the completion.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7b98c0d3db20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-1h · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.0175 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-1h- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7b98c0d3db20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-1h · input_tokensVanishing tokens #
expected 7160, reported nothing
- Expected
7160- Cost
- $0.0175 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-1h- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7b98c0d3db20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-1h · output_tokensVanishing tokens #
expected 523, reported nothing
- Expected
523- Cost
- $0.0175 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-1h- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7b98c0d3db20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-1h · cache_read_tokensCache-blind tokens #
expected 3217, reported nothing
- Expected
3217- Cost
- $0.0175 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-1h- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7b98c0d3db20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-1h · cache_write_tokensCache-blind tokens #
expected 2492, reported nothing
- Expected
2492- Cost
- $0.0175 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-1h- Rule
- Input tokens written to the provider cache.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7b98c0d3db20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-45777f082a4acd971da266f62a504659" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-cumulative · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Cost
- $0.00961 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-cumulative- Rule
- The name of the model that generated the response.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x78be5de5c4d0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-cumulative · response_id #
expected msg_wt_cumul, reported nothing
- Expected
msg_wt_cumul- Cost
- $0.00961 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-cumulative- Rule
- The unique identifier of the completion.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x78be5de5c4d0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-cumulative · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.00961 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-cumulative- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x78be5de5c4d0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-cumulative · input_tokensVanishing tokens #
expected 5673, reported nothing
- Expected
5673- Cost
- $0.00961 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-cumulative- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x78be5de5c4d0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-cumulative · output_tokensVanishing tokens #
expected 467, reported nothing
- Expected
467- Cost
- $0.00961 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-cumulative- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x78be5de5c4d0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-cumulative · cache_read_tokensCache-blind tokens #
expected 3583, reported nothing
- Expected
3583- Cost
- $0.00961 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-cumulative- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x78be5de5c4d0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-cumulative · cache_write_tokensCache-blind tokens #
expected 811, reported nothing
- Expected
811- Cost
- $0.00961 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-cumulative- Rule
- Input tokens written to the provider cache.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x78be5de5c4d0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e9f7eaf67a8cdf159dbc60214c24471d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-hit · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Cost
- $0.0107 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x738e9b1b1b20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-hit · response_id #
expected msg_wt_scache, reported nothing
- Expected
msg_wt_scache- Cost
- $0.0107 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-hit- Rule
- The unique identifier of the completion.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x738e9b1b1b20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-hit · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.0107 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x738e9b1b1b20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-hit · input_tokensVanishing tokens #
expected 8424, reported nothing
- Expected
8424- Cost
- $0.0107 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-hit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x738e9b1b1b20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-hit · output_tokensVanishing tokens #
expected 511, reported nothing
- Expected
511- Cost
- $0.0107 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-hit- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x738e9b1b1b20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-hit · cache_read_tokensCache-blind tokens #
expected 6144, reported nothing
- Expected
6144- Cost
- $0.0107 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-hit- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x738e9b1b1b20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-cache-hit · cache_write_tokensCache-blind tokens #
expected 737, reported nothing
- Expected
737- Cost
- $0.0107 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-cache-hit- Rule
- Input tokens written to the provider cache.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x738e9b1b1b20>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-50d15d8fbf7aafc8f2850d137f79c98d" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-off · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-off- Rule
- The name of the model that generated the response.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x770d988a4e60>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-d593da5d0c6ef63c50fd453bc22732b0" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-d593da5d0c6ef63c50fd453bc22732b0" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-off · response_id #
expected msg_wt_stream, reported nothing
- Expected
msg_wt_stream- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-off- Rule
- The unique identifier of the completion.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x770d988a4e60>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-d593da5d0c6ef63c50fd453bc22732b0" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-d593da5d0c6ef63c50fd453bc22732b0" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-off · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x770d988a4e60>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-d593da5d0c6ef63c50fd453bc22732b0" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-d593da5d0c6ef63c50fd453bc22732b0" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-off · input_tokensVanishing tokens #
expected 2311, reported nothing
- Expected
2311- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-off- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x770d988a4e60>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-d593da5d0c6ef63c50fd453bc22732b0" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-d593da5d0c6ef63c50fd453bc22732b0" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-off · output_tokensVanishing tokens #
expected 419, reported nothing
- Expected
419- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-off- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x770d988a4e60>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-d593da5d0c6ef63c50fd453bc22732b0" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-d593da5d0c6ef63c50fd453bc22732b0" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-on · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-on- Rule
- The name of the model that generated the response.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x70df45dd9f70>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-on · response_id #
expected msg_wt_stream, reported nothing
- Expected
msg_wt_stream- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-on- Rule
- The unique identifier of the completion.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x70df45dd9f70>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-on · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x70df45dd9f70>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-on · input_tokensVanishing tokens #
expected 2311, reported nothing
- Expected
2311- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-on- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x70df45dd9f70>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-on · output_tokensVanishing tokens #
expected 419, reported nothing
- Expected
419- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-on- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x70df45dd9f70>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-content-on · content.output_matches #
expected The capital of France is Paris., reported nothing: no completion text with content on: none, always on: autolog has no content option
- Expected
The capital of France is Paris.- Note
no completion text with content on: none, always on: autolog has no content option- Cost
- $0.00881 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-content-on- Rule
- Opt-In content SHOULD be populated if the user configures the instrumentation to do so, so with the library's content switch on, the completion text is recorded, and it equals the text the application read. Instrumentations MAY give users a way to filter or truncate output messages; no scenario sets such an option, so the text is compared whole. `gen_ai.output.messages` and the other conventions' output names are read.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x70df45dd9f70>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-13300a10266fb67642fb0b897c5d9502" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · anthropic/stream-dropped · error.statusFalse OK #
expected ERROR, reported OK
- Expected
ERROR- Reported
['OK']- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-dropped- Rule
- Span status SHOULD follow Recording Errors: an operation that ended in an error sets the status to Error.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x741e30c45070>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-ef91bfd90eac732f13a5113f44a3be05" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-ef91bfd90eac732f13a5113f44a3be05" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x741e30c45070>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-ef91bfd90eac732f13a5113f44a3be05" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-ef91bfd90eac732f13a5113f44a3be05" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-early-exit · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7405ab417e00>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-5943a81bcf0a5fa4644073138695a40b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-5943a81bcf0a5fa4644073138695a40b" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-early-exit · response_id #
expected msg_wt_early, reported nothing
- Expected
msg_wt_early- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7405ab417e00>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-5943a81bcf0a5fa4644073138695a40b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-5943a81bcf0a5fa4644073138695a40b" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-early-exit · input_tokensVanishing tokens #
expected 1913, reported nothing
- Expected
1913- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-early-exit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7405ab417e00>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-5943a81bcf0a5fa4644073138695a40b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-5943a81bcf0a5fa4644073138695a40b" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-early-exit-with · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-early-exit-with- Rule
- The name of the model that generated the response.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x75c3201104a0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-8c68758a231663fe7125187961aafeaa" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-8c68758a231663fe7125187961aafeaa" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-early-exit-with · response_id #
expected msg_wt_early, reported nothing
- Expected
msg_wt_early- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-early-exit-with- Rule
- The unique identifier of the completion.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x75c3201104a0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-8c68758a231663fe7125187961aafeaa" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-8c68758a231663fe7125187961aafeaa" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-early-exit-with · input_tokensVanishing tokens #
expected 1913, reported nothing
- Expected
1913- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-early-exit-with- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x75c3201104a0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-8c68758a231663fe7125187961aafeaa" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-8c68758a231663fe7125187961aafeaa" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · anthropic/stream-error-event · error.statusFalse OK #
expected ERROR, reported OK
- Expected
ERROR- Reported
['OK']- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-error-event- Rule
- Span status SHOULD follow Recording Errors: an operation that ended in an error sets the status to Error.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7253abc20ef0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-57d11e9fe3115fc7a6d9d0855fbb4f3f" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-57d11e9fe3115fc7a6d9d0855fbb4f3f" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-error-event · error.typeFalse OK #
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-error-event- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7253abc20ef0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-57d11e9fe3115fc7a6d9d0855fbb4f3f" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-57d11e9fe3115fc7a6d9d0855fbb4f3f" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-thinking · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Cost
- $0.0181 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-thinking- Rule
- The name of the model that generated the response.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7903eb7f5070>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-thinking · response_id #
expected msg_wt_sthink, reported nothing
- Expected
msg_wt_sthink- Cost
- $0.0181 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-thinking- Rule
- The unique identifier of the completion.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7903eb7f5070>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-thinking · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Cost
- $0.0181 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7903eb7f5070>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-thinking · input_tokensVanishing tokens #
expected 1831, reported nothing
- Expected
1831- Cost
- $0.0181 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-thinking- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7903eb7f5070>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-thinking · output_tokensVanishing tokens #
expected 1439, reported nothing
- Expected
1439- Cost
- $0.0181 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-thinking- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7903eb7f5070>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-thinking · reasoning_tokensHidden reasoning #
expected 1103, reported nothing
- Expected
1103- Cost
- $0.0181 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7903eb7f5070>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-b1c84a6a06920faf4b214f6f84f8d1f2" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-tool-call · response_model #
expected claude-sonnet-5-5-20260915, reported nothing
- Expected
claude-sonnet-5-5-20260915- Cost
- $0.00521 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-tool-call- Rule
- The name of the model that generated the response.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true, "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7f40de589ac0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-3f55fd4d2562149f7adb93f7ecf2139c" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-3f55fd4d2562149f7adb93f7ecf2139c" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-tool-call · response_id #
expected msg_wt_stools, reported nothing
- Expected
msg_wt_stools- Cost
- $0.00521 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-tool-call- Rule
- The unique identifier of the completion.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true, "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7f40de589ac0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-3f55fd4d2562149f7adb93f7ecf2139c" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-3f55fd4d2562149f7adb93f7ecf2139c" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-tool-call · finish_reasonsSilent stop #
expected tool_use, reported nothing
- Expected
['tool_use']- Cost
- $0.00521 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true, "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7f40de589ac0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-3f55fd4d2562149f7adb93f7ecf2139c" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-3f55fd4d2562149f7adb93f7ecf2139c" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-tool-call · input_tokensVanishing tokens #
expected 1619, reported nothing
- Expected
1619- Cost
- $0.00521 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-tool-call- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true, "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7f40de589ac0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-3f55fd4d2562149f7adb93f7ecf2139c" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-3f55fd4d2562149f7adb93f7ecf2139c" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/stream-tool-call · output_tokensVanishing tokens #
expected 197, reported nothing
- Expected
197- Cost
- $0.00521 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario anthropic/stream-tool-call- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "stream": true, "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<anthropic.Stream object at 0x7f40de589ac0>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-3f55fd4d2562149f7adb93f7ecf2139c" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-3f55fd4d2562149f7adb93f7ecf2139c" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.tool.definitions | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/thinking · finish_reasonsSilent stop #
expected end_turn, reported nothing
- Expected
['end_turn']- Reproduce
spantruth run --subject mlflow --scenario anthropic/thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1627, "output_tokens": 1273, "total_tokens": 2900, "cache_read_input_tokens": 0, "cache_creation_input_tokens": 0} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_thinking", "container": null, "content": [{"signature": "dGVzdC1zaWduYXR1cmU=", "thinking": "Let me think about the capital of France. The capital of France is Paris.", "type": "thinking"}, {"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 1627, "output_tokens": 1273, "output_tokens_details": {"thinking_tokens": 947}, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-cc92514a18e7517e01852bb66e8f0189" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-cc92514a18e7517e01852bb66e8f0189" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "{\"signature\": \"dGVzdC1zaWduYXR1cmU=\", \"thinking\": \"Let me think about the capital of France. The capital of France is Paris.\", \"type\": \"thinking\"}"}, {"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/thinking · reasoning_tokensHidden reasoning #
expected 947, reported nothing
- Expected
947- Reproduce
spantruth run --subject mlflow --scenario anthropic/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1627, "output_tokens": 1273, "total_tokens": 2900, "cache_read_input_tokens": 0, "cache_creation_input_tokens": 0} |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_thinking", "container": null, "content": [{"signature": "dGVzdC1zaWduYXR1cmU=", "thinking": "Let me think about the capital of France. The capital of France is Paris.", "type": "thinking"}, {"citations": null, "text": "The capital of France is Paris.", "type": "text"}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "end_turn", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 1627, "output_tokens": 1273, "output_tokens_details": {"thinking_tokens": 947}, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-cc92514a18e7517e01852bb66e8f0189" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-cc92514a18e7517e01852bb66e8f0189" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "{\"signature\": \"dGVzdC1zaWduYXR1cmU=\", \"thinking\": \"Let me think about the capital of France. The capital of France is Paris.\", \"type\": \"thinking\"}"}, {"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · anthropic/tool-call · finish_reasonsSilent stop #
expected tool_use, reported nothing
- Expected
['tool_use']- Reproduce
spantruth run --subject mlflow --scenario anthropic/tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Messages.create mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 931, "output_tokens": 88, "total_tokens": 1019, "cache_read_input_tokens": 0, "cache_creation_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "description": null, "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "description": null, "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "claude-sonnet-5-5" |
mlflow.llm.provider | "anthropic" |
mlflow.message.format | "anthropic" |
mlflow.spanInputs | {"max_tokens": 1024, "messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "claude-sonnet-5-5", "tools": [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "msg_wt_tools", "container": null, "content": [{"id": "toolu_wt_1", "caller": null, "input": {"city": "Paris"}, "name": "get_weather", "type": "tool_use", "toolset_name": null}, {"id": "toolu_wt_2", "caller": null, "input": {"zone": "Europe/Paris"}, "name": "get_time", "type": "tool_use", "toolset_name": null}], "diagnostics": null, "model": "claude-sonnet-5-5-20260915", "role": "assistant", "stop_details": null, "stop_reason": "tool_use", "stop_sequence": null, "type": "message", "usage": {"cache_creation": null, "cache_creation_input_tokens": 0, "cache_read_input_tokens": 0, "inference_geo": null, "input_tokens": 931, "output_tokens": 88, "output_tokens_details": null, "server_tool_use": null, "service_tier": null, "speed": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-89c72c95cce9a42289f4f353352e1265" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-89c72c95cce9a42289f4f353352e1265" |
chat claude-sonnet-5-5 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "toolu_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_tools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · azure/async-basic · request_model #
expected wt-chat-deployment, reported gpt-5-mini-2026-08-07
- Expected
wt-chat-deployment- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario azure/async-basic- Rule
- The model name the request asked for.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1213, "output_tokens": 277, "total_tokens": 1490, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "wt-chat-deployment", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-azbasic", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}, "content_filter_results": {"hate": {"filtered": false, "severity": "safe"}, "self_harm": {"filtered": false, "severity": "safe"}, "sexual": {"filtered": false, "severity": "safe"}, "violence": {"filtered": false, "severity": "safe"}}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 277, "prompt_tokens": 1213, "total_tokens": 1490, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}, "prompt_filter_results": [{"prompt_index": 0, "content_filter_results": {"hate": {"filtered": false, "severity": "safe"}, "self_harm": {"filtered": false, "severity": "safe"}, "sexual": {"filtered": false, "severity": "safe"}, "violence": {"filtered": false, "severity": "safe"}}}]} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-dd88db450cad4af6e39a8fa6cbb71c29" |
model | "wt-chat-deployment" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-dd88db450cad4af6e39a8fa6cbb71c29" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-azbasic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
model | "wt-chat-deployment" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · azure/async-stream · request_model #
expected wt-chat-deployment, reported gpt-5-mini-2026-08-07
- Expected
wt-chat-deployment- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario azure/async-stream- Rule
- The model name the request asked for.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 2341, "output_tokens": 433, "total_tokens": 2774, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "wt-chat-deployment", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-azstream", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 433, "prompt_tokens": 2341, "total_tokens": 2774, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-04e0b55246c297fed07b5b6b1e273109" |
model | "wt-chat-deployment" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-04e0b55246c297fed07b5b6b1e273109" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-azstream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
model | "wt-chat-deployment" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · azure/basic · request_model #
expected wt-chat-deployment, reported gpt-5-mini-2026-08-07
- Expected
wt-chat-deployment- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario azure/basic- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1213, "output_tokens": 277, "total_tokens": 1490, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "wt-chat-deployment", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-azbasic", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}, "content_filter_results": {"hate": {"filtered": false, "severity": "safe"}, "self_harm": {"filtered": false, "severity": "safe"}, "sexual": {"filtered": false, "severity": "safe"}, "violence": {"filtered": false, "severity": "safe"}}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 277, "prompt_tokens": 1213, "total_tokens": 1490, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}, "prompt_filter_results": [{"prompt_index": 0, "content_filter_results": {"hate": {"filtered": false, "severity": "safe"}, "self_harm": {"filtered": false, "severity": "safe"}, "sexual": {"filtered": false, "severity": "safe"}, "violence": {"filtered": false, "severity": "safe"}}}]} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-3348436491e40dcb1087a1464c7aecfb" |
model | "wt-chat-deployment" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-3348436491e40dcb1087a1464c7aecfb" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-azbasic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
model | "wt-chat-deployment" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · azure/stream · request_model #
expected wt-chat-deployment, reported gpt-5-mini-2026-08-07
- Expected
wt-chat-deployment- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario azure/stream- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 2341, "output_tokens": 433, "total_tokens": 2774, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "wt-chat-deployment", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-azstream", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 433, "prompt_tokens": 2341, "total_tokens": 2774, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-eb4b13978b3813dfec1415b22d0c5ea7" |
model | "wt-chat-deployment" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-eb4b13978b3813dfec1415b22d0c5ea7" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-azstream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
model | "wt-chat-deployment" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/async-basic · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Cost
- $0.00104 on the wire, $0.00207 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/async-basic- Rule
- The name of the model that generated the response.
Exported spans (6)
AsyncModels._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:54:22 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
AsyncModels.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:54:22 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/async-basic · response_id #
expected wt-gemini-basic, reported nothing
- Expected
wt-gemini-basic- Cost
- $0.00104 on the wire, $0.00207 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/async-basic- Rule
- The unique identifier of the completion.
Exported spans (6)
AsyncModels._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:54:22 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
AsyncModels.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:54:22 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/async-basic · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Cost
- $0.00104 on the wire, $0.00207 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
AsyncModels._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:54:22 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
AsyncModels.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:54:22 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · gemini/async-basic · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: generate_content gemini-3.5-flash-lite, generate_content gemini-3.5-flash-lite
- Expected
1- Reported
2- Note
usage on 2 spans: generate_content gemini-3.5-flash-lite, generate_content gemini-3.5-flash-lite- Cost
- $0.00104 on the wire, $0.00207 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/async-basic- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (6)
AsyncModels._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:54:22 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
AsyncModels.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:54:22 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-753fbfcb750c458f94456078681ca3a2" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/async-stream · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- $0.00178 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/async-stream- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-7d860c6958abfe7f5be0ca8fc95b6343" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/async-stream-dropped · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/async-stream-dropped- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-44e37b61e87cfca2dbbfe42ff0e01807" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/async-stream-early-exit · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/async-stream-early-exit- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-d107b92d477605167200f638fda31676" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/basic · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Cost
- $0.00104 on the wire, $0.00207 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/basic- Rule
- The name of the model that generated the response.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:52:52 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:52:52 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/basic · response_id #
expected wt-gemini-basic, reported nothing
- Expected
wt-gemini-basic- Cost
- $0.00104 on the wire, $0.00207 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/basic- Rule
- The unique identifier of the completion.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:52:52 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:52:52 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/basic · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Cost
- $0.00104 on the wire, $0.00207 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:52:52 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:52:52 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · gemini/basic · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: generate_content gemini-3.5-flash-lite, generate_content gemini-3.5-flash-lite
- Expected
1- Reported
2- Note
usage on 2 spans: generate_content gemini-3.5-flash-lite, generate_content gemini-3.5-flash-lite- Cost
- $0.00104 on the wire, $0.00207 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/basic- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:52:52 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1193, "output_tokens": 271, "total_tokens": 1464} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:52:52 GMT", "content-type": "application/json", "content-length": "407", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-basic", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 271, "candidates_tokens_details": null, "prompt_token_count": 1193, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1193}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 1464, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-050053d4edcbd451e4c2134e3f7f70f1" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/cache-hit · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Cost
- $0.00148 on the wire, $0.00517 from the spans (+250%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/cache-hit- Rule
- The name of the model that generated the response.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5417, "output_tokens": 383, "total_tokens": 5800, "cache_read_input_tokens": 4099} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:33 GMT", "content-type": "application/json", "content-length": "506", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-cache", "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 4099}], "cached_content_token_count": 4099, "candidates_token_count": 383, "candidates_tokens_details": null, "prompt_token_count": 5417, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 5417}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 5800, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5417, "output_tokens": 383, "total_tokens": 5800, "cache_read_input_tokens": 4099} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:33 GMT", "content-type": "application/json", "content-length": "506", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-cache", "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 4099}], "cached_content_token_count": 4099, "candidates_token_count": 383, "candidates_tokens_details": null, "prompt_token_count": 5417, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 5417}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 5800, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/cache-hit · response_id #
expected wt-gemini-cache, reported nothing
- Expected
wt-gemini-cache- Cost
- $0.00148 on the wire, $0.00517 from the spans (+250%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/cache-hit- Rule
- The unique identifier of the completion.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5417, "output_tokens": 383, "total_tokens": 5800, "cache_read_input_tokens": 4099} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:33 GMT", "content-type": "application/json", "content-length": "506", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-cache", "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 4099}], "cached_content_token_count": 4099, "candidates_token_count": 383, "candidates_tokens_details": null, "prompt_token_count": 5417, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 5417}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 5800, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5417, "output_tokens": 383, "total_tokens": 5800, "cache_read_input_tokens": 4099} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:33 GMT", "content-type": "application/json", "content-length": "506", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-cache", "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 4099}], "cached_content_token_count": 4099, "candidates_token_count": 383, "candidates_tokens_details": null, "prompt_token_count": 5417, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 5417}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 5800, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/cache-hit · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Cost
- $0.00148 on the wire, $0.00517 from the spans (+250%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5417, "output_tokens": 383, "total_tokens": 5800, "cache_read_input_tokens": 4099} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:33 GMT", "content-type": "application/json", "content-length": "506", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-cache", "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 4099}], "cached_content_token_count": 4099, "candidates_token_count": 383, "candidates_tokens_details": null, "prompt_token_count": 5417, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 5417}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 5800, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5417, "output_tokens": 383, "total_tokens": 5800, "cache_read_input_tokens": 4099} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:33 GMT", "content-type": "application/json", "content-length": "506", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-cache", "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 4099}], "cached_content_token_count": 4099, "candidates_token_count": 383, "candidates_tokens_details": null, "prompt_token_count": 5417, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 5417}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 5800, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/cache-hit · cache_read_tokensCache-blind tokens #
expected 4099, reported nothing
- Expected
4099- Cost
- $0.00148 on the wire, $0.00517 from the spans (+250%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/cache-hit- Rule
- Input tokens read from the provider cache.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5417, "output_tokens": 383, "total_tokens": 5800, "cache_read_input_tokens": 4099} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:33 GMT", "content-type": "application/json", "content-length": "506", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-cache", "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 4099}], "cached_content_token_count": 4099, "candidates_token_count": 383, "candidates_tokens_details": null, "prompt_token_count": 5417, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 5417}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 5800, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5417, "output_tokens": 383, "total_tokens": 5800, "cache_read_input_tokens": 4099} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:33 GMT", "content-type": "application/json", "content-length": "506", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-cache", "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 4099}], "cached_content_token_count": 4099, "candidates_token_count": 383, "candidates_tokens_details": null, "prompt_token_count": 5417, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 5417}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 5800, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · gemini/cache-hit · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: generate_content gemini-3.5-flash-lite, generate_content gemini-3.5-flash-lite
- Expected
1- Reported
2- Note
usage on 2 spans: generate_content gemini-3.5-flash-lite, generate_content gemini-3.5-flash-lite- Cost
- $0.00148 on the wire, $0.00517 from the spans (+250%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/cache-hit- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5417, "output_tokens": 383, "total_tokens": 5800, "cache_read_input_tokens": 4099} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:33 GMT", "content-type": "application/json", "content-length": "506", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-cache", "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 4099}], "cached_content_token_count": 4099, "candidates_token_count": 383, "candidates_tokens_details": null, "prompt_token_count": 5417, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 5417}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 5800, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5417, "output_tokens": 383, "total_tokens": 5800, "cache_read_input_tokens": 4099} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:33 GMT", "content-type": "application/json", "content-length": "506", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-cache", "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 4099}], "cached_content_token_count": 4099, "candidates_token_count": 383, "candidates_tokens_details": null, "prompt_token_count": 5417, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 5417}], "thoughts_token_count": null, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 5800, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-bbb58ee53c41d52b140bf5635e8a7f87" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject mlflow --scenario gemini/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status ERROR
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 40 |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-9640457879238a6b8a88cad285da9eea" |
Models.generate_content mlflow.tracing.provider, status ERROR
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 40 |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-9640457879238a6b8a88cad285da9eea" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-9640457879238a6b8a88cad285da9eea" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status ERROR
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status ERROR
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/stream · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- $0.00178 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/stream- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-665a05bc81b9cd8189460364044a7bb7" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/stream-cache-hit · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- $0.00182 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/stream-cache-hit- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-83f41abe3e25dbc12b103bde6c243016" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/stream-dropped · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/stream-dropped- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-225af9fc4fe2106e97bb600806f11b56" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/stream-early-exit · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/stream-early-exit- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-103f45f9292b35734306c7bdf9c709fa" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/stream-thinking · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Cost
- $0.00641 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/stream-thinking- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (2)
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-c2cb45b93393c7008787007ae4132b42" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/thinking · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Cost
- $0.00578 on the wire, $0.0116 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/thinking- Rule
- The name of the model that generated the response.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1609, "output_tokens": 2118, "total_tokens": 3727} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:16 GMT", "content-type": "application/json", "content-length": "435", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-think", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 241, "candidates_tokens_details": null, "prompt_token_count": 1609, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1609}], "thoughts_token_count": 1877, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 3727, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1609, "output_tokens": 2118, "total_tokens": 3727} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:16 GMT", "content-type": "application/json", "content-length": "435", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-think", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 241, "candidates_tokens_details": null, "prompt_token_count": 1609, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1609}], "thoughts_token_count": 1877, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 3727, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/thinking · response_id #
expected wt-gemini-think, reported nothing
- Expected
wt-gemini-think- Cost
- $0.00578 on the wire, $0.0116 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/thinking- Rule
- The unique identifier of the completion.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1609, "output_tokens": 2118, "total_tokens": 3727} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:16 GMT", "content-type": "application/json", "content-length": "435", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-think", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 241, "candidates_tokens_details": null, "prompt_token_count": 1609, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1609}], "thoughts_token_count": 1877, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 3727, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1609, "output_tokens": 2118, "total_tokens": 3727} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:16 GMT", "content-type": "application/json", "content-length": "435", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-think", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 241, "candidates_tokens_details": null, "prompt_token_count": 1609, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1609}], "thoughts_token_count": 1877, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 3727, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/thinking · finish_reasonsSilent stop #
expected STOP, reported nothing
- Expected
['STOP']- Cost
- $0.00578 on the wire, $0.0116 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1609, "output_tokens": 2118, "total_tokens": 3727} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:16 GMT", "content-type": "application/json", "content-length": "435", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-think", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 241, "candidates_tokens_details": null, "prompt_token_count": 1609, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1609}], "thoughts_token_count": 1877, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 3727, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1609, "output_tokens": 2118, "total_tokens": 3727} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:16 GMT", "content-type": "application/json", "content-length": "435", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-think", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 241, "candidates_tokens_details": null, "prompt_token_count": 1609, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1609}], "thoughts_token_count": 1877, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 3727, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · gemini/thinking · reasoning_tokensHidden reasoning #
expected 1877, reported nothing
- Expected
1877- Cost
- $0.00578 on the wire, $0.0116 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1609, "output_tokens": 2118, "total_tokens": 3727} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:16 GMT", "content-type": "application/json", "content-length": "435", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-think", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 241, "candidates_tokens_details": null, "prompt_token_count": 1609, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1609}], "thoughts_token_count": 1877, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 3727, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1609, "output_tokens": 2118, "total_tokens": 3727} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:16 GMT", "content-type": "application/json", "content-length": "435", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-think", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 241, "candidates_tokens_details": null, "prompt_token_count": 1609, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1609}], "thoughts_token_count": 1877, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 3727, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · gemini/thinking · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: generate_content gemini-3.5-flash-lite, generate_content gemini-3.5-flash-lite
- Expected
1- Reported
2- Note
usage on 2 spans: generate_content gemini-3.5-flash-lite, generate_content gemini-3.5-flash-lite- Cost
- $0.00578 on the wire, $0.0116 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario gemini/thinking- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (6)
Models._generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1609, "output_tokens": 2118, "total_tokens": 3727} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?", "config": null} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:16 GMT", "content-type": "application/json", "content-length": "435", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-think", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 241, "candidates_tokens_details": null, "prompt_token_count": 1609, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1609}], "thoughts_token_count": 1877, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 3727, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": null, "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
Models.generate_content mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1609, "output_tokens": 2118, "total_tokens": 3727} |
mlflow.llm.model | "gemini-3.5-flash-lite" |
mlflow.llm.provider | "gemini" |
mlflow.message.format | "gemini" |
mlflow.spanInputs | {"model": "gemini-3.5-flash-lite", "contents": "What is the capital of France?"} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:53:16 GMT", "content-type": "application/json", "content-length": "435", "x-request-id": "req_spantruth"}, "body": null}, "candidates": [{"content": {"parts": [{"media_resolution": null, "code_execution_result": null, "executable_code": null, "file_data": null, "function_call": null, "function_response": null, "inline_data": null, "text": "The capital of France is Paris.", "thought": null, "thought_signature": null, "video_metadata": null, "tool_call": null, "tool_response": null, "part_metadata": null, "audio_transcription": null, "media_processing": null, "speech_metadata": null, "document_metadata": null, "spreadsheet_metadata": null, "audio_metadata": null}], "role": "model"}, "citation_metadata": null, "finish_message": null, "token_count": null, "finish_reason": "STOP", "grounding_metadata": null, "avg_logprobs": null, "index": 0, "logprobs_result": null, "safety_ratings": null, "url_context_metadata": null, "continuation_token": null}], "create_time": null, "model_version": "gemini-3.5-flash-lite", "prompt_feedback": null, "response_id": "wt-gemini-think", "usage_metadata": {"cache_tokens_details": null, "cached_content_token_count": null, "candidates_token_count": 241, "candidates_tokens_details": null, "prompt_token_count": 1609, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1609}], "thoughts_token_count": 1877, "tool_use_prompt_token_count": null, "tool_use_prompt_tokens_details": null, "total_token_count": 3727, "traffic_type": null}, "model_status": null, "automatic_function_calling_history": [], "parsed": null} |
mlflow.spanType | "LLM" |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-74be976dd5ff7fbd2a669ae74ce59f98" |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
generate_content gemini-3.5-flash-lite mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}]}] |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 2118 |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/agent-loop · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07: call 1 of 3; failed on calls 1, 2, 3
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject mlflow --scenario openai/agent-loop- Rule
- The model name the request asked for.
Exported spans (8)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1171, "output_tokens": 97, "total_tokens": 1268, "cache_read_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "tools": [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-loop1", "choices": [{"finish_reason": "tool_calls", "index": 0, "logprobs": null, "message": {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_w", "function": {"arguments": "{\"city\":\"Paris\"}", "name": "get_weather"}, "type": "function"}]}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 97, "prompt_tokens": 1171, "total_tokens": 1268, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-4c39dbead7ada0784f7c75870d648e25" |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1307, "output_tokens": 89, "total_tokens": 1396, "cache_read_input_tokens": 1093} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}, {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_w", "function": {"arguments": "{\"city\":\"Paris\"}", "name": "get_weather"}, "type": "function"}]}, {"role": "tool", "tool_call_id": "call_wt_w", "content": "18 C and sunny"}], "tools": [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-loop2", "choices": [{"finish_reason": "tool_calls", "index": 0, "logprobs": null, "message": {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_t", "function": {"arguments": "{\"zone\":\"Europe/Paris\"}", "name": "get_time"}, "type": "function"}]}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 89, "prompt_tokens": 1307, "total_tokens": 1396, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 1093, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-4c39dbead7ada0784f7c75870d648e25" |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1459, "output_tokens": 211, "total_tokens": 1670, "cache_read_input_tokens": 1279} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}, {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_w", "function": {"arguments": "{\"city\":\"Paris\"}", "name": "get_weather"}, "type": "function"}]}, {"role": "tool", "tool_call_id": "call_wt_w", "content": "18 C and sunny"}, {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_t", "function": {"arguments": "{\"zone\":\"Europe/Paris\"}", "name": "get_time"}, "type": "function"}]}, {"role": "tool", "tool_call_id": "call_wt_t", "content": "14:05"}], "tools": [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-loop3", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "It is 18 C and sunny in Paris, and the time is 14:05.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 211, "prompt_tokens": 1459, "total_tokens": 1670, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 1279, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-4c39dbead7ada0784f7c75870d648e25" |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-4c39dbead7ada0784f7c75870d648e25" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}], "finish_reason": "tool_calls"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['tool_calls'] |
gen_ai.response.id | chatcmpl-wt-loop1 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "call_wt_w", "response": "18 C and sunny"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_t", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": "tool_calls"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['tool_calls'] |
gen_ai.response.id | chatcmpl-wt-loop2 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "call_wt_w", "response": "18 C and sunny"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_t", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "call_wt_t", "response": "14:05"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "It is 18 C and sunny in Paris, and the time is 14:05."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-loop3 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/agent-loop · cache_read_tokensCache-blind tokens #
expected 1093, reported nothing: call 2 of 3; failed on calls 2, 3
- Expected
1093- Note
call 2 of 3; failed on calls 2, 3- Reproduce
spantruth run --subject mlflow --scenario openai/agent-loop- Rule
- Input tokens read from the provider cache.
Exported spans (8)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1171, "output_tokens": 97, "total_tokens": 1268, "cache_read_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "tools": [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-loop1", "choices": [{"finish_reason": "tool_calls", "index": 0, "logprobs": null, "message": {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_w", "function": {"arguments": "{\"city\":\"Paris\"}", "name": "get_weather"}, "type": "function"}]}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 97, "prompt_tokens": 1171, "total_tokens": 1268, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-4c39dbead7ada0784f7c75870d648e25" |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1307, "output_tokens": 89, "total_tokens": 1396, "cache_read_input_tokens": 1093} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}, {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_w", "function": {"arguments": "{\"city\":\"Paris\"}", "name": "get_weather"}, "type": "function"}]}, {"role": "tool", "tool_call_id": "call_wt_w", "content": "18 C and sunny"}], "tools": [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-loop2", "choices": [{"finish_reason": "tool_calls", "index": 0, "logprobs": null, "message": {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_t", "function": {"arguments": "{\"zone\":\"Europe/Paris\"}", "name": "get_time"}, "type": "function"}]}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 89, "prompt_tokens": 1307, "total_tokens": 1396, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 1093, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-4c39dbead7ada0784f7c75870d648e25" |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1459, "output_tokens": 211, "total_tokens": 1670, "cache_read_input_tokens": 1279} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}, {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_w", "function": {"arguments": "{\"city\":\"Paris\"}", "name": "get_weather"}, "type": "function"}]}, {"role": "tool", "tool_call_id": "call_wt_w", "content": "18 C and sunny"}, {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_t", "function": {"arguments": "{\"zone\":\"Europe/Paris\"}", "name": "get_time"}, "type": "function"}]}, {"role": "tool", "tool_call_id": "call_wt_t", "content": "14:05"}], "tools": [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-loop3", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "It is 18 C and sunny in Paris, and the time is 14:05.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 211, "prompt_tokens": 1459, "total_tokens": 1670, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 1279, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-4c39dbead7ada0784f7c75870d648e25" |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-4c39dbead7ada0784f7c75870d648e25" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}], "finish_reason": "tool_calls"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['tool_calls'] |
gen_ai.response.id | chatcmpl-wt-loop1 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "call_wt_w", "response": "18 C and sunny"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_t", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": "tool_calls"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['tool_calls'] |
gen_ai.response.id | chatcmpl-wt-loop2 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "call_wt_w", "response": "18 C and sunny"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_t", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}]}, {"role": "tool", "parts": [{"type": "tool_call_response", "id": "call_wt_t", "response": "14:05"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "It is 18 C and sunny in Paris, and the time is 14:05."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-loop3 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/async-basic · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/async-basic- Rule
- The model name the request asked for.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1187, "output_tokens": 263, "total_tokens": 1450, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-basic", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 263, "prompt_tokens": 1187, "total_tokens": 1450, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-02f01ea20b7a5b572a353d62562714b2" |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-02f01ea20b7a5b572a353d62562714b2" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-basic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/async-concurrent-streams · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07: call 1 of 2
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Note
call 1 of 2- Reproduce
spantruth run --subject mlflow --scenario openai/async-concurrent-streams- Rule
- The model name the request asked for.
Exported spans (6)
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1033, "output_tokens": 149, "total_tokens": 1182, "cache_read_input_tokens": 769} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-par1", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 149, "prompt_tokens": 1033, "total_tokens": 1182, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 769, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-9644ae077185c30fb5695400f328961c" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1747, "output_tokens": 181, "total_tokens": 1928, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-nano-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-nano", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-par2", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-nano-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 181, "prompt_tokens": 1747, "total_tokens": 1928, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-9644ae077185c30fb5695400f328961c" |
model | "gpt-5-nano" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-9644ae077185c30fb5695400f328961c" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-par1 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
chat gpt-5-nano-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-nano-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-par2 |
gen_ai.response.model | gpt-5-nano-2026-08-07 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
model | "gpt-5-nano" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/async-concurrent-streams · cache_read_tokensCache-blind tokens #
expected 769, reported nothing: call 1 of 2
- Expected
769- Note
call 1 of 2- Reproduce
spantruth run --subject mlflow --scenario openai/async-concurrent-streams- Rule
- Input tokens read from the provider cache.
Exported spans (6)
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1033, "output_tokens": 149, "total_tokens": 1182, "cache_read_input_tokens": 769} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-par1", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 149, "prompt_tokens": 1033, "total_tokens": 1182, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 769, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-9644ae077185c30fb5695400f328961c" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1747, "output_tokens": 181, "total_tokens": 1928, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-nano-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-nano", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-par2", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-nano-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 181, "prompt_tokens": 1747, "total_tokens": 1928, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-9644ae077185c30fb5695400f328961c" |
model | "gpt-5-nano" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-9644ae077185c30fb5695400f328961c" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-par1 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
chat gpt-5-nano-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-nano-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-par2 |
gen_ai.response.model | gpt-5-nano-2026-08-07 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
model | "gpt-5-nano" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
inconclusive mlflow · openai/async-concurrent-streams · span.recordedGhost span #
call 2 of 2: 1 LLM span(s) record no request model of any call, and the calls ran at the same time, so those spans are not graded
- Note
call 2 of 2: 1 LLM span(s) record no request model of any call, and the calls ran at the same time, so those spans are not graded- Reproduce
spantruth run --subject mlflow --scenario openai/async-concurrent-streams- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (6)
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1033, "output_tokens": 149, "total_tokens": 1182, "cache_read_input_tokens": 769} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-par1", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 149, "prompt_tokens": 1033, "total_tokens": 1182, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 769, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-9644ae077185c30fb5695400f328961c" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1747, "output_tokens": 181, "total_tokens": 1928, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-nano-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-nano", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-par2", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-nano-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 181, "prompt_tokens": 1747, "total_tokens": 1928, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-9644ae077185c30fb5695400f328961c" |
model | "gpt-5-nano" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-9644ae077185c30fb5695400f328961c" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-par1 |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
chat gpt-5-nano-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-nano-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-par2 |
gen_ai.response.model | gpt-5-nano-2026-08-07 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
model | "gpt-5-nano" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/async-stream · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/async-stream- Rule
- The model name the request asked for.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 2311, "output_tokens": 419, "total_tokens": 2730, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-stream", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 419, "prompt_tokens": 2311, "total_tokens": 2730, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-956d43f68b50fbe5fa6dd06e6c49e904" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-956d43f68b50fbe5fa6dd06e6c49e904" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/async-stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject mlflow --scenario openai/async-stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status ERROR
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 40 |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-7d3f7dc2c18e596b5e03739e512e7eaf" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-7d3f7dc2c18e596b5e03739e512e7eaf" |
chat mlflow.tracing.provider, status ERROR
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/async-stream-early-exit · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/async-stream-early-exit- Rule
- The model name the request asked for.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status OK
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-early", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": null} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-c17c99233987dd6d911221937f1515de" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-c17c99233987dd6d911221937f1515de" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital"}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-early |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/async-stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/async-stream-helper- Rule
- The name of the model that generated the response.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
mlflow.llm.model | "gpt-5-mini" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}, "extra_headers": {"X-Stainless-Raw-Response": "stream"}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<AsyncAPIResponse [200 OK] type=<class 'openai.types.chat.chat_completion.ChatCompletion'>>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-1dc6a4ae575bf107e4c5b8e03cd242ae" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-1dc6a4ae575bf107e4c5b8e03cd242ae" |
chat gpt-5-mini mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/async-stream-helper · response_id #
expected chatcmpl-wt-shelper, reported nothing
- Expected
chatcmpl-wt-shelper- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/async-stream-helper- Rule
- The unique identifier of the completion.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
mlflow.llm.model | "gpt-5-mini" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}, "extra_headers": {"X-Stainless-Raw-Response": "stream"}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<AsyncAPIResponse [200 OK] type=<class 'openai.types.chat.chat_completion.ChatCompletion'>>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-1dc6a4ae575bf107e4c5b8e03cd242ae" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-1dc6a4ae575bf107e4c5b8e03cd242ae" |
chat gpt-5-mini mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/async-stream-helper · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/async-stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
mlflow.llm.model | "gpt-5-mini" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}, "extra_headers": {"X-Stainless-Raw-Response": "stream"}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<AsyncAPIResponse [200 OK] type=<class 'openai.types.chat.chat_completion.ChatCompletion'>>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-1dc6a4ae575bf107e4c5b8e03cd242ae" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-1dc6a4ae575bf107e4c5b8e03cd242ae" |
chat gpt-5-mini mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/async-stream-helper · input_tokensVanishing tokens #
expected 2137, reported nothing
- Expected
2137- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/async-stream-helper- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
mlflow.llm.model | "gpt-5-mini" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}, "extra_headers": {"X-Stainless-Raw-Response": "stream"}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<AsyncAPIResponse [200 OK] type=<class 'openai.types.chat.chat_completion.ChatCompletion'>>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-1dc6a4ae575bf107e4c5b8e03cd242ae" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-1dc6a4ae575bf107e4c5b8e03cd242ae" |
chat gpt-5-mini mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/async-stream-helper · output_tokensVanishing tokens #
expected 313, reported nothing
- Expected
313- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/async-stream-helper- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
AsyncCompletions mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
mlflow.llm.model | "gpt-5-mini" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}, "extra_headers": {"X-Stainless-Raw-Response": "stream"}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<AsyncAPIResponse [200 OK] type=<class 'openai.types.chat.chat_completion.ChatCompletion'>>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-1dc6a4ae575bf107e4c5b8e03cd242ae" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-1dc6a4ae575bf107e4c5b8e03cd242ae" |
chat gpt-5-mini mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/basic · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/basic- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1187, "output_tokens": 263, "total_tokens": 1450, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-basic", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 263, "prompt_tokens": 1187, "total_tokens": 1450, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-35b445f335abf0cd42585928a0de9870" |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-35b445f335abf0cd42585928a0de9870" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-basic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/cache-hit · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Cost
- $0.00118 on the wire, $0.0021 from the spans (+78.3%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/cache-hit- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5379, "output_tokens": 377, "total_tokens": 5756, "cache_read_input_tokens": 4096} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-cache", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 377, "prompt_tokens": 5379, "total_tokens": 5756, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 4096, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-444ca24bf226048b1199bb20633974e9" |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-444ca24bf226048b1199bb20633974e9" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-cache |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 5379 |
gen_ai.usage.output_tokens | 377 |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/cache-hit · cache_read_tokensCache-blind tokens #
expected 4096, reported nothing
- Expected
4096- Cost
- $0.00118 on the wire, $0.0021 from the spans (+78.3%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/cache-hit- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 5379, "output_tokens": 377, "total_tokens": 5756, "cache_read_input_tokens": 4096} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-cache", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 377, "prompt_tokens": 5379, "total_tokens": 5756, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 4096, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-444ca24bf226048b1199bb20633974e9" |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-444ca24bf226048b1199bb20633974e9" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-cache |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 5379 |
gen_ai.usage.output_tokens | 377 |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/cache-write · request_model #
expected gpt-5.6-luna, reported gpt-5.6-luna-2026-10-14
- Expected
gpt-5.6-luna- Reported
gpt-5.6-luna-2026-10-14- Read from
gen_ai.request.model- Cost
- $0.00147 on the wire, $0.00181 from the spans (+22.9%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/cache-write- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 6619, "output_tokens": 401, "total_tokens": 7020, "cache_read_input_tokens": 2753} |
mlflow.llm.model | "gpt-5.6-luna-2026-10-14" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5.6-luna", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-cwrite", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5.6-luna-2026-10-14", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 401, "prompt_tokens": 6619, "total_tokens": 7020, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 3181, "cached_tokens": 2753, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-5ad69e557783855907e3fa134b429f21" |
model | "gpt-5.6-luna" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-5ad69e557783855907e3fa134b429f21" |
chat gpt-5.6-luna-2026-10-14 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-cwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.output_tokens | 401 |
model | "gpt-5.6-luna" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/cache-write · cache_read_tokensCache-blind tokens #
expected 2753, reported nothing
- Expected
2753- Cost
- $0.00147 on the wire, $0.00181 from the spans (+22.9%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/cache-write- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 6619, "output_tokens": 401, "total_tokens": 7020, "cache_read_input_tokens": 2753} |
mlflow.llm.model | "gpt-5.6-luna-2026-10-14" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5.6-luna", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-cwrite", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5.6-luna-2026-10-14", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 401, "prompt_tokens": 6619, "total_tokens": 7020, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 3181, "cached_tokens": 2753, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-5ad69e557783855907e3fa134b429f21" |
model | "gpt-5.6-luna" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-5ad69e557783855907e3fa134b429f21" |
chat gpt-5.6-luna-2026-10-14 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-cwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.output_tokens | 401 |
model | "gpt-5.6-luna" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/cache-write · cache_write_tokensCache-blind tokens #
expected 3181, reported nothing
- Expected
3181- Cost
- $0.00147 on the wire, $0.00181 from the spans (+22.9%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/cache-write- Rule
- Input tokens written to the provider cache.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 6619, "output_tokens": 401, "total_tokens": 7020, "cache_read_input_tokens": 2753} |
mlflow.llm.model | "gpt-5.6-luna-2026-10-14" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5.6-luna", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-cwrite", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5.6-luna-2026-10-14", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 401, "prompt_tokens": 6619, "total_tokens": 7020, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 3181, "cached_tokens": 2753, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-5ad69e557783855907e3fa134b429f21" |
model | "gpt-5.6-luna" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-5ad69e557783855907e3fa134b429f21" |
chat gpt-5.6-luna-2026-10-14 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-cwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.output_tokens | 401 |
model | "gpt-5.6-luna" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/compat-extra-cache-fields · cache_read_tokensCache-blind tokens #
expected 1408, reported nothing
- Expected
1408- Reproduce
spantruth run --subject mlflow --scenario openai/compat-extra-cache-fields- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1931, "output_tokens": 397, "total_tokens": 2328, "cache_read_input_tokens": 1408} |
mlflow.llm.model | "deepseek-flash" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "deepseek-flash", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "9f3c2a71-5b8e-4d0a-a6c4-2e17d8b0f5a3", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1793084842, "model": "deepseek-flash", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt_deepseek", "usage": {"completion_tokens": 397, "prompt_tokens": 1931, "total_tokens": 2328, "completion_tokens_details": null, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": null, "cached_tokens": 1408, "image_tokens": null, "text_tokens": null}, "prompt_cache_hit_tokens": 1408, "prompt_cache_miss_tokens": 523}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-33f49bf9571b9082a416ed103314183a" |
model | "deepseek-flash" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-33f49bf9571b9082a416ed103314183a" |
chat deepseek-flash mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | deepseek-flash |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | 9f3c2a71-5b8e-4d0a-a6c4-2e17d8b0f5a3 |
gen_ai.response.model | deepseek-flash |
gen_ai.usage.input_tokens | 1931 |
gen_ai.usage.output_tokens | 397 |
model | "deepseek-flash" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/compat-extra-timing-fields · request_model #
expected llama-3.3-70b-versatile, reported openai/gpt-oss-20b
- Expected
llama-3.3-70b-versatile- Reported
openai/gpt-oss-20b- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/compat-extra-timing-fields- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 18, "output_tokens": 556, "total_tokens": 574} |
mlflow.llm.model | "openai/gpt-oss-20b" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "llama-3.3-70b-versatile", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-f51b2cd2-bef7-417e-964e-a08f0b513c22", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1730241104, "model": "openai/gpt-oss-20b", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_179b0f92c9", "usage": {"completion_tokens": 556, "prompt_tokens": 18, "total_tokens": 574, "completion_tokens_details": null, "prompt_tokens_details": null, "queue_time": 0.037493756, "prompt_time": 0.000680594, "completion_time": 0.463333333, "total_time": 0.464013927}, "x_groq": {"id": "req_01jbd6g2qdfw2adyrt2az8hz4w"}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-376440b7c84b257667c2d7215f5c8e59" |
model | "llama-3.3-70b-versatile" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-376440b7c84b257667c2d7215f5c8e59" |
chat openai/gpt-oss-20b mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | openai/gpt-oss-20b |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-f51b2cd2-bef7-417e-964e-a08f0b513c22 |
gen_ai.response.model | openai/gpt-oss-20b |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 556 |
model | "llama-3.3-70b-versatile" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/compat-no-details · request_model #
expected qwen3.5-27b, reported Qwen/Qwen3.5-27B-Instruct
- Expected
qwen3.5-27b- Reported
Qwen/Qwen3.5-27B-Instruct- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/compat-no-details- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1129, "output_tokens": 241, "total_tokens": 1370} |
mlflow.llm.model | "Qwen/Qwen3.5-27B-Instruct" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "qwen3.5-27b", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-cnodet", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "Qwen/Qwen3.5-27B-Instruct", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 241, "prompt_tokens": 1129, "total_tokens": 1370, "completion_tokens_details": null, "prompt_tokens_details": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-c1a8956291ba4eff1bbe4db2d2749498" |
model | "qwen3.5-27b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-c1a8956291ba4eff1bbe4db2d2749498" |
chat Qwen/Qwen3.5-27B-Instruct mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-cnodet |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1129 |
gen_ai.usage.output_tokens | 241 |
model | "qwen3.5-27b" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/compat-null-details · request_model #
expected qwen3.5-27b, reported Qwen/Qwen3.5-27B-Instruct
- Expected
qwen3.5-27b- Reported
Qwen/Qwen3.5-27B-Instruct- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/compat-null-details- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1213, "output_tokens": 277, "total_tokens": 1490} |
mlflow.llm.model | "Qwen/Qwen3.5-27B-Instruct" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "qwen3.5-27b", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-cnull", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "Qwen/Qwen3.5-27B-Instruct", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 277, "prompt_tokens": 1213, "total_tokens": 1490, "completion_tokens_details": null, "prompt_tokens_details": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-a0cec36c7e4cbb947df37f86e35abb07" |
model | "qwen3.5-27b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-a0cec36c7e4cbb947df37f86e35abb07" |
chat Qwen/Qwen3.5-27B-Instruct mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-cnull |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
model | "qwen3.5-27b" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/compat-partial-details · cache_read_tokensCache-blind tokens #
expected 28, reported nothing
- Expected
28- Reproduce
spantruth run --subject mlflow --scenario openai/compat-partial-details- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 32, "output_tokens": 16, "total_tokens": 48, "cache_read_input_tokens": 28} |
mlflow.llm.model | "qwen3.5:0.8b" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "qwen3.5:0.8b", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-54", "choices": [{"finish_reason": "length", "index": 0, "logprobs": null, "message": {"content": "Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1791831683, "model": "qwen3.5:0.8b", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_ollama", "usage": {"completion_tokens": 16, "prompt_tokens": 32, "total_tokens": 48, "completion_tokens_details": null, "prompt_tokens_details": {"audio_tokens": null, "cache_write_tokens": null, "cached_tokens": 28, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-8ac18260dfe0340fde24a87362c4a055" |
model | "qwen3.5:0.8b" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-8ac18260dfe0340fde24a87362c4a055" |
chat qwen3.5:0.8b mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "Octopuses, like many marine invertebrates, employ sophisticated methods to camouflage"}], "finish_reason": "length"}] |
gen_ai.request.model | qwen3.5:0.8b |
gen_ai.response.finish_reasons | ['length'] |
gen_ai.response.id | chatcmpl-54 |
gen_ai.response.model | qwen3.5:0.8b |
gen_ai.usage.input_tokens | 32 |
gen_ai.usage.output_tokens | 16 |
model | "qwen3.5:0.8b" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/compat-stream-no-details · request_model #
expected qwen3.5-27b, reported Qwen/Qwen3.5-27B-Instruct
- Expected
qwen3.5-27b- Reported
Qwen/Qwen3.5-27B-Instruct- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/compat-stream-no-details- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1361, "output_tokens": 293, "total_tokens": 1654} |
mlflow.llm.model | "Qwen/Qwen3.5-27B-Instruct" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "qwen3.5-27b", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-csnodet", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "Qwen/Qwen3.5-27B-Instruct", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 293, "prompt_tokens": 1361, "total_tokens": 1654, "completion_tokens_details": null, "prompt_tokens_details": null}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-9be4f2e485232e3ec4e21de30a272613" |
model | "qwen3.5-27b" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-9be4f2e485232e3ec4e21de30a272613" |
chat Qwen/Qwen3.5-27B-Instruct mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-csnodet |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1361 |
gen_ai.usage.output_tokens | 293 |
model | "qwen3.5-27b" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/compat-stream-usage-on-finish · request_model #
expected qwen3.5-27b, reported Qwen/Qwen3.5-27B-Instruct
- Expected
qwen3.5-27b- Reported
Qwen/Qwen3.5-27B-Instruct- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/compat-stream-usage-on-finish- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1489, "output_tokens": 331, "total_tokens": 1820, "cache_read_input_tokens": 1063} |
mlflow.llm.model | "Qwen/Qwen3.5-27B-Instruct" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "qwen3.5-27b", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-csfinish", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "Qwen/Qwen3.5-27B-Instruct", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 331, "prompt_tokens": 1489, "total_tokens": 1820, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 1063, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-2bccc4a58da28c65d674f501bd93fe49" |
model | "qwen3.5-27b" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-2bccc4a58da28c65d674f501bd93fe49" |
chat Qwen/Qwen3.5-27B-Instruct mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-csfinish |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.output_tokens | 331 |
model | "qwen3.5-27b" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/compat-stream-usage-on-finish · cache_read_tokensCache-blind tokens #
expected 1063, reported nothing
- Expected
1063- Reproduce
spantruth run --subject mlflow --scenario openai/compat-stream-usage-on-finish- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1489, "output_tokens": 331, "total_tokens": 1820, "cache_read_input_tokens": 1063} |
mlflow.llm.model | "Qwen/Qwen3.5-27B-Instruct" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "qwen3.5-27b", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-csfinish", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "Qwen/Qwen3.5-27B-Instruct", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 331, "prompt_tokens": 1489, "total_tokens": 1820, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 1063, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-2bccc4a58da28c65d674f501bd93fe49" |
model | "qwen3.5-27b" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-2bccc4a58da28c65d674f501bd93fe49" |
chat Qwen/Qwen3.5-27B-Instruct mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-csfinish |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.output_tokens | 331 |
model | "qwen3.5-27b" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/content-off · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/content-off- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1187, "output_tokens": 263, "total_tokens": 1450, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-basic", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 263, "prompt_tokens": 1187, "total_tokens": 1450, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-e7b5b4b57f1f2573ea4d638c0919b52f" |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-e7b5b4b57f1f2573ea4d638c0919b52f" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-basic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/content-on · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/content-on- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1187, "output_tokens": 263, "total_tokens": 1450, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-basic", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 263, "prompt_tokens": 1187, "total_tokens": 1450, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-b20d70694643dd8c38cceee87cdd136b" |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-b20d70694643dd8c38cceee87cdd136b" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-basic |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject mlflow --scenario openai/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (4)
Completions mlflow.tracing.provider, status ERROR
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 40 |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-7b6d3d68417b57ca7c0b24e4bd150e7b" |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-7b6d3d68417b57ca7c0b24e4bd150e7b" |
chat mlflow.tracing.provider, status ERROR
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/reasoning · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/reasoning- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1601, "output_tokens": 2219, "total_tokens": 3820, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-reason", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 2219, "prompt_tokens": 1601, "total_tokens": 3820, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 1792, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-1f46fee56544b119693cd24b1c859ae5" |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-1f46fee56544b119693cd24b1c859ae5" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-reason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/reasoning · reasoning_tokensHidden reasoning #
expected 1792, reported nothing
- Expected
1792- Reproduce
spantruth run --subject mlflow --scenario openai/reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1601, "output_tokens": 2219, "total_tokens": 3820, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-reason", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 2219, "prompt_tokens": 1601, "total_tokens": 3820, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 1792, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-1f46fee56544b119693cd24b1c859ae5" |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-1f46fee56544b119693cd24b1c859ae5" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-reason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/responses-stream-missing-finish-abort · error.typeFalse OK #
- Reproduce
spantruth run --subject mlflow --scenario openai/responses-stream-missing-finish-abort- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (4)
Responses mlflow.tracing.provider, status ERROR
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-6-luna", "input": [{"role": "user", "content": "What is the capital of France?"}], "stream": true} |
mlflow.spanLogLevel | 40 |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-999fa4ce2eec84591a6e4134820f20e7" |
model | "gpt-6-luna" |
stream | true |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-999fa4ce2eec84591a6e4134820f20e7" |
chat mlflow.tracing.provider, status ERROR
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
model | "gpt-6-luna" |
stream | true |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/retry-429 · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/retry-429- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 2477, "output_tokens": 367, "total_tokens": 2844, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-retry", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 367, "prompt_tokens": 2477, "total_tokens": 2844, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-de9ce19b2bd3f11fe07e1afe4802f406" |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-de9ce19b2bd3f11fe07e1afe4802f406" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-retry |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
model | "gpt-5-mini" |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/stream · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/stream- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 2311, "output_tokens": 419, "total_tokens": 2730, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-stream", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 419, "prompt_tokens": 2311, "total_tokens": 2730, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-be3cc4260846d403c5bd69b9f21a29cd" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-be3cc4260846d403c5bd69b9f21a29cd" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/stream-cache-hit · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Cost
- $0.00144 on the wire, $0.00283 from the spans (+95.8%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-cache-hit- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 7213, "output_tokens": 511, "total_tokens": 7724, "cache_read_input_tokens": 6144} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-scache", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 511, "prompt_tokens": 7213, "total_tokens": 7724, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 6144, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-d2d387d39434bb99c5f786b8a9789437" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-d2d387d39434bb99c5f786b8a9789437" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-scache |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/stream-cache-hit · cache_read_tokensCache-blind tokens #
expected 6144, reported nothing
- Expected
6144- Cost
- $0.00144 on the wire, $0.00283 from the spans (+95.8%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-cache-hit- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 7213, "output_tokens": 511, "total_tokens": 7724, "cache_read_input_tokens": 6144} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-scache", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 511, "prompt_tokens": 7213, "total_tokens": 7724, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 6144, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-d2d387d39434bb99c5f786b8a9789437" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-d2d387d39434bb99c5f786b8a9789437" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-scache |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.output_tokens | 511 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/stream-cache-write · request_model #
expected gpt-5.6-luna, reported gpt-5.6-luna-2026-10-14
- Expected
gpt-5.6-luna- Reported
gpt-5.6-luna-2026-10-14- Read from
gen_ai.request.model- Cost
- $0.00166 on the wire, $0.0022 from the spans (+32.4%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-cache-write- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 8237, "output_tokens": 457, "total_tokens": 8694, "cache_read_input_tokens": 3967} |
mlflow.llm.model | "gpt-5.6-luna-2026-10-14" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5.6-luna", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-scwrite", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5.6-luna-2026-10-14", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 457, "prompt_tokens": 8237, "total_tokens": 8694, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 3539, "cached_tokens": 3967, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-418d0470e3bc78607940737b127fb90c" |
model | "gpt-5.6-luna" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-418d0470e3bc78607940737b127fb90c" |
chat gpt-5.6-luna-2026-10-14 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
model | "gpt-5.6-luna" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/stream-cache-write · cache_read_tokensCache-blind tokens #
expected 3967, reported nothing
- Expected
3967- Cost
- $0.00166 on the wire, $0.0022 from the spans (+32.4%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-cache-write- Rule
- Input tokens read from the provider cache.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 8237, "output_tokens": 457, "total_tokens": 8694, "cache_read_input_tokens": 3967} |
mlflow.llm.model | "gpt-5.6-luna-2026-10-14" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5.6-luna", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-scwrite", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5.6-luna-2026-10-14", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 457, "prompt_tokens": 8237, "total_tokens": 8694, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 3539, "cached_tokens": 3967, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-418d0470e3bc78607940737b127fb90c" |
model | "gpt-5.6-luna" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-418d0470e3bc78607940737b127fb90c" |
chat gpt-5.6-luna-2026-10-14 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
model | "gpt-5.6-luna" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/stream-cache-write · cache_write_tokensCache-blind tokens #
expected 3539, reported nothing
- Expected
3539- Cost
- $0.00166 on the wire, $0.0022 from the spans (+32.4%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-cache-write- Rule
- Input tokens written to the provider cache.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 8237, "output_tokens": 457, "total_tokens": 8694, "cache_read_input_tokens": 3967} |
mlflow.llm.model | "gpt-5.6-luna-2026-10-14" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5.6-luna", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-scwrite", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5.6-luna-2026-10-14", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 457, "prompt_tokens": 8237, "total_tokens": 8694, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": 3539, "cached_tokens": 3967, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-418d0470e3bc78607940737b127fb90c" |
model | "gpt-5.6-luna" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-418d0470e3bc78607940737b127fb90c" |
chat gpt-5.6-luna-2026-10-14 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
model | "gpt-5.6-luna" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/stream-content-off · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/stream-content-off- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 2311, "output_tokens": 419, "total_tokens": 2730, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-stream", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 419, "prompt_tokens": 2311, "total_tokens": 2730, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-c0aac5b10b5b29cb6b3a0c77a196eec2" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-c0aac5b10b5b29cb6b3a0c77a196eec2" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/stream-content-on · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/stream-content-on- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 2311, "output_tokens": 419, "total_tokens": 2730, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-stream", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 419, "prompt_tokens": 2311, "total_tokens": 2730, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-f63739e1b651b32d2da9e00b1e28980a" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-f63739e1b651b32d2da9e00b1e28980a" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-stream |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (4)
Completions mlflow.tracing.provider, status ERROR
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 40 |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-4ca72f00d12256ede57c3be07f022d57" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-4ca72f00d12256ede57c3be07f022d57" |
chat mlflow.tracing.provider, status ERROR
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/stream-early-exit · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/stream-early-exit- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-early", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": null} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-55e938d88b9b3ff3f424d11e9503bb89" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-55e938d88b9b3ff3f424d11e9503bb89" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital"}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-early |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/stream-early-exit-with · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/stream-early-exit-with- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-early", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": null} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-c2d8c28a39716aa4f5f32bca19b0cccd" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-c2d8c28a39716aa4f5f32bca19b0cccd" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital"}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-early |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-helper- Rule
- The name of the model that generated the response.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
mlflow.llm.model | "gpt-5-mini" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}, "extra_headers": {"X-Stainless-Raw-Response": "stream"}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<APIResponse [200 OK] type=<class 'openai.types.chat.chat_completion.ChatCompletion'>>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-51caaa274e6f1911dece5ed773675bfb" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-51caaa274e6f1911dece5ed773675bfb" |
chat gpt-5-mini mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/stream-helper · response_id #
expected chatcmpl-wt-shelper, reported nothing
- Expected
chatcmpl-wt-shelper- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-helper- Rule
- The unique identifier of the completion.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
mlflow.llm.model | "gpt-5-mini" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}, "extra_headers": {"X-Stainless-Raw-Response": "stream"}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<APIResponse [200 OK] type=<class 'openai.types.chat.chat_completion.ChatCompletion'>>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-51caaa274e6f1911dece5ed773675bfb" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-51caaa274e6f1911dece5ed773675bfb" |
chat gpt-5-mini mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/stream-helper · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
mlflow.llm.model | "gpt-5-mini" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}, "extra_headers": {"X-Stainless-Raw-Response": "stream"}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<APIResponse [200 OK] type=<class 'openai.types.chat.chat_completion.ChatCompletion'>>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-51caaa274e6f1911dece5ed773675bfb" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-51caaa274e6f1911dece5ed773675bfb" |
chat gpt-5-mini mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/stream-helper · input_tokensVanishing tokens #
expected 2137, reported nothing
- Expected
2137- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-helper- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
mlflow.llm.model | "gpt-5-mini" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}, "extra_headers": {"X-Stainless-Raw-Response": "stream"}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<APIResponse [200 OK] type=<class 'openai.types.chat.chat_completion.ChatCompletion'>>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-51caaa274e6f1911dece5ed773675bfb" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-51caaa274e6f1911dece5ed773675bfb" |
chat gpt-5-mini mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/stream-helper · output_tokensVanishing tokens #
expected 313, reported nothing
- Expected
313- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject mlflow --scenario openai/stream-helper- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
mlflow.llm.model | "gpt-5-mini" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}, "extra_headers": {"X-Stainless-Raw-Response": "stream"}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | "<APIResponse [200 OK] type=<class 'openai.types.chat.chat_completion.ChatCompletion'>>" |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-51caaa274e6f1911dece5ed773675bfb" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-51caaa274e6f1911dece5ed773675bfb" |
chat gpt-5-mini mlflow.tracing.provider, status OK
extra_headers | {"X-Stainless-Raw-Response": "stream"} |
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/stream-no-usage · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/stream-no-usage- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-nousage", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": null} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-52f03f47f0dfa8517ceae05bd65866a0" |
model | "gpt-5-mini" |
stream | true |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-52f03f47f0dfa8517ceae05bd65866a0" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
model | "gpt-5-mini" |
stream | true |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/stream-reasoning · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/stream-reasoning- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 2089, "output_tokens": 2459, "total_tokens": 4548, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-sreason", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 2459, "prompt_tokens": 2089, "total_tokens": 4548, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 1931, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-21c344855caa1595bb46a93b9da04056" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-21c344855caa1595bb46a93b9da04056" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
missing mlflow · openai/stream-reasoning · reasoning_tokensHidden reasoning #
expected 1931, reported nothing
- Expected
1931- Reproduce
spantruth run --subject mlflow --scenario openai/stream-reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 2089, "output_tokens": 2459, "total_tokens": 4548, "cache_read_input_tokens": 0} |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-sreason", "choices": [{"finish_reason": "stop", "index": 0, "logprobs": null, "message": {"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": null}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 2459, "prompt_tokens": 2089, "total_tokens": 4548, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 1931, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-21c344855caa1595bb46a93b9da04056" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-21c344855caa1595bb46a93b9da04056" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/stream-tool-call · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/stream-tool-call- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 1553, "output_tokens": 173, "total_tokens": 1726, "cache_read_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "tools": [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}], "stream": true, "stream_options": {"include_usage": true}} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-stools", "choices": [{"finish_reason": "tool_calls", "index": 0, "logprobs": null, "message": {"content": null, "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_1", "function": {"arguments": "{\"city\":\"Paris\"}", "name": "get_weather"}, "type": "function"}, {"id": "call_wt_2", "function": {"arguments": "{\"zone\":\"Europe/Paris\"}", "name": "get_time"}, "type": "function"}]}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": null, "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 173, "prompt_tokens": 1553, "total_tokens": 1726, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-bfae4118c5413e69bc34a163b00b33ab" |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-bfae4118c5413e69bc34a163b00b33ab" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "call_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": "tool_calls"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['tool_calls'] |
gen_ai.response.id | chatcmpl-wt-stools |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
model | "gpt-5-mini" |
stream | true |
stream_options | {"include_usage": true} |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
spantruth.scenario spantruth.driver, status UNSET
wrong mlflow · openai/tool-call · request_model #
expected gpt-5-mini, reported gpt-5-mini-2026-08-07
- Expected
gpt-5-mini- Reported
gpt-5-mini-2026-08-07- Read from
gen_ai.request.model- Reproduce
spantruth run --subject mlflow --scenario openai/tool-call- Rule
- The model name the request asked for.
Exported spans (4)
Completions mlflow.tracing.provider, status OK
mlflow.chat.tokenUsage | {"input_tokens": 931, "output_tokens": 88, "total_tokens": 1019, "cache_read_input_tokens": 0} |
mlflow.chat.tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"properties": {"city": {"type": "string"}}, "type": "object"}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"properties": {"zone": {"type": "string"}}, "type": "object"}}}] |
mlflow.llm.model | "gpt-5-mini-2026-08-07" |
mlflow.message.format | "openai" |
mlflow.spanInputs | {"model": "gpt-5-mini", "messages": [{"role": "user", "content": "What is the capital of France?"}], "tools": [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}]} |
mlflow.spanLogLevel | 20 |
mlflow.spanOutputs | {"id": "chatcmpl-wt-tools", "choices": [{"finish_reason": "tool_calls", "index": 0, "logprobs": null, "message": {"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_1", "function": {"arguments": "{\"city\":\"Paris\"}", "name": "get_weather"}, "type": "function"}, {"id": "call_wt_2", "function": {"arguments": "{\"zone\":\"Europe/Paris\"}", "name": "get_time"}, "type": "function"}]}}], "created": 1760000000, "model": "gpt-5-mini-2026-08-07", "object": "chat.completion", "metadata": null, "moderation": null, "service_tier": "default", "system_fingerprint": "fp_wt0001", "usage": {"completion_tokens": 88, "prompt_tokens": 931, "total_tokens": 1019, "completion_tokens_details": {"accepted_prediction_tokens": 0, "audio_tokens": 0, "reasoning_tokens": 0, "rejected_prediction_tokens": 0, "text_tokens": null}, "prompt_tokens_details": {"audio_tokens": 0, "cache_write_tokens": null, "cached_tokens": 0, "image_tokens": null, "text_tokens": null}}} |
mlflow.spanType | "CHAT_MODEL" |
mlflow.traceRequestId | "tr-c01bdde0b07c379d30a7cd389d19eb2b" |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
spantruth.scenario spantruth.driver, status UNSET
mlflow.spanType | null |
mlflow.traceRequestId | "tr-c01bdde0b07c379d30a7cd389d19eb2b" |
chat gpt-5-mini-2026-08-07 mlflow.tracing.provider, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "call_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "call_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": "tool_calls"}] |
gen_ai.request.model | gpt-5-mini-2026-08-07 |
gen_ai.response.finish_reasons | ['tool_calls'] |
gen_ai.response.id | chatcmpl-wt-tools |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
model | "gpt-5-mini" |
tools | [{"type": "function", "function": {"name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}}, {"type": "function", "function": {"name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}}] |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/async-basic · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/async-basic- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--async-basic/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 263 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 1187 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 1450 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/async-basic · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--async-basic/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 263 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 1187 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 1450 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/async-stream · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/async-stream- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--async-stream/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 419 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 2311 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 2730 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783712.299294, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-stream"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 2311, "input_tokens_details": {"cache_write_tokens": 0, "cached_tokens": 0}, "output_tokens": 419, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 2730}, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/async-stream · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--async-stream/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 419 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 2311 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 2730 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783712.299294, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-stream"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 2311, "input_tokens_details": {"cache_write_tokens": 0, "cached_tokens": 0}, "output_tokens": 419, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 2730}, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/basic · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/basic- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--basic/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 263 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 1187 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 1450 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/basic · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--basic/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 263 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 1187 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 1450 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/cache-hit · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/cache-hit- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--cache-hit/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 377 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 5379 |
llm.token_count.prompt_details.cache_read | 4096 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 5756 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/cache-hit · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--cache-hit/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 377 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 5379 |
llm.token_count.prompt_details.cache_read | 4096 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 5756 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/cache-write · request_model #
expected gpt-5.6-luna, reported nothing
- Expected
gpt-5.6-luna- Reproduce
spantruth run --subject openai-agents --scenario openai/cache-write- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--cache-write/v1/"} |
llm.model_name | gpt-5.6-luna |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 401 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 6619 |
llm.token_count.prompt_details.cache_read | 2753 |
llm.token_count.prompt_details.cache_write | 3181 |
llm.token_count.total | 7020 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/cache-write · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/cache-write- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--cache-write/v1/"} |
llm.model_name | gpt-5.6-luna |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 401 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 6619 |
llm.token_count.prompt_details.cache_read | 2753 |
llm.token_count.prompt_details.cache_write | 3181 |
llm.token_count.total | 7020 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/reasoning · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/reasoning- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--reasoning/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 2219 |
llm.token_count.completion_details.reasoning | 1792 |
llm.token_count.prompt | 1601 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 3820 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/reasoning · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/reasoning- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--reasoning/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 2219 |
llm.token_count.completion_details.reasoning | 1792 |
llm.token_count.prompt | 1601 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 3820 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/retry-429 · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/retry-429- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--retry-429/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 367 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 2477 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 2844 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/retry-429 · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/retry-429- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--retry-429/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | assistant |
llm.system | openai |
llm.token_count.completion | 367 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 2477 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 2844 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": "The capital of France is Paris.", "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/stream- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 419 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 2311 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 2730 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783630.7263327, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-stream"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 2311, "input_tokens_details": {"cache_write_tokens": 0, "cached_tokens": 0}, "output_tokens": 419, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 2730}, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 419 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 2311 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 2730 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783630.7263327, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-stream"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 2311, "input_tokens_details": {"cache_write_tokens": 0, "cached_tokens": 0}, "output_tokens": 419, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 2730}, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream-cache-hit · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/stream-cache-hit- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream-cache-hit/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 511 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 7213 |
llm.token_count.prompt_details.cache_read | 6144 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 7724 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783642.5826833, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-scache"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 7213, "input_tokens_details": {"cache_write_tokens": 0, "cached_tokens": 6144}, "output_tokens": 511, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 7724}, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream-cache-hit · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream-cache-hit/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 511 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 7213 |
llm.token_count.prompt_details.cache_read | 6144 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 7724 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783642.5826833, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-scache"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 7213, "input_tokens_details": {"cache_write_tokens": 0, "cached_tokens": 6144}, "output_tokens": 511, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 7724}, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream-cache-write · request_model #
expected gpt-5.6-luna, reported nothing
- Expected
gpt-5.6-luna- Reproduce
spantruth run --subject openai-agents --scenario openai/stream-cache-write- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream-cache-write/v1/"} |
llm.model_name | gpt-5.6-luna |
llm.system | openai |
llm.token_count.completion | 457 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 8237 |
llm.token_count.prompt_details.cache_read | 3967 |
llm.token_count.prompt_details.cache_write | 3539 |
llm.token_count.total | 8694 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783654.682252, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5.6-luna", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5.6-luna", "response_id": "chatcmpl-wt-scwrite"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 8237, "input_tokens_details": {"cache_write_tokens": 3539, "cached_tokens": 3967}, "output_tokens": 457, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 8694}, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream-cache-write · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/stream-cache-write- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream-cache-write/v1/"} |
llm.model_name | gpt-5.6-luna |
llm.system | openai |
llm.token_count.completion | 457 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 8237 |
llm.token_count.prompt_details.cache_read | 3967 |
llm.token_count.prompt_details.cache_write | 3539 |
llm.token_count.total | 8694 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783654.682252, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5.6-luna", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5.6-luna", "response_id": "chatcmpl-wt-scwrite"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 8237, "input_tokens_details": {"cache_write_tokens": 3539, "cached_tokens": 3967}, "output_tokens": 457, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 8694}, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream-no-usage · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/stream-no-usage- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream-no-usage/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 0 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 0 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 0 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783660.6344357, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-nousage"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": null, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream-no-usage · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/stream-no-usage- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream-no-usage/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 0 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 0 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 0 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783660.6344357, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-nousage"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": null, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream-reasoning · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/stream-reasoning- Rule
- The model name the request asked for.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream-reasoning/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 2459 |
llm.token_count.completion_details.reasoning | 1931 |
llm.token_count.prompt | 2089 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 4548 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783700.7105238, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-sreason"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 2089, "input_tokens_details": {"cache_write_tokens": 0, "cached_tokens": 0}, "output_tokens": 2459, "output_tokens_details": {"reasoning_tokens": 1931}, "total_tokens": 4548}, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream-reasoning · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject openai-agents --scenario openai/stream-reasoning- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (6)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream-reasoning/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 2459 |
llm.token_count.completion_details.reasoning | 1931 |
llm.token_count.prompt | 2089 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 4548 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783700.7105238, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"id": "__fake_id__", "content": [{"annotations": [], "text": "The capital of France is Paris.", "type": "output_text", "logprobs": []}], "role": "assistant", "status": "completed", "type": "message", "phase": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-sreason"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 2089, "input_tokens_details": {"cache_write_tokens": 0, "cached_tokens": 0}, "output_tokens": 2459, "output_tokens_details": {"reasoning_tokens": 1931}, "total_tokens": 4548}, "user": null}] |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream-tool-call · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/stream-tool-call- Rule
- The model name the request asked for.
Exported spans (8)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream-tool-call/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 173 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 1553 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 1726 |
llm.tools.0.tool.json_schema | {"type": "function", "function": {"name": "get_weather", "description": "", "parameters": {"properties": {"city": {"title": "City", "type": "string"}}, "required": ["city"], "title": "get_weather_args", "type": "object", "additionalProperties": false}, "strict": true}} |
llm.tools.1.tool.json_schema | {"type": "function", "function": {"name": "get_time", "description": "", "parameters": {"properties": {"zone": {"title": "Zone", "type": "string"}}, "required": ["zone"], "title": "get_time_args", "type": "object", "additionalProperties": false}, "strict": true}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783671.734286, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"arguments": "{\"city\":\"Paris\"}", "call_id": "call_wt_1", "name": "get_weather", "type": "function_call", "id": "__fake_id__", "async_": null, "caller": null, "namespace": null, "status": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-stools"}}, {"arguments": "{\"zone\":\"Europe/Paris\"}", "call_id": "call_wt_2", "name": "get_time", "type": "function_call", "id": "__fake_id__", "async_": null, "caller": null, "namespace": null, "status": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-stools"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 1553, "input_tokens_details": {"cache_write_tokens": 0, "cached_tokens": 0}, "output_tokens": 173, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 1726}, "user": null}] |
get_weather openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | {"city":"Paris"} |
openinference.span.kind | TOOL |
output.value | get_weather |
tool.description | |
tool.name | get_weather |
tool.parameters | {"properties": {"city": {"title": "City", "type": "string"}}, "required": ["city"], "title": "get_weather_args", "type": "object", "additionalProperties": false} |
get_time openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | {"zone":"Europe/Paris"} |
openinference.span.kind | TOOL |
output.value | get_time |
tool.description | |
tool.name | get_time |
tool.parameters | {"properties": {"zone": {"title": "Zone", "type": "string"}}, "required": ["zone"], "title": "get_time_args", "type": "object", "additionalProperties": false} |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/stream-tool-call · finish_reasonsSilent stop #
expected tool_calls, reported nothing
- Expected
['tool_calls']- Reproduce
spantruth run --subject openai-agents --scenario openai/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (8)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--stream-tool-call/v1/"} |
llm.model_name | gpt-5-mini |
llm.system | openai |
llm.token_count.completion | 173 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 1553 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 1726 |
llm.tools.0.tool.json_schema | {"type": "function", "function": {"name": "get_weather", "description": "", "parameters": {"properties": {"city": {"title": "City", "type": "string"}}, "required": ["city"], "title": "get_weather_args", "type": "object", "additionalProperties": false}, "strict": true}} |
llm.tools.1.tool.json_schema | {"type": "function", "function": {"name": "get_time", "description": "", "parameters": {"properties": {"zone": {"title": "Zone", "type": "string"}}, "required": ["zone"], "title": "get_time_args", "type": "object", "additionalProperties": false}, "strict": true}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"id": "__fake_id__", "access_programs": null, "created_at": 1795783671.734286, "error": null, "incomplete_details": null, "instructions": null, "metadata": null, "model": "gpt-5-mini", "object": "response", "output": [{"arguments": "{\"city\":\"Paris\"}", "call_id": "call_wt_1", "name": "get_weather", "type": "function_call", "id": "__fake_id__", "async_": null, "caller": null, "namespace": null, "status": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-stools"}}, {"arguments": "{\"zone\":\"Europe/Paris\"}", "call_id": "call_wt_2", "name": "get_time", "type": "function_call", "id": "__fake_id__", "async_": null, "caller": null, "namespace": null, "status": null, "provider_data": {"model": "gpt-5-mini", "response_id": "chatcmpl-wt-stools"}}], "parallel_tool_calls": false, "temperature": null, "tool_choice": "auto", "tools": [], "top_p": null, "background": null, "completed_at": null, "conversation": null, "max_output_tokens": null, "max_tool_calls": null, "moderation": null, "previous_response_id": null, "prompt": null, "prompt_cache_diagnostics": null, "prompt_cache_key": null, "prompt_cache_options": null, "prompt_cache_retention": null, "reasoning": null, "safety_identifier": null, "service_tier": null, "status": null, "text": null, "tool_usage": null, "top_logprobs": null, "truncation": null, "usage": {"input_tokens": 1553, "input_tokens_details": {"cache_write_tokens": 0, "cached_tokens": 0}, "output_tokens": 173, "output_tokens_details": {"reasoning_tokens": 0}, "total_tokens": 1726}, "user": null}] |
get_weather openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | {"city":"Paris"} |
openinference.span.kind | TOOL |
output.value | get_weather |
tool.description | |
tool.name | get_weather |
tool.parameters | {"properties": {"city": {"title": "City", "type": "string"}}, "required": ["city"], "title": "get_weather_args", "type": "object", "additionalProperties": false} |
get_time openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | {"zone":"Europe/Paris"} |
openinference.span.kind | TOOL |
output.value | get_time |
tool.description | |
tool.name | get_time |
tool.parameters | {"properties": {"zone": {"title": "Zone", "type": "string"}}, "required": ["zone"], "title": "get_time_args", "type": "object", "additionalProperties": false} |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/tool-call · request_model #
expected gpt-5-mini, reported nothing
- Expected
gpt-5-mini- Reproduce
spantruth run --subject openai-agents --scenario openai/tool-call- Rule
- The model name the request asked for.
Exported spans (8)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--tool-call/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.role | assistant |
llm.output_messages.0.message.tool_calls.0.tool_call.function.arguments | {"city":"Paris"} |
llm.output_messages.0.message.tool_calls.0.tool_call.function.name | get_weather |
llm.output_messages.0.message.tool_calls.0.tool_call.id | call_wt_1 |
llm.output_messages.0.message.tool_calls.1.tool_call.function.arguments | {"zone":"Europe/Paris"} |
llm.output_messages.0.message.tool_calls.1.tool_call.function.name | get_time |
llm.output_messages.0.message.tool_calls.1.tool_call.id | call_wt_2 |
llm.system | openai |
llm.token_count.completion | 88 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 931 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 1019 |
llm.tools.0.tool.json_schema | {"type": "function", "function": {"name": "get_weather", "description": "", "parameters": {"properties": {"city": {"title": "City", "type": "string"}}, "required": ["city"], "title": "get_weather_args", "type": "object", "additionalProperties": false}, "strict": true}} |
llm.tools.1.tool.json_schema | {"type": "function", "function": {"name": "get_time", "description": "", "parameters": {"properties": {"zone": {"title": "Zone", "type": "string"}}, "required": ["zone"], "title": "get_time_args", "type": "object", "additionalProperties": false}, "strict": true}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_1", "function": {"arguments": "{\"city\":\"Paris\"}", "name": "get_weather"}, "type": "function"}, {"id": "call_wt_2", "function": {"arguments": "{\"zone\":\"Europe/Paris\"}", "name": "get_time"}, "type": "function"}]}] |
get_weather openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | {"city":"Paris"} |
openinference.span.kind | TOOL |
output.value | get_weather |
tool.description | |
tool.name | get_weather |
tool.parameters | {"properties": {"city": {"title": "City", "type": "string"}}, "required": ["city"], "title": "get_weather_args", "type": "object", "additionalProperties": false} |
get_time openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | {"zone":"Europe/Paris"} |
openinference.span.kind | TOOL |
output.value | get_time |
tool.description | |
tool.name | get_time |
tool.parameters | {"properties": {"zone": {"title": "Zone", "type": "string"}}, "required": ["zone"], "title": "get_time_args", "type": "object", "additionalProperties": false} |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openai-agents · openai/tool-call · finish_reasonsSilent stop #
expected tool_calls, reported nothing
- Expected
['tool_calls']- Reproduce
spantruth run --subject openai-agents --scenario openai/tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (8)
generation openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | [{"role": "user", "content": "What is the capital of France?"}] |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"base_url": "http://127.0.0.1:37565/s/openai--tool-call/v1/"} |
llm.model_name | gpt-5-mini |
llm.output_messages.0.message.role | assistant |
llm.output_messages.0.message.tool_calls.0.tool_call.function.arguments | {"city":"Paris"} |
llm.output_messages.0.message.tool_calls.0.tool_call.function.name | get_weather |
llm.output_messages.0.message.tool_calls.0.tool_call.id | call_wt_1 |
llm.output_messages.0.message.tool_calls.1.tool_call.function.arguments | {"zone":"Europe/Paris"} |
llm.output_messages.0.message.tool_calls.1.tool_call.function.name | get_time |
llm.output_messages.0.message.tool_calls.1.tool_call.id | call_wt_2 |
llm.system | openai |
llm.token_count.completion | 88 |
llm.token_count.completion_details.reasoning | 0 |
llm.token_count.prompt | 931 |
llm.token_count.prompt_details.cache_read | 0 |
llm.token_count.prompt_details.cache_write | 0 |
llm.token_count.total | 1019 |
llm.tools.0.tool.json_schema | {"type": "function", "function": {"name": "get_weather", "description": "", "parameters": {"properties": {"city": {"title": "City", "type": "string"}}, "required": ["city"], "title": "get_weather_args", "type": "object", "additionalProperties": false}, "strict": true}} |
llm.tools.1.tool.json_schema | {"type": "function", "function": {"name": "get_time", "description": "", "parameters": {"properties": {"zone": {"title": "Zone", "type": "string"}}, "required": ["zone"], "title": "get_time_args", "type": "object", "additionalProperties": false}, "strict": true}} |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | [{"content": null, "refusal": null, "role": "assistant", "annotations": [], "audio": null, "function_call": null, "tool_calls": [{"id": "call_wt_1", "function": {"arguments": "{\"city\":\"Paris\"}", "name": "get_weather"}, "type": "function"}, {"id": "call_wt_2", "function": {"arguments": "{\"zone\":\"Europe/Paris\"}", "name": "get_time"}, "type": "function"}]}] |
get_weather openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | {"city":"Paris"} |
openinference.span.kind | TOOL |
output.value | get_weather |
tool.description | |
tool.name | get_weather |
tool.parameters | {"properties": {"city": {"title": "City", "type": "string"}}, "required": ["city"], "title": "get_weather_args", "type": "object", "additionalProperties": false} |
get_time openinference.instrumentation.openai_agents, status OK
input.mime_type | application/json |
input.value | {"zone":"Europe/Paris"} |
openinference.span.kind | TOOL |
output.value | get_time |
tool.description | |
tool.name | get_time |
tool.parameters | {"properties": {"zone": {"title": "Zone", "type": "string"}}, "required": ["zone"], "title": "get_time_args", "type": "object", "additionalProperties": false} |
turn openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
spantruth openinference.instrumentation.openai_agents, status OK
agent.name | spantruth |
graph.node.id | spantruth |
openinference.span.kind | AGENT |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | CHAIN |
Agent workflow openinference.instrumentation.openai_agents, status OK
openinference.span.kind | AGENT |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · gemini/async-basic · request_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject openinference --scenario gemini/async-basic- Rule
- The model name the request asked for.
Exported spans (2)
AsyncGenerateContent openinference.instrumentation.google_genai, status OK
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.finish_reason | STOP |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 271 |
llm.token_count.prompt | 1193 |
llm.token_count.total | 1464 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"sdk_http_response":{"headers":{"server":"BaseHTTP/0.6 Python/3.12.16","date":"Fri, 27 Nov 2026 12:55:47 GMT","content-type":"application/json","content-length":"407","x-request-id":"req_spantruth"}},"candidates":[{"content":{"parts":[{"text":"The capital of France is Paris."}],"role":"model"},"finish_reason":"STOP","index":0}],"model_version":"gemini-3.5-flash-lite","response_id":"wt-gemini-basic","usage_metadata":{"candidates_token_count":271,"prompt_token_count":1193,"prompt_tokens_details":[{"modality":"TEXT","token_count":1193}],"total_token_count":1464},"automatic_function_calling_history":[]} |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · gemini/async-stream · request_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject openinference --scenario gemini/async-stream- Rule
- The model name the request asked for.
Exported spans (2)
AsyncGenerateContentStream openinference.instrumentation.google_genai, status OK
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.finish_reason | STOP |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 431 |
llm.token_count.prompt | 2333 |
llm.token_count.total | 2764 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"candidates": [{"content": {"parts": [{"text": "The capital of France is Paris."}], "role": "model"}, "finish_reason": "STOP", "index": 0}], "usage_metadata": {"candidates_token_count": 431, "prompt_token_count": 2333, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 2333}], "total_token_count": 2764}, "model_version": "gemini-3.5-flash-lite", "sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:55:54 GMT", "content-type": "text/event-stream", "transfer-encoding": "chunked", "x-request-id": "req_spantruth"}}, "response_id": "wt-gemini-stream"} |
spantruth.scenario spantruth.driver, status UNSET
wrong openinference · gemini/async-stream-early-exit · status.unsetFalse alarm #
expected UNSET, reported ERROR: 1 span(s) set status to Error on a successful operation
- Expected
UNSET- Reported
ERROR- Note
1 span(s) set status to Error on a successful operation- Reproduce
spantruth run --subject openinference --scenario gemini/async-stream-early-exit- Rule
- Span Status Code MUST be left unset if the instrumented operation has ended without any errors.
Exported spans (2)
AsyncGenerateContentStream openinference.instrumentation.google_genai, status ERROR
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 239 |
llm.token_count.prompt | 1949 |
llm.token_count.total | 2188 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"candidates": [{"content": {"parts": [{"text": "The capital of France"}], "role": "model"}, "index": 0}], "usage_metadata": {"candidates_token_count": 239, "prompt_token_count": 1949, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1949}], "total_token_count": 2188}, "model_version": "gemini-3.5-flash-lite", "sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:56:01 GMT", "content-type": "text/event-stream", "transfer-encoding": "chunked", "x-request-id": "req_spantruth"}}, "response_id": "wt-gemini-early"} |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · gemini/async-stream-early-exit · request_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject openinference --scenario gemini/async-stream-early-exit- Rule
- The model name the request asked for.
Exported spans (2)
AsyncGenerateContentStream openinference.instrumentation.google_genai, status ERROR
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 239 |
llm.token_count.prompt | 1949 |
llm.token_count.total | 2188 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"candidates": [{"content": {"parts": [{"text": "The capital of France"}], "role": "model"}, "index": 0}], "usage_metadata": {"candidates_token_count": 239, "prompt_token_count": 1949, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1949}], "total_token_count": 2188}, "model_version": "gemini-3.5-flash-lite", "sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:56:01 GMT", "content-type": "text/event-stream", "transfer-encoding": "chunked", "x-request-id": "req_spantruth"}}, "response_id": "wt-gemini-early"} |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · gemini/basic · request_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject openinference --scenario gemini/basic- Rule
- The model name the request asked for.
Exported spans (2)
GenerateContent openinference.instrumentation.google_genai, status OK
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.finish_reason | STOP |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 271 |
llm.token_count.prompt | 1193 |
llm.token_count.total | 1464 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"sdk_http_response":{"headers":{"server":"BaseHTTP/0.6 Python/3.12.16","date":"Fri, 27 Nov 2026 12:54:33 GMT","content-type":"application/json","content-length":"407","x-request-id":"req_spantruth"}},"candidates":[{"content":{"parts":[{"text":"The capital of France is Paris."}],"role":"model"},"finish_reason":"STOP","index":0}],"model_version":"gemini-3.5-flash-lite","response_id":"wt-gemini-basic","usage_metadata":{"candidates_token_count":271,"prompt_token_count":1193,"prompt_tokens_details":[{"modality":"TEXT","token_count":1193}],"total_token_count":1464},"automatic_function_calling_history":[]} |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · gemini/cache-hit · request_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject openinference --scenario gemini/cache-hit- Rule
- The model name the request asked for.
Exported spans (2)
GenerateContent openinference.instrumentation.google_genai, status OK
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.finish_reason | STOP |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 383 |
llm.token_count.prompt | 5417 |
llm.token_count.prompt_details.cache_read | 4099 |
llm.token_count.total | 5800 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"sdk_http_response":{"headers":{"server":"BaseHTTP/0.6 Python/3.12.16","date":"Fri, 27 Nov 2026 12:55:06 GMT","content-type":"application/json","content-length":"506","x-request-id":"req_spantruth"}},"candidates":[{"content":{"parts":[{"text":"The capital of France is Paris."}],"role":"model"},"finish_reason":"STOP","index":0}],"model_version":"gemini-3.5-flash-lite","response_id":"wt-gemini-cache","usage_metadata":{"cache_tokens_details":[{"modality":"TEXT","token_count":4099}],"cached_content_token_count":4099,"candidates_token_count":383,"prompt_token_count":5417,"prompt_tokens_details":[{"modality":"TEXT","token_count":5417}],"total_token_count":5800},"automatic_function_calling_history":[]} |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · gemini/stream · request_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject openinference --scenario gemini/stream- Rule
- The model name the request asked for.
Exported spans (2)
GenerateContentStream openinference.instrumentation.google_genai, status OK
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.finish_reason | STOP |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 431 |
llm.token_count.prompt | 2333 |
llm.token_count.total | 2764 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"candidates": [{"content": {"parts": [{"text": "The capital of France is Paris."}], "role": "model"}, "finish_reason": "STOP", "index": 0}], "usage_metadata": {"candidates_token_count": 431, "prompt_token_count": 2333, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 2333}], "total_token_count": 2764}, "model_version": "gemini-3.5-flash-lite", "sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:54:39 GMT", "content-type": "text/event-stream", "transfer-encoding": "chunked", "x-request-id": "req_spantruth"}}, "response_id": "wt-gemini-stream"} |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · gemini/stream-cache-hit · request_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject openinference --scenario gemini/stream-cache-hit- Rule
- The model name the request asked for.
Exported spans (2)
GenerateContentStream openinference.instrumentation.google_genai, status OK
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.finish_reason | STOP |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 523 |
llm.token_count.prompt | 7229 |
llm.token_count.prompt_details.cache_read | 6151 |
llm.token_count.total | 7752 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"candidates": [{"content": {"parts": [{"text": "The capital of France is Paris."}], "role": "model"}, "finish_reason": "STOP", "index": 0}], "usage_metadata": {"cache_tokens_details": [{"modality": "TEXT", "token_count": 6151}], "cached_content_token_count": 6151, "candidates_token_count": 523, "prompt_token_count": 7229, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 7229}], "total_token_count": 7752}, "model_version": "gemini-3.5-flash-lite", "sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:55:13 GMT", "content-type": "text/event-stream", "transfer-encoding": "chunked", "x-request-id": "req_spantruth"}}, "response_id": "wt-gemini-scache"} |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · gemini/stream-early-exit · request_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject openinference --scenario gemini/stream-early-exit- Rule
- The model name the request asked for.
Exported spans (2)
GenerateContentStream openinference.instrumentation.google_genai, status UNSET
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 239 |
llm.token_count.prompt | 1949 |
llm.token_count.total | 2188 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"candidates": [{"content": {"parts": [{"text": "The capital of France"}], "role": "model"}, "index": 0}], "usage_metadata": {"candidates_token_count": 239, "prompt_token_count": 1949, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 1949}], "total_token_count": 2188}, "model_version": "gemini-3.5-flash-lite", "sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:54:46 GMT", "content-type": "text/event-stream", "transfer-encoding": "chunked", "x-request-id": "req_spantruth"}}, "response_id": "wt-gemini-early"} |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · gemini/stream-thinking · request_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject openinference --scenario gemini/stream-thinking- Rule
- The model name the request asked for.
Exported spans (2)
GenerateContentStream openinference.instrumentation.google_genai, status OK
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.finish_reason | STOP |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 2316 |
llm.token_count.completion_details.reasoning | 1999 |
llm.token_count.prompt | 2083 |
llm.token_count.total | 4399 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"candidates": [{"content": {"parts": [{"text": "The capital of France is Paris."}], "role": "model"}, "finish_reason": "STOP", "index": 0}], "usage_metadata": {"candidates_token_count": 317, "prompt_token_count": 2083, "prompt_tokens_details": [{"modality": "TEXT", "token_count": 2083}], "thoughts_token_count": 1999, "total_token_count": 4399}, "model_version": "gemini-3.5-flash-lite", "sdk_http_response": {"headers": {"server": "BaseHTTP/0.6 Python/3.12.16", "date": "Fri, 27 Nov 2026 12:55:00 GMT", "content-type": "text/event-stream", "transfer-encoding": "chunked", "x-request-id": "req_spantruth"}}, "response_id": "wt-gemini-sthink"} |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · gemini/thinking · request_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject openinference --scenario gemini/thinking- Rule
- The model name the request asked for.
Exported spans (2)
GenerateContent openinference.instrumentation.google_genai, status OK
input.mime_type | application/json |
input.value | {"contents": [{"parts": [{"text": "What is the capital of France?"}], "role": "user"}]} |
llm.finish_reason | STOP |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.model_name | gemini-3.5-flash-lite |
llm.output_messages.0.message.content | The capital of France is Paris. |
llm.output_messages.0.message.role | model |
llm.provider | google |
llm.token_count.completion | 2118 |
llm.token_count.completion_details.reasoning | 1877 |
llm.token_count.prompt | 1609 |
llm.token_count.total | 3727 |
openinference.span.kind | LLM |
output.mime_type | application/json |
output.value | {"sdk_http_response":{"headers":{"server":"BaseHTTP/0.6 Python/3.12.16","date":"Fri, 27 Nov 2026 12:54:53 GMT","content-type":"application/json","content-length":"435","x-request-id":"req_spantruth"}},"candidates":[{"content":{"parts":[{"text":"The capital of France is Paris."}],"role":"model"},"finish_reason":"STOP","index":0}],"model_version":"gemini-3.5-flash-lite","response_id":"wt-gemini-think","usage_metadata":{"candidates_token_count":241,"prompt_token_count":1609,"prompt_tokens_details":[{"modality":"TEXT","token_count":1609}],"thoughts_token_count":1877,"total_token_count":3727},"automatic_function_calling_history":[]} |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · openai/async-stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Upstream
- reported The span of an async with_streaming_response stream gets no model, finish reason or token counts. The issue reports the likely cause: on the async path the wrapper calls AsyncAPIResponse.parse() without awaiting it.
- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openinference --scenario openai/async-stream-helper- Rule
- The name of the model that generated the response.
Exported spans (2)
ChatCompletion openinference.instrumentation.openai, status OK
input.mime_type | application/json |
input.value | {"model": "gpt-5-mini", "stream": true, "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream_options": {"include_usage": true}} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "gpt-5-mini", "stream": true, "stream_options": {"include_usage": true}} |
llm.system | openai |
openinference.span.kind | LLM |
output.value | <coroutine object AsyncAPIResponse.parse at 0x7afdb77be2f0> |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · openai/async-stream-helper · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Upstream
- reported The span of an async with_streaming_response stream gets no model, finish reason or token counts. The issue reports the likely cause: on the async path the wrapper calls AsyncAPIResponse.parse() without awaiting it.
- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openinference --scenario openai/async-stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
ChatCompletion openinference.instrumentation.openai, status OK
input.mime_type | application/json |
input.value | {"model": "gpt-5-mini", "stream": true, "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream_options": {"include_usage": true}} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "gpt-5-mini", "stream": true, "stream_options": {"include_usage": true}} |
llm.system | openai |
openinference.span.kind | LLM |
output.value | <coroutine object AsyncAPIResponse.parse at 0x7afdb77be2f0> |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · openai/async-stream-helper · input_tokensVanishing tokens #
expected 2137, reported nothing
- Expected
2137- Upstream
- reported The span of an async with_streaming_response stream gets no model, finish reason or token counts. The issue reports the likely cause: on the async path the wrapper calls AsyncAPIResponse.parse() without awaiting it.
- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openinference --scenario openai/async-stream-helper- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
ChatCompletion openinference.instrumentation.openai, status OK
input.mime_type | application/json |
input.value | {"model": "gpt-5-mini", "stream": true, "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream_options": {"include_usage": true}} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "gpt-5-mini", "stream": true, "stream_options": {"include_usage": true}} |
llm.system | openai |
openinference.span.kind | LLM |
output.value | <coroutine object AsyncAPIResponse.parse at 0x7afdb77be2f0> |
spantruth.scenario spantruth.driver, status UNSET
missing openinference · openai/async-stream-helper · output_tokensVanishing tokens #
expected 313, reported nothing
- Expected
313- Upstream
- reported The span of an async with_streaming_response stream gets no model, finish reason or token counts. The issue reports the likely cause: on the async path the wrapper calls AsyncAPIResponse.parse() without awaiting it.
- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openinference --scenario openai/async-stream-helper- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
ChatCompletion openinference.instrumentation.openai, status OK
input.mime_type | application/json |
input.value | {"model": "gpt-5-mini", "stream": true, "messages": [{"role": "user", "content": "What is the capital of France?"}], "stream_options": {"include_usage": true}} |
llm.input_messages.0.message.content | What is the capital of France? |
llm.input_messages.0.message.role | user |
llm.invocation_parameters | {"model": "gpt-5-mini", "stream": true, "stream_options": {"include_usage": true}} |
llm.system | openai |
openinference.span.kind | LLM |
output.value | <coroutine object AsyncAPIResponse.parse at 0x7afdb77be2f0> |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/agent-loop · input_tokensCache-blind tokens #
expected 1307, reported 214: call 2 of 3: cache reads left out; failed on calls 2, 3
- Expected
1307- Reported
214- Read from
gen_ai.usage.input_tokens- Note
call 2 of 3: cache reads left out; failed on calls 2, 3- Reproduce
spantruth run --subject openlit --scenario anthropic/agent-loop- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (7)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--agent-loop/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1268 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}], "finish_reason": "tool_call"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | False |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['tool_use'] |
gen_ai.response.id | msg_wt_loop1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.03196096420288086 |
gen_ai.tool.args | {"city": "Paris"} |
gen_ai.tool.call.arguments | {"city": "Paris"} |
gen_ai.tool.call.id | toolu_wt_w |
gen_ai.tool.name | get_weather |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
openlit.agent.version_hash | c449fd493e90d352 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--agent-loop/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 303 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}, {"role": "user", "parts": [{"type": "tool_call_response", "id": "toolu_wt_w", "response": "18 C and sunny"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_t", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": "tool_call"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | False |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['tool_use'] |
gen_ai.response.id | msg_wt_loop2 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.047994136810302734 |
gen_ai.tool.args | {"zone": "Europe/Paris"} |
gen_ai.tool.call.arguments | {"zone": "Europe/Paris"} |
gen_ai.tool.call.id | toolu_wt_t |
gen_ai.tool.name | get_time |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 1093 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 214 |
gen_ai.usage.output_tokens | 89 |
openlit.agent.version_hash | c449fd493e90d352 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--agent-loop/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 391 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_w", "name": "get_weather", "arguments": {"city": "Paris"}}]}, {"role": "user", "parts": [{"type": "tool_call_response", "id": "toolu_wt_w", "response": "18 C and sunny"}]}, {"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_t", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}]}, {"role": "user", "parts": [{"type": "tool_call_response", "id": "toolu_wt_t", "response": "14:05"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "It is 18 C and sunny in Paris, and the time is 14:05."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | False |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_loop3 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.04624009132385254 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 1279 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 180 |
gen_ai.usage.output_tokens | 211 |
openlit.agent.version_hash | c449fd493e90d352 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/async-concurrent-streams · input_tokensCache-blind tokens #
expected 1033, reported 264: call 1 of 2: cache reads left out
- Expected
1033- Reported
264- Read from
gen_ai.usage.input_tokens- Note
call 1 of 2: cache reads left out- Reproduce
spantruth run --subject openlit --scenario anthropic/async-concurrent-streams- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (5)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--async-concurrent-streams/v1/messages |
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--async-concurrent-streams/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 413 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_par1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0027335711887904574 |
gen_ai.server.time_to_first_token | 0.011218786239624023 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 264 |
gen_ai.usage.output_tokens | 149 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
chat claude-haiku-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1928 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_par2 |
gen_ai.response.model | claude-haiku-5-5-20261001 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0008179800851004464 |
gen_ai.server.time_to_first_token | 0.00016736984252929688 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
openlit.agent.version_hash | 6706f41dcb642201 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/async-concurrent-streams · cache_read_tokensCache-blind tokens #
expected 769, reported 0: call 1 of 2
- Expected
769- Reported
0- Read from
gen_ai.usage.cache_read.input_tokens- Note
call 1 of 2- Reproduce
spantruth run --subject openlit --scenario anthropic/async-concurrent-streams- Rule
- Input tokens read from the provider cache.
Exported spans (5)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--async-concurrent-streams/v1/messages |
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--async-concurrent-streams/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 413 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_par1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0027335711887904574 |
gen_ai.server.time_to_first_token | 0.011218786239624023 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 264 |
gen_ai.usage.output_tokens | 149 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
chat claude-haiku-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1928 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_par2 |
gen_ai.response.model | claude-haiku-5-5-20261001 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0008179800851004464 |
gen_ai.server.time_to_first_token | 0.00016736984252929688 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
openlit.agent.version_hash | 6706f41dcb642201 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · anthropic/async-stream-dropped · span.endedGhost span #
never ended: chat claude-sonnet-5-5
- Note
never ended: chat claude-sonnet-5-5- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/async-stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--async-stream-dropped/v1/messages |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · anthropic/async-stream-early-exit · span.endedGhost span #
never ended: chat claude-sonnet-5-5
- Note
never ended: chat claude-sonnet-5-5- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/async-stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--async-stream-early-exit/v1/messages |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · anthropic/async-stream-error-event · span.endedGhost span #
never ended: chat claude-sonnet-5-5
- Note
never ended: chat claude-sonnet-5-5- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/async-stream-error-event- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--async-stream-error-event/v1/messages |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/cache-1h · input_tokensCache-blind tokens #
expected 6288, reported 1307: cache reads and writes left out
- Expected
6288- Reported
1307- Read from
gen_ai.usage.input_tokens- Note
cache reads and writes left out- Cost
- $0.0146 on the wire, $0.012 from the spans (-17.9%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/cache-1h- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--cache-1h/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1696 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | False |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.025951623916625977 |
gen_ai.usage.cache_creation.input_tokens | 2120 |
gen_ai.usage.cache_read.input_tokens | 2861 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 389 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/cache-1h · metric.input_tokens #
expected 6288, reported 1307: cache reads and writes left out
- Expected
6288- Reported
1307- Read from
gen_ai.client.token.usage- Note
cache reads and writes left out- Cost
- $0.0146 on the wire, $0.012 from the spans (-17.9%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/cache-1h- Rule
- The input token metric is Recommended: it SHOULD be reported when an operation involves the usage of tokens and the count is readily available, and the recorded value SHOULD match the token count returned by the provider, cached tokens included. Read from `gen_ai.client.inference.operation.input_tokens`, `gen_ai.client.inference.usage.input_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `input`. The histograms count tokens per inference operation, so one call is one recording. Graded only for a library that documents token metrics (`[metrics]` in subject.toml); a documented library that emits none is missing.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--cache-1h/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1696 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | False |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.025951623916625977 |
gen_ai.usage.cache_creation.input_tokens | 2120 |
gen_ai.usage.cache_read.input_tokens | 2861 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 389 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/cache-hit · input_tokensCache-blind tokens #
expected 5802, reported 1187: cache reads and writes left out
- Expected
5802- Reported
1187- Read from
gen_ai.usage.input_tokens- Note
cache reads and writes left out- Cost
- $0.00785 on the wire, $0.00548 from the spans (-30.2%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/cache-hit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--cache-hit/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1564 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | False |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_cache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.025703907012939453 |
gen_ai.usage.cache_creation.input_tokens | 519 |
gen_ai.usage.cache_read.input_tokens | 4096 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 377 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/cache-hit · metric.input_tokens #
expected 5802, reported 1187: cache reads and writes left out
- Expected
5802- Reported
1187- Read from
gen_ai.client.token.usage- Note
cache reads and writes left out- Cost
- $0.00785 on the wire, $0.00548 from the spans (-30.2%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/cache-hit- Rule
- The input token metric is Recommended: it SHOULD be reported when an operation involves the usage of tokens and the count is readily available, and the recorded value SHOULD match the token count returned by the provider, cached tokens included. Read from `gen_ai.client.inference.operation.input_tokens`, `gen_ai.client.inference.usage.input_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `input`. The histograms count tokens per inference operation, so one call is one recording. Graded only for a library that documents token metrics (`[metrics]` in subject.toml); a documented library that emits none is missing.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--cache-hit/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1564 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | False |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_cache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.025703907012939453 |
gen_ai.usage.cache_creation.input_tokens | 519 |
gen_ai.usage.cache_read.input_tokens | 4096 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 377 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
missing openlit · anthropic/rate-limited · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Reproduce
spantruth run --subject openlit --scenario anthropic/rate-limited- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status ERROR
http.method | POST |
http.status_code | 429 |
http.url | http://127.0.0.1:37565/s/anthropic--rate-limited/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status ERROR
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/stream-cache-1h · input_tokensCache-blind tokens #
expected 7160, reported 1451: cache reads and writes left out
- Expected
7160- Reported
1451- Read from
gen_ai.usage.input_tokens- Note
cache reads and writes left out- Cost
- $0.0175 on the wire, $0.00813 from the spans (-53.5%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-cache-1h- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1974 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0026827880314418246 |
gen_ai.server.time_to_first_token | 0.01197361946105957 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1451 |
gen_ai.usage.output_tokens | 523 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/stream-cache-1h · cache_read_tokensCache-blind tokens #
expected 3217, reported 0
- Expected
3217- Reported
0- Read from
gen_ai.usage.cache_read.input_tokens- Cost
- $0.0175 on the wire, $0.00813 from the spans (-53.5%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-cache-1h- Rule
- Input tokens read from the provider cache.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1974 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0026827880314418246 |
gen_ai.server.time_to_first_token | 0.01197361946105957 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1451 |
gen_ai.usage.output_tokens | 523 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/stream-cache-1h · cache_write_tokensCache-blind tokens #
expected 2492, reported 0
- Expected
2492- Reported
0- Read from
gen_ai.usage.cache_creation.input_tokens- Cost
- $0.0175 on the wire, $0.00813 from the spans (-53.5%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-cache-1h- Rule
- Input tokens written to the provider cache.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1974 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0026827880314418246 |
gen_ai.server.time_to_first_token | 0.01197361946105957 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1451 |
gen_ai.usage.output_tokens | 523 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/stream-cache-1h · metric.input_tokens #
expected 7160, reported 1451: cache reads and writes left out
- Expected
7160- Reported
1451- Read from
gen_ai.client.token.usage- Note
cache reads and writes left out- Cost
- $0.0175 on the wire, $0.00813 from the spans (-53.5%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-cache-1h- Rule
- The input token metric is Recommended: it SHOULD be reported when an operation involves the usage of tokens and the count is readily available, and the recorded value SHOULD match the token count returned by the provider, cached tokens included. Read from `gen_ai.client.inference.operation.input_tokens`, `gen_ai.client.inference.usage.input_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `input`. The histograms count tokens per inference operation, so one call is one recording. Graded only for a library that documents token metrics (`[metrics]` in subject.toml); a documented library that emits none is missing.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1974 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0026827880314418246 |
gen_ai.server.time_to_first_token | 0.01197361946105957 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1451 |
gen_ai.usage.output_tokens | 523 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/stream-cache-cumulative · input_tokensCache-blind tokens #
expected 5673, reported 1279: cache reads and writes left out
- Expected
5673- Reported
1279- Read from
gen_ai.usage.input_tokens- Note
cache reads and writes left out- Cost
- $0.00961 on the wire, $0.00706 from the spans (-26.6%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-cache-cumulative- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-cache-cumulative/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1746 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_cumul |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0025471619197300504 |
gen_ai.server.time_to_first_token | 0.011180639266967773 |
gen_ai.usage.cache_creation.input_tokens | 811 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1279 |
gen_ai.usage.output_tokens | 467 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/stream-cache-cumulative · metric.input_tokens #
expected 5673, reported 1279: cache reads and writes left out
- Expected
5673- Reported
1279- Read from
gen_ai.client.token.usage- Note
cache reads and writes left out- Cost
- $0.00961 on the wire, $0.00706 from the spans (-26.6%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-cache-cumulative- Rule
- The input token metric is Recommended: it SHOULD be reported when an operation involves the usage of tokens and the count is readily available, and the recorded value SHOULD match the token count returned by the provider, cached tokens included. Read from `gen_ai.client.inference.operation.input_tokens`, `gen_ai.client.inference.usage.input_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `input`. The histograms count tokens per inference operation, so one call is one recording. Graded only for a library that documents token metrics (`[metrics]` in subject.toml); a documented library that emits none is missing.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-cache-cumulative/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1746 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_cumul |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0025471619197300504 |
gen_ai.server.time_to_first_token | 0.011180639266967773 |
gen_ai.usage.cache_creation.input_tokens | 811 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1279 |
gen_ai.usage.output_tokens | 467 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/stream-cache-hit · input_tokensCache-blind tokens #
expected 8424, reported 1543: cache reads and writes left out
- Expected
8424- Reported
1543- Read from
gen_ai.usage.input_tokens- Note
cache reads and writes left out- Cost
- $0.0107 on the wire, $0.0082 from the spans (-23.1%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-cache-hit- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2054 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.002461944307599749 |
gen_ai.server.time_to_first_token | 0.011376142501831055 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1543 |
gen_ai.usage.output_tokens | 511 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/stream-cache-hit · cache_read_tokensCache-blind tokens #
expected 6144, reported 0
- Expected
6144- Reported
0- Read from
gen_ai.usage.cache_read.input_tokens- Cost
- $0.0107 on the wire, $0.0082 from the spans (-23.1%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-cache-hit- Rule
- Input tokens read from the provider cache.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2054 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.002461944307599749 |
gen_ai.server.time_to_first_token | 0.011376142501831055 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1543 |
gen_ai.usage.output_tokens | 511 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/stream-cache-hit · cache_write_tokensCache-blind tokens #
expected 737, reported 0
- Expected
737- Reported
0- Read from
gen_ai.usage.cache_creation.input_tokens- Cost
- $0.0107 on the wire, $0.0082 from the spans (-23.1%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-cache-hit- Rule
- Input tokens written to the provider cache.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2054 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.002461944307599749 |
gen_ai.server.time_to_first_token | 0.011376142501831055 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1543 |
gen_ai.usage.output_tokens | 511 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · anthropic/stream-cache-hit · metric.input_tokens #
expected 8424, reported 1543: cache reads and writes left out
- Expected
8424- Reported
1543- Read from
gen_ai.client.token.usage- Note
cache reads and writes left out- Cost
- $0.0107 on the wire, $0.0082 from the spans (-23.1%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-cache-hit- Rule
- The input token metric is Recommended: it SHOULD be reported when an operation involves the usage of tokens and the count is readily available, and the recorded value SHOULD match the token count returned by the provider, cached tokens included. Read from `gen_ai.client.inference.operation.input_tokens`, `gen_ai.client.inference.usage.input_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `input`. The histograms count tokens per inference operation, so one call is one recording. Graded only for a library that documents token metrics (`[metrics]` in subject.toml); a documented library that emits none is missing.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2054 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.002461944307599749 |
gen_ai.server.time_to_first_token | 0.011376142501831055 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1543 |
gen_ai.usage.output_tokens | 511 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · anthropic/stream-dropped · span.endedGhost span #
never ended: chat claude-sonnet-5-5
- Note
never ended: chat claude-sonnet-5-5- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-dropped/v1/messages |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · anthropic/stream-early-exit · span.endedGhost span #
never ended: chat claude-sonnet-5-5
- Note
never ended: chat claude-sonnet-5-5- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-early-exit/v1/messages |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · anthropic/stream-early-exit-with · span.endedGhost span #
never ended: chat claude-sonnet-5-5
- Note
never ended: chat claude-sonnet-5-5- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-early-exit-with- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-early-exit-with/v1/messages |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · anthropic/stream-error-event · span.endedGhost span #
never ended: chat claude-sonnet-5-5
- Note
never ended: chat claude-sonnet-5-5- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-error-event- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-error-event/v1/messages |
spantruth.scenario spantruth.driver, status UNSET
missing openlit · anthropic/stream-thinking · reasoning_tokensHidden reasoning #
expected 1103, reported nothing
- Expected
1103- Reproduce
spantruth run --subject openlit --scenario anthropic/stream-thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--stream-thinking/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 3270 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0.0014238907740666317 |
gen_ai.server.time_to_first_token | 0.011274337768554688 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
missing openlit · anthropic/thinking · reasoning_tokensHidden reasoning #
expected 947, reported nothing
- Expected
947- Reproduce
spantruth run --subject openlit --scenario anthropic/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/anthropic--thinking/v1/messages |
chat claude-sonnet-5-5 openlit.instrumentation.anthropic, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2900 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stop_sequences | [] |
gen_ai.request.stream | False |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_k | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.sdk.version | 0.125.0 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.025917768478393555 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
openlit.agent.version_hash | 126a1732f5faa9e0 |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/async-basic · finish_reasonsSilent stop #
expected STOP, reported FinishReason.STOP
- Expected
['STOP']- Reported
['FinishReason.STOP']- Read from
gen_ai.response.finish_reasons- Reproduce
spantruth run --subject openlit --scenario gemini/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1464 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | False |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-basic |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.10697650909423828 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · gemini/async-stream · span.endedGhost span #
never ended: chat gemini-3.5-flash-lite
- Note
never ended: chat gemini-3.5-flash-lite- Cost
- $0.00178 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/async-stream- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2764 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-stream |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0.0005339384078979492 |
gen_ai.server.time_to_first_token | 0.09701204299926758 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/async-stream · finish_reasonsSilent stop #
expected STOP, reported FinishReason.STOP
- Expected
['STOP']- Reported
['FinishReason.STOP']- Read from
gen_ai.response.finish_reasons- Cost
- $0.00178 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2764 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-stream |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0.0005339384078979492 |
gen_ai.server.time_to_first_token | 0.09701204299926758 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · gemini/async-stream-dropped · span.endedGhost span #
never ended: chat gemini-3.5-flash-lite
- Note
never ended: chat gemini-3.5-flash-lite- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/async-stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost openlit · gemini/async-stream-early-exit · span.endedGhost span #
never ended: chat gemini-3.5-flash-lite
- Note
never ended: chat gemini-3.5-flash-lite- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/async-stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/basic · finish_reasonsSilent stop #
expected STOP, reported FinishReason.STOP
- Expected
['STOP']- Reported
['FinishReason.STOP']- Read from
gen_ai.response.finish_reasons- Reproduce
spantruth run --subject openlit --scenario gemini/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1464 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | False |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-basic |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.057231903076171875 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1193 |
gen_ai.usage.output_tokens | 271 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/cache-hit · finish_reasonsSilent stop #
expected STOP, reported FinishReason.STOP
- Expected
['STOP']- Reported
['FinishReason.STOP']- Read from
gen_ai.response.finish_reasons- Reproduce
spantruth run --subject openlit --scenario gemini/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 5800 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | False |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-cache |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.059851646423339844 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 4099 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 5417 |
gen_ai.usage.output_tokens | 383 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
missing openlit · gemini/rate-limited · span.recordedGhost span #
no LLM span arrived
- Note
no LLM span arrived- Reproduce
spantruth run --subject openlit --scenario gemini/rate-limited- Rule
- spantruth rule: a call the application made produces at least one span.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status ERROR
spantruth.scenario spantruth.driver, status UNSET
lost openlit · gemini/stream · span.endedGhost span #
never ended: chat gemini-3.5-flash-lite
- Note
never ended: chat gemini-3.5-flash-lite- Cost
- $0.00178 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/stream- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2764 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-stream |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0.0005432367324829102 |
gen_ai.server.time_to_first_token | 0.04907059669494629 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/stream · finish_reasonsSilent stop #
expected STOP, reported FinishReason.STOP
- Expected
['STOP']- Reported
['FinishReason.STOP']- Read from
gen_ai.response.finish_reasons- Cost
- $0.00178 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2764 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-stream |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0.0005432367324829102 |
gen_ai.server.time_to_first_token | 0.04907059669494629 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · gemini/stream-cache-hit · span.endedGhost span #
never ended: chat gemini-3.5-flash-lite
- Note
never ended: chat gemini-3.5-flash-lite- Cost
- $0.00182 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/stream-cache-hit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 7752 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-scache |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0.0006256103515625 |
gen_ai.server.time_to_first_token | 0.05574536323547363 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 6151 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 7229 |
gen_ai.usage.output_tokens | 523 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/stream-cache-hit · finish_reasonsSilent stop #
expected STOP, reported FinishReason.STOP
- Expected
['STOP']- Reported
['FinishReason.STOP']- Read from
gen_ai.response.finish_reasons- Cost
- $0.00182 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 7752 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-scache |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0.0006256103515625 |
gen_ai.server.time_to_first_token | 0.05574536323547363 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 6151 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 7229 |
gen_ai.usage.output_tokens | 523 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · gemini/stream-dropped · span.endedGhost span #
never ended: chat gemini-3.5-flash-lite
- Note
never ended: chat gemini-3.5-flash-lite- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost openlit · gemini/stream-early-exit · span.endedGhost span #
never ended: chat gemini-3.5-flash-lite
- Note
never ended: chat gemini-3.5-flash-lite- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost openlit · gemini/stream-thinking · span.endedGhost span #
never ended: chat gemini-3.5-flash-lite
- Note
never ended: chat gemini-3.5-flash-lite- Cost
- $0.00641 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/stream-thinking- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2400 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-sthink |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0.0005191564559936523 |
gen_ai.server.time_to_first_token | 0.05049705505371094 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 317 |
gen_ai.usage.reasoning_tokens | 1999 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/stream-thinking · finish_reasonsSilent stop #
expected STOP, reported FinishReason.STOP
- Expected
['STOP']- Reported
['FinishReason.STOP']- Read from
gen_ai.response.finish_reasons- Cost
- $0.00641 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/stream-thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2400 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-sthink |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0.0005191564559936523 |
gen_ai.server.time_to_first_token | 0.05049705505371094 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 317 |
gen_ai.usage.reasoning_tokens | 1999 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/stream-thinking · output_tokensVanishing tokens #
expected 2316, reported 317: reasoning tokens left out of output
- Expected
2316- Reported
317- Read from
gen_ai.usage.output_tokens- Note
reasoning tokens left out of output- Cost
- $0.00641 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/stream-thinking- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2400 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-sthink |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0.0005191564559936523 |
gen_ai.server.time_to_first_token | 0.05049705505371094 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 317 |
gen_ai.usage.reasoning_tokens | 1999 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/stream-thinking · metric.output_tokens #
expected 2316, reported 317: reasoning tokens left out of output
- Expected
2316- Reported
317- Read from
gen_ai.client.token.usage- Note
reasoning tokens left out of output- Cost
- $0.00641 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/stream-thinking- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 2400 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-sthink |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0.0005191564559936523 |
gen_ai.server.time_to_first_token | 0.05049705505371094 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 317 |
gen_ai.usage.reasoning_tokens | 1999 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/thinking · finish_reasonsSilent stop #
expected STOP, reported FinishReason.STOP
- Expected
['STOP']- Reported
['FinishReason.STOP']- Read from
gen_ai.response.finish_reasons- Cost
- $0.00578 on the wire, $0.00109 from the spans (-81.2%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/thinking- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1850 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | False |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-think |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.06112480163574219 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.reasoning_tokens | 1877 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/thinking · output_tokensVanishing tokens #
expected 2118, reported 241: reasoning tokens left out of output
- Expected
2118- Reported
241- Read from
gen_ai.usage.output_tokens- Note
reasoning tokens left out of output- Cost
- $0.00578 on the wire, $0.00109 from the spans (-81.2%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/thinking- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1850 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | False |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-think |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.06112480163574219 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.reasoning_tokens | 1877 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · gemini/thinking · metric.output_tokens #
expected 2118, reported 241: reasoning tokens left out of output
- Expected
2118- Reported
241- Read from
gen_ai.client.token.usage- Note
reasoning tokens left out of output- Cost
- $0.00578 on the wire, $0.00109 from the spans (-81.2%), at list price.
- Reproduce
spantruth run --subject openlit --scenario gemini/thinking- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
chat gemini-3.5-flash-lite openlit.instrumentation.google_ai_studio, status OK
deployment.environment | default |
gen_ai.client.token.usage | 1850 |
gen_ai.input.messages | [] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "FinishReason.STOP"}] |
gen_ai.output.type | text |
gen_ai.provider.name | gemini |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.request.stream | False |
gen_ai.response.finish_reasons | ['FinishReason.STOP'] |
gen_ai.response.id | wt-gemini-think |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.sdk.version | 3.6.1 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.06112480163574219 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.reasoning_tokens | 1877 |
server.address | generativelanguage.googleapis.com |
server.port | 443 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · openai/async-stream-dropped · span.endedGhost span #
never ended: chat gpt-5-mini
- Note
never ended: chat gpt-5-mini- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario openai/async-stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--async-stream-dropped/v1/chat/completions |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · openai/async-stream-early-exit · span.endedGhost span #
never ended: chat gpt-5-mini
- Note
never ended: chat gpt-5-mini- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario openai/async-stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--async-stream-early-exit/v1/chat/completions |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · openai/async-stream-helper · span.endedGhost span #
never ended: chat gpt-5-mini
- Note
never ended: chat gpt-5-mini- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario openai/async-stream-helper- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--async-stream-helper/v1/chat/completions |
spantruth.scenario spantruth.driver, status UNSET
missing openlit · openai/reasoning · reasoning_tokensHidden reasoning #
expected 1792, reported nothing
- Expected
1792- Reproduce
spantruth run --subject openlit --scenario openai/reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--reasoning/v1/chat/completions |
chat gpt-5-mini openlit.instrumentation.openai, status OK
deployment.environment | default |
gen_ai.client.token.usage | 3820 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | openai |
gen_ai.request.frequency_penalty | 0.0 |
gen_ai.request.model | gpt-5-mini |
gen_ai.request.presence_penalty | 0.0 |
gen_ai.request.seed | 0 |
gen_ai.request.stream | False |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.request.user | |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-reason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.sdk.version | 2.54.0 |
gen_ai.server.time_per_output_token | 0 |
gen_ai.server.time_to_first_token | 0.02146315574645996 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
openai.api.type | chat_completions |
openai.response.service_tier | default |
openai.response.system_fingerprint | fp_wt0001 |
openlit.agent.version_hash | 8559be562eb7885f |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · openai/responses-stream-missing-finish-abort · span.endedGhost span #
never ended: chat gpt-6-luna
- Note
never ended: chat gpt-6-luna- Reproduce
spantruth run --subject openlit --scenario openai/responses-stream-missing-finish-abort- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--responses-stream-missing-finish-abort/v1/responses |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · openai/stream-dropped · span.endedGhost span #
never ended: chat gpt-5-mini
- Note
never ended: chat gpt-5-mini- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario openai/stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--stream-dropped/v1/chat/completions |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · openai/stream-early-exit · span.endedGhost span #
never ended: chat gpt-5-mini
- Note
never ended: chat gpt-5-mini- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario openai/stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--stream-early-exit/v1/chat/completions |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · openai/stream-early-exit-with · span.endedGhost span #
never ended: chat gpt-5-mini
- Note
never ended: chat gpt-5-mini- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario openai/stream-early-exit-with- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--stream-early-exit-with/v1/chat/completions |
spantruth.scenario spantruth.driver, status UNSET
lost openlit · openai/stream-helper · span.endedGhost span #
never ended: chat gpt-5-mini
- Note
never ended: chat gpt-5-mini- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openlit --scenario openai/stream-helper- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (2)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--stream-helper/v1/chat/completions |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · openai/stream-no-usage · input_tokensPhantom tokens #
expected nothing, reported 18: estimated: the stream carried no usage
- Reported
18- Read from
gen_ai.usage.input_tokens- Note
estimated: the stream carried no usage- Reproduce
spantruth run --subject openlit --scenario openai/stream-no-usage- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--stream-no-usage/v1/chat/completions |
chat gpt-5-mini openlit.instrumentation.openai, status OK
deployment.environment | default |
gen_ai.client.token.usage | 34 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | openai |
gen_ai.request.frequency_penalty | 0.0 |
gen_ai.request.model | gpt-5-mini |
gen_ai.request.presence_penalty | 0.0 |
gen_ai.request.seed | 0 |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.request.user | |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.sdk.version | 2.54.0 |
gen_ai.server.time_per_output_token | 0.00028264522552490234 |
gen_ai.server.time_to_first_token | 0.004424095153808594 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 16 |
openai.api.type | chat_completions |
openai.response.service_tier | default |
openai.response.system_fingerprint | fp_wt0001 |
openlit.agent.version_hash | 8559be562eb7885f |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · openai/stream-no-usage · output_tokensPhantom tokens #
expected nothing, reported 16: estimated: the stream carried no usage
- Reported
16- Read from
gen_ai.usage.output_tokens- Note
estimated: the stream carried no usage- Reproduce
spantruth run --subject openlit --scenario openai/stream-no-usage- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--stream-no-usage/v1/chat/completions |
chat gpt-5-mini openlit.instrumentation.openai, status OK
deployment.environment | default |
gen_ai.client.token.usage | 34 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | openai |
gen_ai.request.frequency_penalty | 0.0 |
gen_ai.request.model | gpt-5-mini |
gen_ai.request.presence_penalty | 0.0 |
gen_ai.request.seed | 0 |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.request.user | |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.sdk.version | 2.54.0 |
gen_ai.server.time_per_output_token | 0.00028264522552490234 |
gen_ai.server.time_to_first_token | 0.004424095153808594 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 16 |
openai.api.type | chat_completions |
openai.response.service_tier | default |
openai.response.system_fingerprint | fp_wt0001 |
openlit.agent.version_hash | 8559be562eb7885f |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · openai/stream-no-usage · metric.input_tokens #
expected nothing, reported 18: estimated: the stream carried no usage
- Reported
18- Read from
gen_ai.client.token.usage- Note
estimated: the stream carried no usage- Reproduce
spantruth run --subject openlit --scenario openai/stream-no-usage- Rule
- The input token metric is Recommended: it SHOULD be reported when an operation involves the usage of tokens and the count is readily available, and the recorded value SHOULD match the token count returned by the provider, cached tokens included. Read from `gen_ai.client.inference.operation.input_tokens`, `gen_ai.client.inference.usage.input_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `input`. The histograms count tokens per inference operation, so one call is one recording. Graded only for a library that documents token metrics (`[metrics]` in subject.toml); a documented library that emits none is missing.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--stream-no-usage/v1/chat/completions |
chat gpt-5-mini openlit.instrumentation.openai, status OK
deployment.environment | default |
gen_ai.client.token.usage | 34 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | openai |
gen_ai.request.frequency_penalty | 0.0 |
gen_ai.request.model | gpt-5-mini |
gen_ai.request.presence_penalty | 0.0 |
gen_ai.request.seed | 0 |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.request.user | |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.sdk.version | 2.54.0 |
gen_ai.server.time_per_output_token | 0.00028264522552490234 |
gen_ai.server.time_to_first_token | 0.004424095153808594 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 16 |
openai.api.type | chat_completions |
openai.response.service_tier | default |
openai.response.system_fingerprint | fp_wt0001 |
openlit.agent.version_hash | 8559be562eb7885f |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openlit · openai/stream-no-usage · metric.output_tokens #
expected nothing, reported 16: estimated: the stream carried no usage
- Reported
16- Read from
gen_ai.client.token.usage- Note
estimated: the stream carried no usage- Reproduce
spantruth run --subject openlit --scenario openai/stream-no-usage- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--stream-no-usage/v1/chat/completions |
chat gpt-5-mini openlit.instrumentation.openai, status OK
deployment.environment | default |
gen_ai.client.token.usage | 34 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | openai |
gen_ai.request.frequency_penalty | 0.0 |
gen_ai.request.model | gpt-5-mini |
gen_ai.request.presence_penalty | 0.0 |
gen_ai.request.seed | 0 |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.request.user | |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-nousage |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.sdk.version | 2.54.0 |
gen_ai.server.time_per_output_token | 0.00028264522552490234 |
gen_ai.server.time_to_first_token | 0.004424095153808594 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 16 |
openai.api.type | chat_completions |
openai.response.service_tier | default |
openai.response.system_fingerprint | fp_wt0001 |
openlit.agent.version_hash | 8559be562eb7885f |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
missing openlit · openai/stream-reasoning · reasoning_tokensHidden reasoning #
expected 1931, reported nothing
- Expected
1931- Reproduce
spantruth run --subject openlit --scenario openai/stream-reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
POST opentelemetry.instrumentation.httpx, status UNSET
http.method | POST |
http.status_code | 200 |
http.url | http://127.0.0.1:37565/s/openai--stream-reasoning/v1/chat/completions |
chat gpt-5-mini openlit.instrumentation.openai, status OK
deployment.environment | default |
gen_ai.client.token.usage | 4548 |
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.output.type | text |
gen_ai.provider.name | openai |
gen_ai.request.frequency_penalty | 0.0 |
gen_ai.request.model | gpt-5-mini |
gen_ai.request.presence_penalty | 0.0 |
gen_ai.request.seed | 0 |
gen_ai.request.stream | True |
gen_ai.request.temperature | 1.0 |
gen_ai.request.top_p | 1.0 |
gen_ai.request.user | |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.sdk.version | 2.54.0 |
gen_ai.server.time_per_output_token | 0.0003707408905029297 |
gen_ai.server.time_to_first_token | 0.004196643829345703 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cost | 0 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
openai.api.type | chat_completions |
openai.response.service_tier | default |
openai.response.system_fingerprint | fp_wt0001 |
openlit.agent.version_hash | 8559be562eb7885f |
server.address | 127.0.0.1 |
server.port | 37565 |
service.name | spantruth |
telemetry.sdk.name | openlit |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/async-concurrent-streams · output_tokensPhantom tokens #
expected 149, reported 150: call 1 of 2; failed on calls 1, 2
- Expected
149- Reported
150- Read from
gen_ai.usage.output_tokens- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject openllmetry --scenario anthropic/async-concurrent-streams- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (3)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_par1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 769 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 150 |
gen_ai.usage.total_tokens | 1183 |
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_par2 |
gen_ai.response.model | claude-haiku-5-5-20261001 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 182 |
gen_ai.usage.total_tokens | 1929 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/async-stream · output_tokensPhantom tokens #
expected 419, reported 420
- Expected
419- Reported
420- Read from
gen_ai.usage.output_tokens- Upstream
- reported message_delta carries the cumulative output count, and the wrapper adds it to message_start's placeholder of 1.
- Cost
- $0.00881 on the wire, $0.00882 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/async-stream- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 420 |
gen_ai.usage.total_tokens | 2731 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/async-stream · metric.output_tokens #
expected 419, reported 420
- Expected
419- Reported
420- Read from
gen_ai.client.token.usage- Cost
- $0.00881 on the wire, $0.00882 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/async-stream- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 420 |
gen_ai.usage.total_tokens | 2731 |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · anthropic/async-stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/async-stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status ERROR
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
lost openllmetry · anthropic/async-stream-early-exit · span.endedGhost span #
never ended: anthropic.chat
- Note
never ended: anthropic.chat- Upstream
- reported Fix proposed in https://github.com/traceloop/openllmetry/pull/4539.
- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/async-stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · anthropic/async-stream-error-event · error.typeFalse OK #
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/async-stream-error-event- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status ERROR
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream · output_tokensPhantom tokens #
expected 419, reported 420
- Expected
419- Reported
420- Read from
gen_ai.usage.output_tokens- Upstream
- reported message_delta carries the cumulative output count, and the wrapper adds it to message_start's placeholder of 1.
- Cost
- $0.00881 on the wire, $0.00882 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 420 |
gen_ai.usage.total_tokens | 2731 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream · metric.output_tokens #
expected 419, reported 420
- Expected
419- Reported
420- Read from
gen_ai.client.token.usage- Cost
- $0.00881 on the wire, $0.00882 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 420 |
gen_ai.usage.total_tokens | 2731 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-cache-1h · output_tokensPhantom tokens #
expected 523, reported 524
- Expected
523- Reported
524- Read from
gen_ai.usage.output_tokens- Upstream
- reported message_delta carries the cumulative output count, and the wrapper adds it to message_start's placeholder of 1.
- Cost
- $0.0175 on the wire, $0.0175 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-cache-1h- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 2492 |
gen_ai.usage.cache_read.input_tokens | 3217 |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 524 |
gen_ai.usage.total_tokens | 7684 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-cache-1h · metric.output_tokens #
expected 523, reported 524
- Expected
523- Reported
524- Read from
gen_ai.client.token.usage- Cost
- $0.0175 on the wire, $0.0175 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-cache-1h- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 2492 |
gen_ai.usage.cache_read.input_tokens | 3217 |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 524 |
gen_ai.usage.total_tokens | 7684 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-cache-cumulative · output_tokensPhantom tokens #
expected 467, reported 468
- Expected
467- Reported
468- Read from
gen_ai.usage.output_tokens- Upstream
- reported message_delta carries the cumulative output count, and the wrapper adds it to message_start's placeholder of 1.
- Cost
- $0.00961 on the wire, $0.00962 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-cache-cumulative- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_cumul |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 811 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 468 |
gen_ai.usage.total_tokens | 6141 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-cache-cumulative · metric.output_tokens #
expected 467, reported 468
- Expected
467- Reported
468- Read from
gen_ai.client.token.usage- Cost
- $0.00961 on the wire, $0.00962 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-cache-cumulative- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_cumul |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 811 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 468 |
gen_ai.usage.total_tokens | 6141 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-cache-hit · output_tokensPhantom tokens #
expected 511, reported 512
- Expected
511- Reported
512- Read from
gen_ai.usage.output_tokens- Upstream
- reported message_delta carries the cumulative output count, and the wrapper adds it to message_start's placeholder of 1.
- Cost
- $0.0107 on the wire, $0.0107 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-cache-hit- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 737 |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 512 |
gen_ai.usage.total_tokens | 8936 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-cache-hit · metric.output_tokens #
expected 511, reported 512
- Expected
511- Reported
512- Read from
gen_ai.client.token.usage- Cost
- $0.0107 on the wire, $0.0107 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-cache-hit- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 737 |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 512 |
gen_ai.usage.total_tokens | 8936 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-content-off · output_tokensPhantom tokens #
expected 419, reported 420
- Expected
419- Reported
420- Read from
gen_ai.usage.output_tokens- Cost
- $0.00881 on the wire, $0.00882 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-content-off- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 420 |
gen_ai.usage.total_tokens | 2731 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-content-off · metric.output_tokens #
expected 419, reported 420
- Expected
419- Reported
420- Read from
gen_ai.client.token.usage- Cost
- $0.00881 on the wire, $0.00882 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-content-off- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 420 |
gen_ai.usage.total_tokens | 2731 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-content-on · output_tokensPhantom tokens #
expected 419, reported 420
- Expected
419- Reported
420- Read from
gen_ai.usage.output_tokens- Cost
- $0.00881 on the wire, $0.00882 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-content-on- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 420 |
gen_ai.usage.total_tokens | 2731 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-content-on · metric.output_tokens #
expected 419, reported 420
- Expected
419- Reported
420- Read from
gen_ai.client.token.usage- Cost
- $0.00881 on the wire, $0.00882 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-content-on- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 420 |
gen_ai.usage.total_tokens | 2731 |
spantruth.scenario spantruth.driver, status UNSET
lost openllmetry · anthropic/stream-dropped · span.endedGhost span #
never ended: anthropic.chat
- Note
never ended: anthropic.chat- Upstream
- reported The async stream ends its span with status ERROR, but without error.type.
- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost openllmetry · anthropic/stream-early-exit · span.endedGhost span #
never ended: anthropic.chat
- Note
never ended: anthropic.chat- Upstream
- reported Fix proposed in https://github.com/traceloop/openllmetry/pull/4539.
- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost openllmetry · anthropic/stream-early-exit-with · span.endedGhost span #
never ended: anthropic.chat
- Note
never ended: anthropic.chat- Upstream
- reported Fix proposed in https://github.com/traceloop/openllmetry/pull/4539.
- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-early-exit-with- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost openllmetry · anthropic/stream-error-event · span.endedGhost span #
never ended: anthropic.chat
- Note
never ended: anthropic.chat- Upstream
- reported The async stream ends its span with status ERROR, but without error.type.
- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-error-event- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-thinking · output_tokensPhantom tokens #
expected 1439, reported 1440
- Expected
1439- Reported
1440- Read from
gen_ai.usage.output_tokens- Cost
- $0.0181 on the wire, $0.0181 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-thinking- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "reasoning", "content": "Let me think about the capital of France. The capital is Paris."}, {"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1440 |
gen_ai.usage.total_tokens | 3271 |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · anthropic/stream-thinking · reasoning_tokensHidden reasoning #
expected 1103, reported nothing
- Expected
1103- Cost
- $0.0181 on the wire, $0.0181 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "reasoning", "content": "Let me think about the capital of France. The capital is Paris."}, {"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1440 |
gen_ai.usage.total_tokens | 3271 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-thinking · metric.output_tokens #
expected 1439, reported 1440
- Expected
1439- Reported
1440- Read from
gen_ai.client.token.usage- Cost
- $0.0181 on the wire, $0.0181 from the spans (+0.1%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-thinking- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "reasoning", "content": "Let me think about the capital of France. The capital is Paris."}, {"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1440 |
gen_ai.usage.total_tokens | 3271 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-tool-call · output_tokensPhantom tokens #
expected 197, reported 198
- Expected
197- Reported
198- Read from
gen_ai.usage.output_tokens- Cost
- $0.00521 on the wire, $0.00522 from the spans (+0.2%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-tool-call- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "toolu_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": "tool_call"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['tool_call'] |
gen_ai.response.id | msg_wt_stools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 198 |
gen_ai.usage.total_tokens | 1817 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · anthropic/stream-tool-call · metric.output_tokens #
expected 197, reported 198
- Expected
197- Reported
198- Read from
gen_ai.client.token.usage- Cost
- $0.00521 on the wire, $0.00522 from the spans (+0.2%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario anthropic/stream-tool-call- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.is_streaming | True |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "tool_call", "id": "toolu_wt_1", "name": "get_weather", "arguments": {"city": "Paris"}}, {"type": "tool_call", "id": "toolu_wt_2", "name": "get_time", "arguments": {"zone": "Europe/Paris"}}], "finish_reason": "tool_call"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['tool_call'] |
gen_ai.response.id | msg_wt_stools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.tool.definitions | [{"name": "get_weather", "input_schema": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"name": "get_time", "input_schema": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 198 |
gen_ai.usage.total_tokens | 1817 |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · anthropic/thinking · reasoning_tokensHidden reasoning #
expected 947, reported nothing
- Expected
947- Reproduce
spantruth run --subject openllmetry --scenario anthropic/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
anthropic.chat opentelemetry.instrumentation.anthropic, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "reasoning", "content": "Let me think about the capital of France. The capital of France is Paris."}, {"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_creation.input_tokens | 0 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.total_tokens | 2900 |
spantruth.scenario spantruth.driver, status UNSET
lost openllmetry · gemini/async-stream-dropped · span.endedGhost span #
never ended: generate_content gemini-3.5-flash-lite
- Note
never ended: generate_content gemini-3.5-flash-lite- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario gemini/async-stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost openllmetry · gemini/async-stream-early-exit · span.endedGhost span #
never ended: generate_content gemini-3.5-flash-lite
- Note
never ended: generate_content gemini-3.5-flash-lite- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario gemini/async-stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · gemini/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject openllmetry --scenario gemini/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
generate_content gemini-3.5-flash-lite opentelemetry.instrumentation.google_generativeai, status ERROR
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.provider.name | gcp.gen_ai |
gen_ai.request.model | gemini-3.5-flash-lite |
spantruth.scenario spantruth.driver, status UNSET
lost openllmetry · gemini/stream-dropped · span.endedGhost span #
never ended: generate_content gemini-3.5-flash-lite
- Note
never ended: generate_content gemini-3.5-flash-lite- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario gemini/stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost openllmetry · gemini/stream-early-exit · span.endedGhost span #
never ended: generate_content gemini-3.5-flash-lite
- Note
never ended: generate_content gemini-3.5-flash-lite- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario gemini/stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · gemini/stream-thinking · output_tokensVanishing tokens #
expected 2316, reported 317: reasoning tokens left out of output
- Expected
2316- Reported
317- Read from
gen_ai.usage.output_tokens- Note
reasoning tokens left out of output- Cost
- $0.00641 on the wire, $0.00142 from the spans (-77.9%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario gemini/stream-thinking- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
generate_content gemini-3.5-flash-lite opentelemetry.instrumentation.google_generativeai, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": " is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | gcp.gen_ai |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | wt-gemini-sthink |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 317 |
gen_ai.usage.total_tokens | 4399 |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · gemini/stream-thinking · reasoning_tokensHidden reasoning #
expected 1999, reported nothing
- Expected
1999- Cost
- $0.00641 on the wire, $0.00142 from the spans (-77.9%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario gemini/stream-thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
generate_content gemini-3.5-flash-lite opentelemetry.instrumentation.google_generativeai, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": " is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | gcp.gen_ai |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | wt-gemini-sthink |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 317 |
gen_ai.usage.total_tokens | 4399 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · gemini/stream-thinking · metric.output_tokens #
expected 2316, reported 317: reasoning tokens left out of output
- Expected
2316- Reported
317- Read from
gen_ai.client.token.usage- Note
reasoning tokens left out of output- Cost
- $0.00641 on the wire, $0.00142 from the spans (-77.9%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario gemini/stream-thinking- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
generate_content gemini-3.5-flash-lite opentelemetry.instrumentation.google_generativeai, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": " is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | gcp.gen_ai |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | wt-gemini-sthink |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 317 |
gen_ai.usage.total_tokens | 4399 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · gemini/thinking · output_tokensVanishing tokens #
expected 2118, reported 241: reasoning tokens left out of output
- Expected
2118- Reported
241- Read from
gen_ai.usage.output_tokens- Note
reasoning tokens left out of output- Cost
- $0.00578 on the wire, $0.00109 from the spans (-81.2%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario gemini/thinking- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
generate_content gemini-3.5-flash-lite opentelemetry.instrumentation.google_generativeai, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | gcp.gen_ai |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | wt-gemini-think |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.total_tokens | 3727 |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · gemini/thinking · reasoning_tokensHidden reasoning #
expected 1877, reported nothing
- Expected
1877- Cost
- $0.00578 on the wire, $0.00109 from the spans (-81.2%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario gemini/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
generate_content gemini-3.5-flash-lite opentelemetry.instrumentation.google_generativeai, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | gcp.gen_ai |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | wt-gemini-think |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.total_tokens | 3727 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · gemini/thinking · metric.output_tokens #
expected 2118, reported 241: reasoning tokens left out of output
- Expected
2118- Reported
241- Read from
gen_ai.client.token.usage- Note
reasoning tokens left out of output- Cost
- $0.00578 on the wire, $0.00109 from the spans (-81.2%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario gemini/thinking- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
generate_content gemini-3.5-flash-lite opentelemetry.instrumentation.google_generativeai, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"type": "text", "content": "What is the capital of France?"}]}] |
gen_ai.operation.name | generate_content |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"type": "text", "content": "The capital of France is Paris."}], "finish_reason": "stop"}] |
gen_ai.provider.name | gcp.gen_ai |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | wt-gemini-think |
gen_ai.response.model | gemini-3.5-flash-lite |
gen_ai.usage.input_tokens | 1609 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.total_tokens | 3727 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · openai/async-stream-dropped · error.statusFalse OK #
expected ERROR, reported OK
- Expected
ERROR- Reported
['OK']- Upstream
- reported _ensure_cleanup() sets OK and ends the span before the ERROR status is set, so ERROR is dropped.
- Reproduce
spantruth run --subject openllmetry --scenario openai/async-stream-dropped- Rule
- Span status SHOULD follow Recording Errors: an operation that ended in an error sets the status to Error.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--async-stream-dropped/v1/ |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France", "type": "text"}], "finish_reason": ""}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.id | chatcmpl-wt-drop |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/async-stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject openllmetry --scenario openai/async-stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--async-stream-dropped/v1/ |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France", "type": "text"}], "finish_reason": ""}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.id | chatcmpl-wt-drop |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/async-stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/async-stream-helper- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--async-stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/async-stream-helper · response_id #
expected chatcmpl-wt-shelper, reported nothing
- Expected
chatcmpl-wt-shelper- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/async-stream-helper- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--async-stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/async-stream-helper · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/async-stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--async-stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/async-stream-helper · input_tokensVanishing tokens #
expected 2137, reported nothing
- Expected
2137- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/async-stream-helper- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--async-stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/async-stream-helper · output_tokensVanishing tokens #
expected 313, reported nothing
- Expected
313- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/async-stream-helper- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--async-stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/async-stream-helper · metric.input_tokens #
expected 2137, reported nothing: no token usage metric arrived
- Expected
2137- Note
no token usage metric arrived- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/async-stream-helper- Rule
- The input token metric is Recommended: it SHOULD be reported when an operation involves the usage of tokens and the count is readily available, and the recorded value SHOULD match the token count returned by the provider, cached tokens included. Read from `gen_ai.client.inference.operation.input_tokens`, `gen_ai.client.inference.usage.input_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `input`. The histograms count tokens per inference operation, so one call is one recording. Graded only for a library that documents token metrics (`[metrics]` in subject.toml); a documented library that emits none is missing.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--async-stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/async-stream-helper · metric.output_tokens #
expected 313, reported nothing: no token usage metric arrived
- Expected
313- Note
no token usage metric arrived- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/async-stream-helper- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--async-stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/cache-write · cache_write_tokensCache-blind tokens #
expected 3181, reported nothing
- Expected
3181- Cost
- $0.00147 on the wire, $0.00131 from the spans (-10.8%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/cache-write- Rule
- Input tokens written to the provider cache.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | False |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--cache-write/v1/ |
gen_ai.openai.response.system_fingerprint | fp_wt0001 |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France is Paris.", "type": "text"}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-cwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.cache_read.input_tokens | 2753 |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.output_tokens | 401 |
gen_ai.usage.reasoning_tokens | 0 |
gen_ai.usage.total_tokens | 7020 |
openai.response.service_tier | default |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · openai/compat-extra-timing-fields · response_model #
expected openai/gpt-oss-20b, reported gpt-oss-20b
- Expected
openai/gpt-oss-20b- Reported
gpt-oss-20b- Read from
gen_ai.response.model- Reproduce
spantruth run --subject openllmetry --scenario openai/compat-extra-timing-fields- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | False |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--compat-extra-timing-fields/v1/ |
gen_ai.openai.response.system_fingerprint | fp_179b0f92c9 |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France is Paris.", "type": "text"}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | llama-3.3-70b-versatile |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-f51b2cd2-bef7-417e-964e-a08f0b513c22 |
gen_ai.response.model | gpt-oss-20b |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 556 |
gen_ai.usage.total_tokens | 574 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · openai/compat-no-details · response_model #
expected Qwen/Qwen3.5-27B-Instruct, reported Qwen3.5-27B-Instruct
- Expected
Qwen/Qwen3.5-27B-Instruct- Reported
Qwen3.5-27B-Instruct- Read from
gen_ai.response.model- Reproduce
spantruth run --subject openllmetry --scenario openai/compat-no-details- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | False |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--compat-no-details/v1/ |
gen_ai.openai.response.system_fingerprint | fp_wt0001 |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France is Paris.", "type": "text"}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-cnodet |
gen_ai.response.model | Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1129 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.total_tokens | 1370 |
openai.response.service_tier | default |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · openai/compat-null-details · response_model #
expected Qwen/Qwen3.5-27B-Instruct, reported Qwen3.5-27B-Instruct
- Expected
Qwen/Qwen3.5-27B-Instruct- Reported
Qwen3.5-27B-Instruct- Read from
gen_ai.response.model- Reproduce
spantruth run --subject openllmetry --scenario openai/compat-null-details- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | False |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--compat-null-details/v1/ |
gen_ai.openai.response.system_fingerprint | fp_wt0001 |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France is Paris.", "type": "text"}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-cnull |
gen_ai.response.model | Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
openai.response.service_tier | default |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · openai/compat-stream-no-details · response_model #
expected Qwen/Qwen3.5-27B-Instruct, reported Qwen3.5-27B-Instruct
- Expected
Qwen/Qwen3.5-27B-Instruct- Reported
Qwen3.5-27B-Instruct- Read from
gen_ai.response.model- Reproduce
spantruth run --subject openllmetry --scenario openai/compat-stream-no-details- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--compat-stream-no-details/v1/ |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France is Paris.", "type": "text"}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-csnodet |
gen_ai.response.model | Qwen3.5-27B-Instruct |
gen_ai.usage.input_tokens | 1361 |
gen_ai.usage.output_tokens | 293 |
gen_ai.usage.total_tokens | 1654 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · openai/compat-stream-usage-on-finish · response_model #
expected Qwen/Qwen3.5-27B-Instruct, reported Qwen3.5-27B-Instruct
- Expected
Qwen/Qwen3.5-27B-Instruct- Reported
Qwen3.5-27B-Instruct- Read from
gen_ai.response.model- Reproduce
spantruth run --subject openllmetry --scenario openai/compat-stream-usage-on-finish- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--compat-stream-usage-on-finish/v1/ |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France is Paris.", "type": "text"}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-csfinish |
gen_ai.response.model | Qwen3.5-27B-Instruct |
gen_ai.usage.cache_read.input_tokens | 1063 |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.output_tokens | 331 |
gen_ai.usage.total_tokens | 1820 |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/stream-cache-write · cache_write_tokensCache-blind tokens #
expected 3539, reported nothing
- Expected
3539- Cost
- $0.00166 on the wire, $0.00148 from the spans (-10.7%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-cache-write- Rule
- Input tokens written to the provider cache.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-cache-write/v1/ |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France is Paris.", "type": "text"}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-scwrite |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.usage.cache_read.input_tokens | 3967 |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
spantruth.scenario spantruth.driver, status UNSET
wrong openllmetry · openai/stream-dropped · error.statusFalse OK #
expected ERROR, reported OK
- Expected
ERROR- Reported
['OK']- Upstream
- reported _ensure_cleanup() sets OK and ends the span before the ERROR status is set, so ERROR is dropped.
- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-dropped- Rule
- Span status SHOULD follow Recording Errors: an operation that ended in an error sets the status to Error.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-dropped/v1/ |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France", "type": "text"}], "finish_reason": ""}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.id | chatcmpl-wt-drop |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-dropped/v1/ |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France", "type": "text"}], "finish_reason": ""}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.id | chatcmpl-wt-drop |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-helper- Rule
- The name of the model that generated the response.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/stream-helper · response_id #
expected chatcmpl-wt-shelper, reported nothing
- Expected
chatcmpl-wt-shelper- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-helper- Rule
- The unique identifier of the completion.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/stream-helper · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/stream-helper · input_tokensVanishing tokens #
expected 2137, reported nothing
- Expected
2137- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-helper- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/stream-helper · output_tokensVanishing tokens #
expected 313, reported nothing
- Expected
313- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-helper- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/stream-helper · metric.input_tokens #
expected 2137, reported nothing: no token usage metric arrived
- Expected
2137- Note
no token usage metric arrived- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-helper- Rule
- The input token metric is Recommended: it SHOULD be reported when an operation involves the usage of tokens and the count is readily available, and the recorded value SHOULD match the token count returned by the provider, cached tokens included. Read from `gen_ai.client.inference.operation.input_tokens`, `gen_ai.client.inference.usage.input_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `input`. The histograms count tokens per inference operation, so one call is one recording. Graded only for a library that documents token metrics (`[metrics]` in subject.toml); a documented library that emits none is missing.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/stream-helper · metric.output_tokens #
expected 313, reported nothing: no token usage metric arrived
- Expected
313- Note
no token usage metric arrived- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-helper- Rule
- The output token metric counts the output tokens of the call, reasoning tokens included, with the same rules as the input token metric. Read from `gen_ai.client.inference.operation.output_tokens`, `gen_ai.client.inference.usage.output_tokens`, or the deprecated `gen_ai.client.token.usage` with `gen_ai.token.type` `output`.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status UNSET
gen_ai.headers | {'X-Stainless-Raw-Response': 'stream'} |
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-helper/v1/ |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
spantruth.scenario spantruth.driver, status UNSET
missing openllmetry · openai/stream-reasoning · reasoning_tokensHidden reasoning #
expected 1931, reported nothing
- Expected
1931- Reproduce
spantruth run --subject openllmetry --scenario openai/stream-reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
openai.chat opentelemetry.instrumentation.openai.v1, status OK
gen_ai.input.messages | [{"role": "user", "parts": [{"content": "What is the capital of France?", "type": "text"}]}] |
gen_ai.is_streaming | True |
gen_ai.openai.api_base | http://127.0.0.1:37565/s/openai--stream-reasoning/v1/ |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role": "assistant", "parts": [{"content": "The capital of France is Paris.", "type": "text"}], "finish_reason": "stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.total_tokens | 4548 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/agent-loop · tokens.single-reportDouble span #
expected 1, reported 2: call 1 of 3: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5; failed on calls 1, 2, 3
- Expected
1- Reported
2- Note
call 1 of 3: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5; failed on calls 1, 2, 3- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/agent-loop- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (7)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | tool_use |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--agent-loop/v1/messages |
url.path | /s/anthropic--agent-loop/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['tool_call'] |
gen_ai.response.id | msg_wt_loop1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
server.address | 127.0.0.1 |
server.port | 37565 |
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | tool_use |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop2 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 1093 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--agent-loop/v1/messages |
url.path | /s/anthropic--agent-loop/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['tool_call'] |
gen_ai.response.id | msg_wt_loop2 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 1093 |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.output_tokens | 89 |
server.address | 127.0.0.1 |
server.port | 37565 |
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_loop3 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 1279 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--agent-loop/v1/messages |
url.path | /s/anthropic--agent-loop/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_loop3 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 1279 |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.output_tokens | 211 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/async-basic · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.005 on the wire, $0.01 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/async-basic- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--async-basic/v1/messages |
url.path | /s/anthropic--async-basic/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/async-concurrent-streams · tokens.single-reportDouble span #
expected 1, reported 2: call 1 of 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5; failed on calls 1, 2
- Expected
1- Reported
2- Note
call 1 of 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5; failed on calls 1, 2- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/async-concurrent-streams- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (5)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_par1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.109292642 |
gen_ai.usage.cache_read.input_tokens | 769 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--async-concurrent-streams/v1/messages |
url.path | /s/anthropic--async-concurrent-streams/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_par1 |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.10357355499991172 |
gen_ai.usage.cache_read.input_tokens | 769 |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.output_tokens | 149 |
server.address | 127.0.0.1 |
server.port | 37565 |
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_par2 |
gen_ai.response.model | claude-haiku-5-5-20261001 |
gen_ai.response.time_to_first_chunk | 0.048164765 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--async-concurrent-streams/v1/messages |
url.path | /s/anthropic--async-concurrent-streams/v1/messages |
url.scheme | http |
chat claude-haiku-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-haiku-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_par2 |
gen_ai.response.model | claude-haiku-5-5-20261001 |
gen_ai.response.time_to_first_chunk | 0.11074198000005708 |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/async-stream · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.00881 on the wire, $0.0176 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/async-stream- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.099876324 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--async-stream/v1/messages |
url.path | /s/anthropic--async-stream/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.0929368820000036 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/async-stream-early-exit · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/async-stream-early-exit- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_early |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1913 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--async-stream-early-exit/v1/messages |
url.path | /s/anthropic--async-stream-early-exit/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_early |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.0937267989997963 |
gen_ai.usage.input_tokens | 1913 |
gen_ai.usage.output_tokens | 1 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/basic · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.005 on the wire, $0.01 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/basic- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--basic/v1/messages |
url.path | /s/anthropic--basic/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/cache-1h · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.0146 on the wire, $0.0292 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/cache-1h- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
anthropic.usage.cache_creation.ephemeral_1h_input_tokens | 1663 |
anthropic.usage.cache_creation.ephemeral_5m_input_tokens | 457 |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 2861 |
gen_ai.usage.cache_write.input_tokens | 2120 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--cache-1h/v1/messages |
url.path | /s/anthropic--cache-1h/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_cache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 2861 |
gen_ai.usage.cache_write.input_tokens | 2120 |
gen_ai.usage.input_tokens | 6288 |
gen_ai.usage.output_tokens | 389 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/cache-hit · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.00785 on the wire, $0.0157 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/cache-hit- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_cache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 4096 |
gen_ai.usage.cache_write.input_tokens | 519 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--cache-hit/v1/messages |
url.path | /s/anthropic--cache-hit/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_cache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 4096 |
gen_ai.usage.cache_write.input_tokens | 519 |
gen_ai.usage.input_tokens | 5802 |
gen_ai.usage.output_tokens | 377 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/content-off · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.005 on the wire, $0.01 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/content-off- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--content-off/v1/messages |
url.path | /s/anthropic--content-off/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/content-on · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.005 on the wire, $0.01 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/content-on- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--content-on/v1/messages |
url.path | /s/anthropic--content-on/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.input.messages | [{"role":"user","parts":[{"content":"What is the capital of France?","type":"text"}],"name":null}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"content":"The capital of France is Paris.","type":"text"}],"finish_reason":"stop","name":null}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_basic |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/retry-429 · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.00862 on the wire, $0.0172 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/retry-429- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_retry |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
http.request.method | POST |
http.request.resend_count | 1 |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--retry-429/v1/messages |
url.path | /s/anthropic--retry-429/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_retry |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/stream · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.00881 on the wire, $0.0176 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/stream- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.045084421 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream/v1/messages |
url.path | /s/anthropic--stream/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.03788524299989149 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/stream-cache-1h · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.0175 on the wire, $0.035 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/stream-cache-1h- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
anthropic.usage.cache_creation.ephemeral_1h_input_tokens | 1879 |
anthropic.usage.cache_creation.ephemeral_5m_input_tokens | 613 |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.039357039 |
gen_ai.usage.cache_read.input_tokens | 3217 |
gen_ai.usage.cache_write.input_tokens | 2492 |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-cache-1h/v1/messages |
url.path | /s/anthropic--stream-cache-1h/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_scache1h |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.03338789000008546 |
gen_ai.usage.cache_read.input_tokens | 3217 |
gen_ai.usage.cache_write.input_tokens | 2492 |
gen_ai.usage.input_tokens | 7160 |
gen_ai.usage.output_tokens | 523 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/stream-cache-cumulative · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.00961 on the wire, $0.0192 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/stream-cache-cumulative- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_cumul |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.044871922 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.cache_write.input_tokens | 811 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-cache-cumulative/v1/messages |
url.path | /s/anthropic--stream-cache-cumulative/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_cumul |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.03754418399989845 |
gen_ai.usage.cache_read.input_tokens | 3583 |
gen_ai.usage.cache_write.input_tokens | 811 |
gen_ai.usage.input_tokens | 5673 |
gen_ai.usage.output_tokens | 467 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/stream-cache-hit · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.0107 on the wire, $0.0213 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/stream-cache-hit- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.043854165 |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.cache_write.input_tokens | 737 |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-cache-hit/v1/messages |
url.path | /s/anthropic--stream-cache-hit/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_scache |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.036997030000065934 |
gen_ai.usage.cache_read.input_tokens | 6144 |
gen_ai.usage.cache_write.input_tokens | 737 |
gen_ai.usage.input_tokens | 8424 |
gen_ai.usage.output_tokens | 511 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/stream-content-off · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.00881 on the wire, $0.0176 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/stream-content-off- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.043917092 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-content-off/v1/messages |
url.path | /s/anthropic--stream-content-off/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.038220766999984335 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/stream-content-on · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.00881 on the wire, $0.0176 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/stream-content-on- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.043402346 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-content-on/v1/messages |
url.path | /s/anthropic--stream-content-on/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.input.messages | [{"role":"user","parts":[{"content":"What is the capital of France?","type":"text"}],"name":null}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"content":"The capital of France is Paris.","type":"text"}],"finish_reason":"stop","name":null}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_stream |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.036273044000154187 |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/stream-early-exit · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/stream-early-exit- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_early |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1913 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-early-exit/v1/messages |
url.path | /s/anthropic--stream-early-exit/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_early |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.03784291099987058 |
gen_ai.usage.input_tokens | 1913 |
gen_ai.usage.output_tokens | 1 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/stream-early-exit-with · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/stream-early-exit-with- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_early |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1913 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-early-exit-with/v1/messages |
url.path | /s/anthropic--stream-early-exit-with/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_early |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.03890451999996003 |
gen_ai.usage.input_tokens | 1913 |
gen_ai.usage.output_tokens | 1 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/stream-thinking · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.0181 on the wire, $0.0361 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/stream-thinking- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.046003129 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.reasoning.output_tokens | 1103 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-thinking/v1/messages |
url.path | /s/anthropic--stream-thinking/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.040220973000032245 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.reasoning.output_tokens | 1103 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/stream-tool-call · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.00521 on the wire, $0.0104 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/stream-tool-call- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | tool_use |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.id | msg_wt_stools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.043635902 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--stream-tool-call/v1/messages |
url.path | /s/anthropic--stream-tool-call/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.request.stream | True |
gen_ai.response.finish_reasons | ['tool_call'] |
gen_ai.response.id | msg_wt_stools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.time_to_first_chunk | 0.037622223999960624 |
gen_ai.usage.input_tokens | 1619 |
gen_ai.usage.output_tokens | 197 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/thinking · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.016 on the wire, $0.032 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/thinking- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | end_turn |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.reasoning.output_tokens | 947 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--thinking/v1/messages |
url.path | /s/anthropic--thinking/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.reasoning.output_tokens | 947 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
wrong otel-official-sdk-on · anthropic/tool-call · tokens.single-reportDouble span #
expected 1, reported 2: usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5
- Expected
1- Reported
2- Note
usage on 2 spans: anthropic.messages.create, chat claude-sonnet-5-5- Cost
- $0.00274 on the wire, $0.00548 from the spans (+100%), at list price.
- Reproduce
spantruth run --subject otel-official-sdk-on --scenario anthropic/tool-call- Rule
- spantruth rule: one call reports its token usage on one span. Usage on two spans of one call is counted twice by any backend that sums token attributes across spans.
Exported spans (3)
anthropic.messages.create com.anthropic.sdk.python, status OK
anthropic.message.stop_reason | tool_use |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_tools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.cache_read.input_tokens | 0 |
gen_ai.usage.cache_write.input_tokens | 0 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
http.request.method | POST |
http.response.status_code | 200 |
http.route | /v1/messages |
server.address | 127.0.0.1 |
server.port | 37565 |
url.full | http://127.0.0.1:37565/s/anthropic--tool-call/v1/messages |
url.path | /s/anthropic--tool-call/v1/messages |
url.scheme | http |
chat claude-sonnet-5-5 opentelemetry.instrumentation.genai.anthropic, status UNSET
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['tool_call'] |
gen_ai.response.id | msg_wt_tools |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
server.address | 127.0.0.1 |
server.port | 37565 |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · anthropic/async-stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject pydantic-ai --scenario anthropic/async-stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (3)
chat claude-sonnet-5-5 pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d19-5894-7381-b6d8-24e8a3d53019 |
gen_ai.agent.name | agent |
gen_ai.client.operation.time_to_first_chunk | 0.04474544799995783 |
gen_ai.conversation.id | 01a21d19-5894-7381-b6d8-24e960b585db |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital"}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_drop |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.details.cache_creation_input_tokens | 0 |
gen_ai.usage.details.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1427 |
gen_ai.usage.output_tokens | 1 |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
operation.cost | 0.002864 |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status ERROR
agent_name | agent |
gen_ai.agent.call.id | 01a21d19-5894-7381-b6d8-24e8a3d53019 |
gen_ai.agent.name | agent |
gen_ai.aggregated_usage.details.cache_creation_input_tokens | 0 |
gen_ai.aggregated_usage.details.cache_read_input_tokens | 0 |
gen_ai.aggregated_usage.input_tokens | 1427 |
gen_ai.aggregated_usage.output_tokens | 1 |
gen_ai.conversation.id | 01a21d19-5894-7381-b6d8-24e960b585db |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | claude-sonnet-5-5 |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · anthropic/async-stream-error-event · error.typeFalse OK #
- Reproduce
spantruth run --subject pydantic-ai --scenario anthropic/async-stream-error-event- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (3)
chat claude-sonnet-5-5 pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d19-41da-7526-bedf-6a3207df49c9 |
gen_ai.agent.name | agent |
gen_ai.client.operation.time_to_first_chunk | 0.0382460450000508 |
gen_ai.conversation.id | 01a21d19-41da-7526-bedf-6a3310823a6a |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital"}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_overload |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.details.cache_creation_input_tokens | 0 |
gen_ai.usage.details.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1301 |
gen_ai.usage.output_tokens | 1 |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
operation.cost | 0.002612 |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status ERROR
agent_name | agent |
gen_ai.agent.call.id | 01a21d19-41da-7526-bedf-6a3207df49c9 |
gen_ai.agent.name | agent |
gen_ai.aggregated_usage.details.cache_creation_input_tokens | 0 |
gen_ai.aggregated_usage.details.cache_read_input_tokens | 0 |
gen_ai.aggregated_usage.input_tokens | 1301 |
gen_ai.aggregated_usage.output_tokens | 1 |
gen_ai.conversation.id | 01a21d19-41da-7526-bedf-6a3310823a6a |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | claude-sonnet-5-5 |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · anthropic/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject pydantic-ai --scenario anthropic/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (3)
chat claude-sonnet-5-5 pydantic-ai, status ERROR
gen_ai.agent.call.id | 01a21d18-3bf2-746a-8c91-1465718cbc7b |
gen_ai.agent.name | agent |
gen_ai.conversation.id | 01a21d18-3bf2-746a-8c91-14664752a272 |
gen_ai.operation.name | chat |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.system | anthropic |
logfire.json_schema | {"type":"object","properties":{"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status ERROR
agent_name | agent |
gen_ai.agent.call.id | 01a21d18-3bf2-746a-8c91-1465718cbc7b |
gen_ai.agent.name | agent |
gen_ai.conversation.id | 01a21d18-3bf2-746a-8c91-14664752a272 |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | claude-sonnet-5-5 |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · anthropic/stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject pydantic-ai --scenario anthropic/stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (3)
chat claude-sonnet-5-5 pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d18-6bae-7305-b80e-4fd1a940e12c |
gen_ai.agent.name | agent |
gen_ai.client.operation.time_to_first_chunk | 0.045621645999972316 |
gen_ai.conversation.id | 01a21d18-6bae-7305-b80e-4fd2e968fdd3 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital"}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_drop |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.details.cache_creation_input_tokens | 0 |
gen_ai.usage.details.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1427 |
gen_ai.usage.output_tokens | 1 |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
operation.cost | 0.002864 |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status ERROR
agent_name | agent |
gen_ai.agent.call.id | 01a21d18-6bae-7305-b80e-4fd1a940e12c |
gen_ai.agent.name | agent |
gen_ai.aggregated_usage.details.cache_creation_input_tokens | 0 |
gen_ai.aggregated_usage.details.cache_read_input_tokens | 0 |
gen_ai.aggregated_usage.input_tokens | 1427 |
gen_ai.aggregated_usage.output_tokens | 1 |
gen_ai.conversation.id | 01a21d18-6bae-7305-b80e-4fd2e968fdd3 |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | claude-sonnet-5-5 |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · anthropic/stream-error-event · error.typeFalse OK #
- Reproduce
spantruth run --subject pydantic-ai --scenario anthropic/stream-error-event- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (3)
chat claude-sonnet-5-5 pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d17-f0ac-768b-b3f3-15d09931efcc |
gen_ai.agent.name | agent |
gen_ai.client.operation.time_to_first_chunk | 0.0452313220000633 |
gen_ai.conversation.id | 01a21d17-f0ac-768b-b3f3-15d13dc66900 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital"}]}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_overload |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.details.cache_creation_input_tokens | 0 |
gen_ai.usage.details.cache_read_input_tokens | 0 |
gen_ai.usage.input_tokens | 1301 |
gen_ai.usage.output_tokens | 1 |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
operation.cost | 0.002612 |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status ERROR
agent_name | agent |
gen_ai.agent.call.id | 01a21d17-f0ac-768b-b3f3-15d09931efcc |
gen_ai.agent.name | agent |
gen_ai.aggregated_usage.details.cache_creation_input_tokens | 0 |
gen_ai.aggregated_usage.details.cache_read_input_tokens | 0 |
gen_ai.aggregated_usage.input_tokens | 1301 |
gen_ai.aggregated_usage.output_tokens | 1 |
gen_ai.conversation.id | 01a21d17-f0ac-768b-b3f3-15d13dc66900 |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | claude-sonnet-5-5 |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · anthropic/stream-thinking · reasoning_tokensHidden reasoning #
expected 1103, reported nothing
- Expected
1103- Reproduce
spantruth run --subject pydantic-ai --scenario anthropic/stream-thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
chat claude-sonnet-5-5 pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d18-9b69-7416-b3e4-70ad4c929aef |
gen_ai.agent.name | agent |
gen_ai.client.operation.time_to_first_chunk | 0.04477586699999847 |
gen_ai.conversation.id | 01a21d18-9b69-7416-b3e4-70aefae6d676 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"thinking","content":"Let me think about the capital of France. The capital is Paris."},{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.details.cache_creation_input_tokens | 0 |
gen_ai.usage.details.cache_read_input_tokens | 0 |
gen_ai.usage.details.thinking_tokens | 1103 |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.output_tokens | 1439 |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
operation.cost | 0.018052 |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status UNSET
agent_name | agent |
final_result | The capital of France is Paris. |
gen_ai.agent.call.id | 01a21d18-9b69-7416-b3e4-70ad4c929aef |
gen_ai.agent.name | agent |
gen_ai.aggregated_usage.details.cache_creation_input_tokens | 0 |
gen_ai.aggregated_usage.details.cache_read_input_tokens | 0 |
gen_ai.aggregated_usage.details.thinking_tokens | 1103 |
gen_ai.aggregated_usage.input_tokens | 1831 |
gen_ai.aggregated_usage.output_tokens | 1439 |
gen_ai.conversation.id | 01a21d18-9b69-7416-b3e4-70aefae6d676 |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | claude-sonnet-5-5 |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]},{"role":"assistant","parts":[{"type":"thinking","content":"Let me think about the capital of France. The capital is Paris."},{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · anthropic/thinking · reasoning_tokensHidden reasoning #
expected 947, reported nothing
- Expected
947- Reproduce
spantruth run --subject pydantic-ai --scenario anthropic/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
chat claude-sonnet-5-5 pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d18-8356-71d4-a41c-dcca5ed1e8ac |
gen_ai.agent.name | agent |
gen_ai.conversation.id | 01a21d18-8356-71d4-a41c-dccba2852bda |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"thinking","content":"Let me think about the capital of France. The capital of France is Paris."},{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | anthropic |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.system | anthropic |
gen_ai.usage.details.cache_creation_input_tokens | 0 |
gen_ai.usage.details.cache_read_input_tokens | 0 |
gen_ai.usage.details.thinking_tokens | 947 |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.output_tokens | 1273 |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
operation.cost | 0.015984 |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status UNSET
agent_name | agent |
final_result | The capital of France is Paris. |
gen_ai.agent.call.id | 01a21d18-8356-71d4-a41c-dcca5ed1e8ac |
gen_ai.agent.name | agent |
gen_ai.aggregated_usage.details.cache_creation_input_tokens | 0 |
gen_ai.aggregated_usage.details.cache_read_input_tokens | 0 |
gen_ai.aggregated_usage.details.thinking_tokens | 947 |
gen_ai.aggregated_usage.input_tokens | 1627 |
gen_ai.aggregated_usage.output_tokens | 1273 |
gen_ai.conversation.id | 01a21d18-8356-71d4-a41c-dccba2852bda |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | claude-sonnet-5-5 |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]},{"role":"assistant","parts":[{"type":"thinking","content":"Let me think about the capital of France. The capital of France is Paris."},{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · openai/async-stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject pydantic-ai --scenario openai/async-stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (3)
chat gpt-5-mini pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d18-e049-7575-bb9c-7eca2b136765 |
gen_ai.agent.name | agent |
gen_ai.client.operation.time_to_first_chunk | 0.023190195999859498 |
gen_ai.conversation.id | 01a21d18-e049-7575-bb9c-7ecb050096c5 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France"}]}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.id | chatcmpl-wt-drop |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status ERROR
agent_name | agent |
gen_ai.agent.call.id | 01a21d18-e049-7575-bb9c-7eca2b136765 |
gen_ai.agent.name | agent |
gen_ai.conversation.id | 01a21d18-e049-7575-bb9c-7ecb050096c5 |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | gpt-5-mini |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · openai/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject pydantic-ai --scenario openai/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (3)
chat gpt-5-mini pydantic-ai, status ERROR
gen_ai.agent.call.id | 01a21d16-d4d8-710d-980d-3e410a3e5792 |
gen_ai.agent.name | agent |
gen_ai.conversation.id | 01a21d16-d4d8-710d-980d-3e42921f5ce9 |
gen_ai.operation.name | chat |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status ERROR
agent_name | agent |
gen_ai.agent.call.id | 01a21d16-d4d8-710d-980d-3e410a3e5792 |
gen_ai.agent.name | agent |
gen_ai.conversation.id | 01a21d16-d4d8-710d-980d-3e42921f5ce9 |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | gpt-5-mini |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · openai/reasoning · reasoning_tokensHidden reasoning #
expected 1792, reported nothing
- Expected
1792- Reproduce
spantruth run --subject pydantic-ai --scenario openai/reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
chat gpt-5-mini pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d17-0b68-75cd-b956-2ecb7aa1f230 |
gen_ai.agent.name | agent |
gen_ai.conversation.id | 01a21d17-0b68-75cd-b956-2ecc99d4eaba |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-reason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.details.accepted_prediction_tokens | 0 |
gen_ai.usage.details.audio_tokens | 0 |
gen_ai.usage.details.reasoning_tokens | 1792 |
gen_ai.usage.details.rejected_prediction_tokens | 0 |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status UNSET
agent_name | agent |
final_result | The capital of France is Paris. |
gen_ai.agent.call.id | 01a21d17-0b68-75cd-b956-2ecb7aa1f230 |
gen_ai.agent.name | agent |
gen_ai.aggregated_usage.details.accepted_prediction_tokens | 0 |
gen_ai.aggregated_usage.details.audio_tokens | 0 |
gen_ai.aggregated_usage.details.reasoning_tokens | 1792 |
gen_ai.aggregated_usage.details.rejected_prediction_tokens | 0 |
gen_ai.aggregated_usage.input_tokens | 1601 |
gen_ai.aggregated_usage.output_tokens | 2219 |
gen_ai.conversation.id | 01a21d17-0b68-75cd-b956-2ecc99d4eaba |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | gpt-5-mini |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]},{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · openai/responses-stream-missing-finish-abort · error.typeFalse OK #
- Reproduce
spantruth run --subject pydantic-ai --scenario openai/responses-stream-missing-finish-abort- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (3)
chat gpt-6-luna pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d19-6b88-77b4-8e63-36d45fb5c1f5 |
gen_ai.agent.name | agent |
gen_ai.client.operation.time_to_first_chunk | 0.10198341900013475 |
gen_ai.conversation.id | 01a21d19-6b88-77b4-8e63-36d5fc7c3599 |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"Octopuses change"}]}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-6-luna |
gen_ai.response.id | resp_025c23fff6653590006acbfc0086cc87d18124e70e8d3ff838 |
gen_ai.response.model | gpt-6-luna |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
operation.cost | 0.0 |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status ERROR
agent_name | agent |
gen_ai.agent.call.id | 01a21d19-6b88-77b4-8e63-36d45fb5c1f5 |
gen_ai.agent.name | agent |
gen_ai.conversation.id | 01a21d19-6b88-77b4-8e63-36d5fc7c3599 |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | gpt-6-luna |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · openai/stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject pydantic-ai --scenario openai/stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (3)
chat gpt-5-mini pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d16-f9ee-7231-a985-05470b9729cf |
gen_ai.agent.name | agent |
gen_ai.client.operation.time_to_first_chunk | 0.022227591000046232 |
gen_ai.conversation.id | 01a21d16-f9ee-7231-a985-05484e6b22cd |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France"}]}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.id | chatcmpl-wt-drop |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status ERROR
agent_name | agent |
gen_ai.agent.call.id | 01a21d16-f9ee-7231-a985-05470b9729cf |
gen_ai.agent.name | agent |
gen_ai.conversation.id | 01a21d16-f9ee-7231-a985-05484e6b22cd |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | gpt-5-mini |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
spantruth.scenario spantruth.driver, status UNSET
missing pydantic-ai · openai/stream-reasoning · reasoning_tokensHidden reasoning #
expected 1931, reported nothing
- Expected
1931- Reproduce
spantruth run --subject pydantic-ai --scenario openai/stream-reasoning- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (3)
chat gpt-5-mini pydantic-ai, status UNSET
gen_ai.agent.call.id | 01a21d17-1ca3-74d0-9890-0d2692408a52 |
gen_ai.agent.name | agent |
gen_ai.client.operation.time_to_first_chunk | 0.02083233000007567 |
gen_ai.conversation.id | 01a21d17-1ca3-74d0-9890-0d27ceee5eef |
gen_ai.input.messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]}] |
gen_ai.operation.name | chat |
gen_ai.output.messages | [{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
gen_ai.provider.name | openai |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.finish_reasons | ['stop'] |
gen_ai.response.id | chatcmpl-wt-sreason |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.system | openai |
gen_ai.usage.details.accepted_prediction_tokens | 0 |
gen_ai.usage.details.audio_tokens | 0 |
gen_ai.usage.details.reasoning_tokens | 1931 |
gen_ai.usage.details.rejected_prediction_tokens | 0 |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
logfire.json_schema | {"type":"object","properties":{"gen_ai.input.messages":{"type":"array"},"gen_ai.output.messages":{"type":"array"},"model_request_parameters":{"type":"object"}}} |
model_request_parameters | {"function_tools":[],"native_tools":[],"tool_visibility":{},"revealed_tool_names":[],"introduced_tool_names":[],"deferred_capability_ids":[],"deferred_capabilities":[],"output_mode":"text","output_object":null,"output_tools":[],"prompted_output_template":null,"allow_text_output":true,"allow_image_output":false,"instruction_parts":null,"instruction_visibility":null,"thinking":null,"cache":null} |
server.address | 127.0.0.1 |
server.port | 37565 |
invoke_agent agent pydantic-ai, status UNSET
agent_name | agent |
final_result | The capital of France is Paris. |
gen_ai.agent.call.id | 01a21d17-1ca3-74d0-9890-0d2692408a52 |
gen_ai.agent.name | agent |
gen_ai.aggregated_usage.details.accepted_prediction_tokens | 0 |
gen_ai.aggregated_usage.details.audio_tokens | 0 |
gen_ai.aggregated_usage.details.reasoning_tokens | 1931 |
gen_ai.aggregated_usage.details.rejected_prediction_tokens | 0 |
gen_ai.aggregated_usage.input_tokens | 2089 |
gen_ai.aggregated_usage.output_tokens | 2459 |
gen_ai.conversation.id | 01a21d17-1ca3-74d0-9890-0d27ceee5eef |
gen_ai.operation.name | invoke_agent |
logfire.json_schema | {"type":"object","properties":{"pydantic_ai.all_messages":{"type":"array"},"final_result":{"type":"object"}}} |
logfire.msg | agent run |
model_name | gpt-5-mini |
pydantic_ai.all_messages | [{"role":"user","parts":[{"type":"text","content":"What is the capital of France?"}]},{"role":"assistant","parts":[{"type":"text","content":"The capital of France is Paris."}],"finish_reason":"stop"}] |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · anthropic/async-stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject sentry --scenario anthropic/async-stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
chat claude-sonnet-5-5 sentry_sdk.adapter, status ERROR
gen_ai.operation.name | chat |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_drop |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.streaming | True |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1427 |
gen_ai.usage.input_tokens.cache_write | 0 |
gen_ai.usage.input_tokens.cached | 0 |
gen_ai.usage.output_tokens | 1 |
gen_ai.usage.total_tokens | 1428 |
thread.id | 135212377163648 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · anthropic/async-stream-error-event · error.typeFalse OK #
- Reproduce
spantruth run --subject sentry --scenario anthropic/async-stream-error-event- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
chat claude-sonnet-5-5 sentry_sdk.adapter, status ERROR
gen_ai.operation.name | chat |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_overload |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.streaming | True |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1301 |
gen_ai.usage.input_tokens.cache_write | 0 |
gen_ai.usage.input_tokens.cached | 0 |
gen_ai.usage.output_tokens | 1 |
gen_ai.usage.total_tokens | 1302 |
thread.id | 140030967474048 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · anthropic/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject sentry --scenario anthropic/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
chat claude-sonnet-5-5 sentry_sdk.adapter, status ERROR
gen_ai.operation.name | chat |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.streaming | False |
gen_ai.system | anthropic |
thread.id | 134943307818880 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · anthropic/stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject sentry --scenario anthropic/stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
chat claude-sonnet-5-5 sentry_sdk.adapter, status ERROR
gen_ai.operation.name | chat |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_drop |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.streaming | True |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1427 |
gen_ai.usage.input_tokens.cache_write | 0 |
gen_ai.usage.input_tokens.cached | 0 |
gen_ai.usage.output_tokens | 1 |
gen_ai.usage.total_tokens | 1428 |
thread.id | 131373968152448 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · anthropic/stream-error-event · error.typeFalse OK #
- Reproduce
spantruth run --subject sentry --scenario anthropic/stream-error-event- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
chat claude-sonnet-5-5 sentry_sdk.adapter, status ERROR
gen_ai.operation.name | chat |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.id | msg_wt_overload |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.streaming | True |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1301 |
gen_ai.usage.input_tokens.cache_write | 0 |
gen_ai.usage.input_tokens.cached | 0 |
gen_ai.usage.output_tokens | 1 |
gen_ai.usage.total_tokens | 1302 |
thread.id | 127109202753408 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · anthropic/stream-thinking · reasoning_tokensHidden reasoning #
expected 1103, reported nothing
- Expected
1103- Reproduce
spantruth run --subject sentry --scenario anthropic/stream-thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
chat claude-sonnet-5-5 sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_sthink |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.streaming | True |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1831 |
gen_ai.usage.input_tokens.cache_write | 0 |
gen_ai.usage.input_tokens.cached | 0 |
gen_ai.usage.output_tokens | 1439 |
gen_ai.usage.total_tokens | 3270 |
thread.id | 133125328627584 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · anthropic/thinking · reasoning_tokensHidden reasoning #
expected 947, reported nothing
- Expected
947- Reproduce
spantruth run --subject sentry --scenario anthropic/thinking- Rule
- Output tokens used for reasoning. For Anthropic, thinking tokens reported in `output_tokens_details` map to this count. OpenInference records them as `llm.token_count.completion_details.reasoning`.
Exported spans (2)
chat claude-sonnet-5-5 sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.max_tokens | 1024 |
gen_ai.request.model | claude-sonnet-5-5 |
gen_ai.response.finish_reasons | ['end_turn'] |
gen_ai.response.id | msg_wt_thinking |
gen_ai.response.model | claude-sonnet-5-5-20260915 |
gen_ai.response.streaming | False |
gen_ai.system | anthropic |
gen_ai.usage.input_tokens | 1627 |
gen_ai.usage.input_tokens.cache_write | 0 |
gen_ai.usage.input_tokens.cached | 0 |
gen_ai.usage.output_tokens | 1273 |
gen_ai.usage.total_tokens | 2900 |
thread.id | 139283409143680 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · azure/async-basic · response_id #
expected chatcmpl-wt-azbasic, reported nothing
- Expected
chatcmpl-wt-azbasic- Reproduce
spantruth run --subject sentry --scenario azure/async-basic- Rule
- The unique identifier of the completion.
Exported spans (2)
chat wt-chat-deployment sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
thread.id | 139553704486784 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · azure/async-basic · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario azure/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat wt-chat-deployment sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
thread.id | 139553704486784 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · azure/async-stream · response_id #
expected chatcmpl-wt-azstream, reported nothing
- Expected
chatcmpl-wt-azstream- Reproduce
spantruth run --subject sentry --scenario azure/async-stream- Rule
- The unique identifier of the completion.
Exported spans (2)
chat wt-chat-deployment sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.04477913000005174 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.total_tokens | 2774 |
thread.id | 132504177592192 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · azure/async-stream · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario azure/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat wt-chat-deployment sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.04477913000005174 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.total_tokens | 2774 |
thread.id | 132504177592192 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · azure/basic · response_id #
expected chatcmpl-wt-azbasic, reported nothing
- Expected
chatcmpl-wt-azbasic- Reproduce
spantruth run --subject sentry --scenario azure/basic- Rule
- The unique identifier of the completion.
Exported spans (2)
chat wt-chat-deployment sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
thread.id | 134924325078912 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · azure/basic · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario azure/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat wt-chat-deployment sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
thread.id | 134924325078912 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · azure/stream · response_id #
expected chatcmpl-wt-azstream, reported nothing
- Expected
chatcmpl-wt-azstream- Reproduce
spantruth run --subject sentry --scenario azure/stream- Rule
- The unique identifier of the completion.
Exported spans (2)
chat wt-chat-deployment sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.011517281000124058 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.total_tokens | 2774 |
thread.id | 138660416759680 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · azure/stream · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario azure/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat wt-chat-deployment sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | wt-chat-deployment |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.011517281000124058 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2341 |
gen_ai.usage.output_tokens | 433 |
gen_ai.usage.total_tokens | 2774 |
thread.id | 138660416759680 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/async-stream · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject sentry --scenario gemini/async-stream- Rule
- The name of the model that generated the response.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | STOP |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
gen_ai.usage.total_tokens | 2764 |
thread.id | 129701982259072 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/async-stream · response_id #
expected wt-gemini-stream, reported nothing
- Expected
wt-gemini-stream- Reproduce
spantruth run --subject sentry --scenario gemini/async-stream- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | STOP |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
gen_ai.usage.total_tokens | 2764 |
thread.id | 129701982259072 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/async-stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject sentry --scenario gemini/async-stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status ERROR
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 1439 |
gen_ai.usage.output_tokens | 204 |
gen_ai.usage.total_tokens | 1643 |
thread.id | 130590017832832 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/async-stream-early-exit · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject sentry --scenario gemini/async-stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 1949 |
gen_ai.usage.output_tokens | 239 |
gen_ai.usage.total_tokens | 2188 |
thread.id | 127129389348736 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/async-stream-early-exit · response_id #
expected wt-gemini-early, reported nothing
- Expected
wt-gemini-early- Reproduce
spantruth run --subject sentry --scenario gemini/async-stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 1949 |
gen_ai.usage.output_tokens | 239 |
gen_ai.usage.total_tokens | 2188 |
thread.id | 127129389348736 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject sentry --scenario gemini/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status ERROR
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.system | gcp.gemini |
thread.id | 124353287501696 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/stream · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject sentry --scenario gemini/stream- Rule
- The name of the model that generated the response.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | STOP |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
gen_ai.usage.total_tokens | 2764 |
thread.id | 129881853745024 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/stream · response_id #
expected wt-gemini-stream, reported nothing
- Expected
wt-gemini-stream- Reproduce
spantruth run --subject sentry --scenario gemini/stream- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | STOP |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 2333 |
gen_ai.usage.output_tokens | 431 |
gen_ai.usage.total_tokens | 2764 |
thread.id | 129881853745024 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/stream-cache-hit · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject sentry --scenario gemini/stream-cache-hit- Rule
- The name of the model that generated the response.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | STOP |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 7229 |
gen_ai.usage.input_tokens.cached | 6151 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7752 |
thread.id | 136713774868352 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/stream-cache-hit · response_id #
expected wt-gemini-scache, reported nothing
- Expected
wt-gemini-scache- Reproduce
spantruth run --subject sentry --scenario gemini/stream-cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | STOP |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 7229 |
gen_ai.usage.input_tokens.cached | 6151 |
gen_ai.usage.output_tokens | 523 |
gen_ai.usage.total_tokens | 7752 |
thread.id | 136713774868352 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/stream-dropped · error.typeFalse OK #
- Reproduce
spantruth run --subject sentry --scenario gemini/stream-dropped- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status ERROR
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 1439 |
gen_ai.usage.output_tokens | 204 |
gen_ai.usage.total_tokens | 1643 |
thread.id | 126358328956800 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/stream-early-exit · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject sentry --scenario gemini/stream-early-exit- Rule
- The name of the model that generated the response.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 1949 |
gen_ai.usage.output_tokens | 239 |
gen_ai.usage.total_tokens | 2188 |
thread.id | 129872198821760 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/stream-early-exit · response_id #
expected wt-gemini-early, reported nothing
- Expected
wt-gemini-early- Reproduce
spantruth run --subject sentry --scenario gemini/stream-early-exit- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 1949 |
gen_ai.usage.output_tokens | 239 |
gen_ai.usage.total_tokens | 2188 |
thread.id | 129872198821760 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/stream-thinking · response_model #
expected gemini-3.5-flash-lite, reported nothing
- Expected
gemini-3.5-flash-lite- Reproduce
spantruth run --subject sentry --scenario gemini/stream-thinking- Rule
- The name of the model that generated the response.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | STOP |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 2316 |
gen_ai.usage.output_tokens.reasoning | 1999 |
gen_ai.usage.total_tokens | 4399 |
thread.id | 128960930248576 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · gemini/stream-thinking · response_id #
expected wt-gemini-sthink, reported nothing
- Expected
wt-gemini-sthink- Reproduce
spantruth run --subject sentry --scenario gemini/stream-thinking- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gemini-3.5-flash-lite sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gemini-3.5-flash-lite |
gen_ai.response.finish_reasons | STOP |
gen_ai.response.streaming | True |
gen_ai.system | gcp.gemini |
gen_ai.usage.input_tokens | 2083 |
gen_ai.usage.output_tokens | 2316 |
gen_ai.usage.output_tokens.reasoning | 1999 |
gen_ai.usage.total_tokens | 4399 |
thread.id | 128960930248576 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/agent-loop · response_id #
expected chatcmpl-wt-loop1, reported nothing: call 1 of 3; failed on calls 1, 2, 3
- Expected
chatcmpl-wt-loop1- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject sentry --scenario openai/agent-loop- Rule
- The unique identifier of the completion.
Exported spans (4)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.total_tokens | 1268 |
thread.id | 126446165886848 |
thread.name | MainThread |
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.input_tokens.cached | 1093 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.total_tokens | 1396 |
thread.id | 126446165886848 |
thread.name | MainThread |
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.input_tokens.cached | 1279 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.total_tokens | 1670 |
thread.id | 126446165886848 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/agent-loop · finish_reasonsSilent stop #
expected tool_calls, reported nothing: call 1 of 3; failed on calls 1, 2, 3
- Expected
['tool_calls']- Note
call 1 of 3; failed on calls 1, 2, 3- Reproduce
spantruth run --subject sentry --scenario openai/agent-loop- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (4)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1171 |
gen_ai.usage.output_tokens | 97 |
gen_ai.usage.total_tokens | 1268 |
thread.id | 126446165886848 |
thread.name | MainThread |
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1307 |
gen_ai.usage.input_tokens.cached | 1093 |
gen_ai.usage.output_tokens | 89 |
gen_ai.usage.total_tokens | 1396 |
thread.id | 126446165886848 |
thread.name | MainThread |
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1459 |
gen_ai.usage.input_tokens.cached | 1279 |
gen_ai.usage.output_tokens | 211 |
gen_ai.usage.total_tokens | 1670 |
thread.id | 126446165886848 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-basic · response_id #
expected chatcmpl-wt-basic, reported nothing
- Expected
chatcmpl-wt-basic- Reproduce
spantruth run --subject sentry --scenario openai/async-basic- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
thread.id | 125878441392000 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-basic · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/async-basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
thread.id | 125878441392000 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-concurrent-streams · response_id #
expected chatcmpl-wt-par1, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
chatcmpl-wt-par1- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject sentry --scenario openai/async-concurrent-streams- Rule
- The unique identifier of the completion.
Exported spans (3)
chat gpt-5-nano sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-nano |
gen_ai.response.model | gpt-5-nano-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.046136227999795665 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.total_tokens | 1928 |
thread.id | 133200440121216 |
thread.name | MainThread |
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.049519235999923694 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.input_tokens.cached | 769 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.total_tokens | 1182 |
thread.id | 133200440121216 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-concurrent-streams · finish_reasonsSilent stop #
expected stop, reported nothing: call 1 of 2; failed on calls 1, 2
- Expected
['stop']- Note
call 1 of 2; failed on calls 1, 2- Reproduce
spantruth run --subject sentry --scenario openai/async-concurrent-streams- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (3)
chat gpt-5-nano sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-nano |
gen_ai.response.model | gpt-5-nano-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.046136227999795665 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1747 |
gen_ai.usage.output_tokens | 181 |
gen_ai.usage.total_tokens | 1928 |
thread.id | 133200440121216 |
thread.name | MainThread |
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.049519235999923694 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1033 |
gen_ai.usage.input_tokens.cached | 769 |
gen_ai.usage.output_tokens | 149 |
gen_ai.usage.total_tokens | 1182 |
thread.id | 133200440121216 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-stream · response_id #
expected chatcmpl-wt-stream, reported nothing
- Expected
chatcmpl-wt-stream- Reproduce
spantruth run --subject sentry --scenario openai/async-stream- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.0459244779999608 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
thread.id | 136653762324352 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-stream · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/async-stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.0459244779999608 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
thread.id | 136653762324352 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
lost sentry · openai/async-stream-dropped · span.endedGhost span #
never ended: gen_ai.chat
- Note
never ended: gen_ai.chat- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/async-stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost sentry · openai/async-stream-early-exit · span.endedGhost span #
never ended: gen_ai.chat
- Note
never ended: gen_ai.chat- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/async-stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/async-stream-helper- Rule
- The name of the model that generated the response.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | True |
gen_ai.system | openai |
thread.id | 130462825265024 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-stream-helper · response_id #
expected chatcmpl-wt-shelper, reported nothing
- Expected
chatcmpl-wt-shelper- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/async-stream-helper- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | True |
gen_ai.system | openai |
thread.id | 130462825265024 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-stream-helper · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/async-stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | True |
gen_ai.system | openai |
thread.id | 130462825265024 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-stream-helper · input_tokensVanishing tokens #
expected 2137, reported nothing
- Expected
2137- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/async-stream-helper- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | True |
gen_ai.system | openai |
thread.id | 130462825265024 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/async-stream-helper · output_tokensVanishing tokens #
expected 313, reported nothing
- Expected
313- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/async-stream-helper- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | True |
gen_ai.system | openai |
thread.id | 130462825265024 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/basic · response_id #
expected chatcmpl-wt-basic, reported nothing
- Expected
chatcmpl-wt-basic- Reproduce
spantruth run --subject sentry --scenario openai/basic- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
thread.id | 140111190693760 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/basic · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/basic- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
thread.id | 140111190693760 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/cache-hit · response_id #
expected chatcmpl-wt-cache, reported nothing
- Expected
chatcmpl-wt-cache- Reproduce
spantruth run --subject sentry --scenario openai/cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 5379 |
gen_ai.usage.input_tokens.cached | 4096 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.total_tokens | 5756 |
thread.id | 123976127162240 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/cache-hit · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 5379 |
gen_ai.usage.input_tokens.cached | 4096 |
gen_ai.usage.output_tokens | 377 |
gen_ai.usage.total_tokens | 5756 |
thread.id | 123976127162240 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/cache-write · response_id #
expected chatcmpl-wt-cwrite, reported nothing
- Expected
chatcmpl-wt-cwrite- Cost
- $0.00147 on the wire, $0.00131 from the spans (-10.8%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/cache-write- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5.6-luna sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.input_tokens.cached | 2753 |
gen_ai.usage.output_tokens | 401 |
gen_ai.usage.total_tokens | 7020 |
thread.id | 136515648817024 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/cache-write · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Cost
- $0.00147 on the wire, $0.00131 from the spans (-10.8%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/cache-write- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5.6-luna sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.input_tokens.cached | 2753 |
gen_ai.usage.output_tokens | 401 |
gen_ai.usage.total_tokens | 7020 |
thread.id | 136515648817024 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/cache-write · cache_write_tokensCache-blind tokens #
expected 3181, reported nothing
- Expected
3181- Cost
- $0.00147 on the wire, $0.00131 from the spans (-10.8%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/cache-write- Rule
- Input tokens written to the provider cache.
Exported spans (2)
chat gpt-5.6-luna sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 6619 |
gen_ai.usage.input_tokens.cached | 2753 |
gen_ai.usage.output_tokens | 401 |
gen_ai.usage.total_tokens | 7020 |
thread.id | 136515648817024 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-extra-cache-fields · response_id #
expected 9f3c2a71-5b8e-4d0a-a6c4-2e17d8b0f5a3, reported nothing
- Expected
9f3c2a71-5b8e-4d0a-a6c4-2e17d8b0f5a3- Reproduce
spantruth run --subject sentry --scenario openai/compat-extra-cache-fields- Rule
- The unique identifier of the completion.
Exported spans (2)
chat deepseek-flash sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | deepseek-flash |
gen_ai.response.model | deepseek-flash |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1931 |
gen_ai.usage.input_tokens.cached | 1408 |
gen_ai.usage.output_tokens | 397 |
gen_ai.usage.total_tokens | 2328 |
thread.id | 129105148254080 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-extra-cache-fields · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/compat-extra-cache-fields- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat deepseek-flash sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | deepseek-flash |
gen_ai.response.model | deepseek-flash |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1931 |
gen_ai.usage.input_tokens.cached | 1408 |
gen_ai.usage.output_tokens | 397 |
gen_ai.usage.total_tokens | 2328 |
thread.id | 129105148254080 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-extra-timing-fields · response_id #
expected chatcmpl-f51b2cd2-bef7-417e-964e-a08f0b513c22, reported nothing
- Expected
chatcmpl-f51b2cd2-bef7-417e-964e-a08f0b513c22- Reproduce
spantruth run --subject sentry --scenario openai/compat-extra-timing-fields- Rule
- The unique identifier of the completion.
Exported spans (2)
chat llama-3.3-70b-versatile sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | llama-3.3-70b-versatile |
gen_ai.response.model | openai/gpt-oss-20b |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 556 |
gen_ai.usage.total_tokens | 574 |
thread.id | 138053651613568 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-extra-timing-fields · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/compat-extra-timing-fields- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat llama-3.3-70b-versatile sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | llama-3.3-70b-versatile |
gen_ai.response.model | openai/gpt-oss-20b |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 18 |
gen_ai.usage.output_tokens | 556 |
gen_ai.usage.total_tokens | 574 |
thread.id | 138053651613568 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-no-details · response_id #
expected chatcmpl-wt-cnodet, reported nothing
- Expected
chatcmpl-wt-cnodet- Reproduce
spantruth run --subject sentry --scenario openai/compat-no-details- Rule
- The unique identifier of the completion.
Exported spans (2)
chat qwen3.5-27b sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1129 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.total_tokens | 1370 |
thread.id | 132866607265664 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-no-details · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/compat-no-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat qwen3.5-27b sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1129 |
gen_ai.usage.output_tokens | 241 |
gen_ai.usage.total_tokens | 1370 |
thread.id | 132866607265664 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-null-details · response_id #
expected chatcmpl-wt-cnull, reported nothing
- Expected
chatcmpl-wt-cnull- Reproduce
spantruth run --subject sentry --scenario openai/compat-null-details- Rule
- The unique identifier of the completion.
Exported spans (2)
chat qwen3.5-27b sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
thread.id | 125100780177280 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-null-details · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/compat-null-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat qwen3.5-27b sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1213 |
gen_ai.usage.output_tokens | 277 |
gen_ai.usage.total_tokens | 1490 |
thread.id | 125100780177280 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-partial-details · response_id #
expected chatcmpl-54, reported nothing
- Expected
chatcmpl-54- Reproduce
spantruth run --subject sentry --scenario openai/compat-partial-details- Rule
- The unique identifier of the completion.
Exported spans (2)
chat qwen3.5:0.8b sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | qwen3.5:0.8b |
gen_ai.response.model | qwen3.5:0.8b |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 32 |
gen_ai.usage.input_tokens.cached | 28 |
gen_ai.usage.output_tokens | 16 |
gen_ai.usage.total_tokens | 48 |
thread.id | 136780747642752 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-partial-details · finish_reasonsSilent stop #
expected length, reported nothing
- Expected
['length']- Reproduce
spantruth run --subject sentry --scenario openai/compat-partial-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat qwen3.5:0.8b sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | qwen3.5:0.8b |
gen_ai.response.model | qwen3.5:0.8b |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 32 |
gen_ai.usage.input_tokens.cached | 28 |
gen_ai.usage.output_tokens | 16 |
gen_ai.usage.total_tokens | 48 |
thread.id | 136780747642752 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-stream-no-details · response_id #
expected chatcmpl-wt-csnodet, reported nothing
- Expected
chatcmpl-wt-csnodet- Reproduce
spantruth run --subject sentry --scenario openai/compat-stream-no-details- Rule
- The unique identifier of the completion.
Exported spans (2)
chat qwen3.5-27b sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.010364758000150687 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1361 |
gen_ai.usage.output_tokens | 293 |
gen_ai.usage.total_tokens | 1654 |
thread.id | 125111000872832 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-stream-no-details · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/compat-stream-no-details- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat qwen3.5-27b sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.010364758000150687 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1361 |
gen_ai.usage.output_tokens | 293 |
gen_ai.usage.total_tokens | 1654 |
thread.id | 125111000872832 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-stream-usage-on-finish · response_id #
expected chatcmpl-wt-csfinish, reported nothing
- Expected
chatcmpl-wt-csfinish- Reproduce
spantruth run --subject sentry --scenario openai/compat-stream-usage-on-finish- Rule
- The unique identifier of the completion.
Exported spans (2)
chat qwen3.5-27b sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.010767654000119364 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.input_tokens.cached | 1063 |
gen_ai.usage.output_tokens | 331 |
gen_ai.usage.total_tokens | 1820 |
thread.id | 133921031616384 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/compat-stream-usage-on-finish · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/compat-stream-usage-on-finish- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat qwen3.5-27b sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | qwen3.5-27b |
gen_ai.response.model | Qwen/Qwen3.5-27B-Instruct |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.010767654000119364 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1489 |
gen_ai.usage.input_tokens.cached | 1063 |
gen_ai.usage.output_tokens | 331 |
gen_ai.usage.total_tokens | 1820 |
thread.id | 133921031616384 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/content-off · response_id #
expected chatcmpl-wt-basic, reported nothing
- Expected
chatcmpl-wt-basic- Reproduce
spantruth run --subject sentry --scenario openai/content-off- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
thread.id | 140303145650048 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/content-off · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
thread.id | 140303145650048 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/content-on · response_id #
expected chatcmpl-wt-basic, reported nothing
- Expected
chatcmpl-wt-basic- Reproduce
spantruth run --subject sentry --scenario openai/content-on- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.messages | [{"role": "user", "content": "What is the capital of France?"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.response.text | {"content": "The capital of France is Paris.", "refusal": "None", "role": "assistant", "annotations": [], "audio": "None", "function_call": "None", "tool_calls": "None"} |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
thread.id | 140349937158016 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/content-on · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.messages | [{"role": "user", "content": "What is the capital of France?"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.response.text | {"content": "The capital of France is Paris.", "refusal": "None", "role": "assistant", "annotations": [], "audio": "None", "function_call": "None", "tool_calls": "None"} |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1187 |
gen_ai.usage.output_tokens | 263 |
gen_ai.usage.total_tokens | 1450 |
thread.id | 140349937158016 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/rate-limited · error.typeFalse OK #
- Reproduce
spantruth run --subject sentry --scenario openai/rate-limited- Rule
- `error.type` is conditionally required if the operation ended in an error. Any low-cardinality identifier is allowed, so only its presence is graded.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status ERROR
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | False |
gen_ai.system | openai |
thread.id | 139520161200000 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/reasoning · response_id #
expected chatcmpl-wt-reason, reported nothing
- Expected
chatcmpl-wt-reason- Reproduce
spantruth run --subject sentry --scenario openai/reasoning- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
gen_ai.usage.output_tokens.reasoning | 1792 |
gen_ai.usage.total_tokens | 3820 |
thread.id | 130694967592832 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/reasoning · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/reasoning- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 1601 |
gen_ai.usage.output_tokens | 2219 |
gen_ai.usage.output_tokens.reasoning | 1792 |
gen_ai.usage.total_tokens | 3820 |
thread.id | 130694967592832 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
lost sentry · openai/responses-stream-missing-finish-abort · span.endedGhost span #
never ended: gen_ai.responses
- Note
never ended: gen_ai.responses- Reproduce
spantruth run --subject sentry --scenario openai/responses-stream-missing-finish-abort- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/retry-429 · response_id #
expected chatcmpl-wt-retry, reported nothing
- Expected
chatcmpl-wt-retry- Reproduce
spantruth run --subject sentry --scenario openai/retry-429- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.total_tokens | 2844 |
thread.id | 136783927351168 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/retry-429 · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/retry-429- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2477 |
gen_ai.usage.output_tokens | 367 |
gen_ai.usage.total_tokens | 2844 |
thread.id | 136783927351168 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream · response_id #
expected chatcmpl-wt-stream, reported nothing
- Expected
chatcmpl-wt-stream- Reproduce
spantruth run --subject sentry --scenario openai/stream- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.018136593999997785 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
thread.id | 137014766258048 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/stream- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.018136593999997785 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
thread.id | 137014766258048 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-cache-hit · response_id #
expected chatcmpl-wt-scache, reported nothing
- Expected
chatcmpl-wt-scache- Reproduce
spantruth run --subject sentry --scenario openai/stream-cache-hit- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.014252295999995113 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.input_tokens.cached | 6144 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 7724 |
thread.id | 131327500781440 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-cache-hit · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/stream-cache-hit- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.014252295999995113 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 7213 |
gen_ai.usage.input_tokens.cached | 6144 |
gen_ai.usage.output_tokens | 511 |
gen_ai.usage.total_tokens | 7724 |
thread.id | 131327500781440 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-cache-write · response_id #
expected chatcmpl-wt-scwrite, reported nothing
- Expected
chatcmpl-wt-scwrite- Cost
- $0.00166 on the wire, $0.00148 from the spans (-10.7%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-cache-write- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5.6-luna sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.017347506999840334 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.input_tokens.cached | 3967 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
thread.id | 140325661308800 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-cache-write · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Cost
- $0.00166 on the wire, $0.00148 from the spans (-10.7%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-cache-write- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5.6-luna sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.017347506999840334 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.input_tokens.cached | 3967 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
thread.id | 140325661308800 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-cache-write · cache_write_tokensCache-blind tokens #
expected 3539, reported nothing
- Expected
3539- Cost
- $0.00166 on the wire, $0.00148 from the spans (-10.7%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-cache-write- Rule
- Input tokens written to the provider cache.
Exported spans (2)
chat gpt-5.6-luna sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5.6-luna |
gen_ai.response.model | gpt-5.6-luna-2026-10-14 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.017347506999840334 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 8237 |
gen_ai.usage.input_tokens.cached | 3967 |
gen_ai.usage.output_tokens | 457 |
gen_ai.usage.total_tokens | 8694 |
thread.id | 140325661308800 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-content-off · response_id #
expected chatcmpl-wt-stream, reported nothing
- Expected
chatcmpl-wt-stream- Reproduce
spantruth run --subject sentry --scenario openai/stream-content-off- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.010492771999906836 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
thread.id | 136013440767872 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-content-off · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/stream-content-off- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.010492771999906836 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
thread.id | 136013440767872 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-content-on · response_id #
expected chatcmpl-wt-stream, reported nothing
- Expected
chatcmpl-wt-stream- Reproduce
spantruth run --subject sentry --scenario openai/stream-content-on- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.messages | [{"role": "user", "content": "What is the capital of France?"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.text | The capital of France is Paris. |
gen_ai.response.time_to_first_token | 0.010748893000027238 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
thread.id | 132295024232320 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-content-on · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/stream-content-on- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.messages | [{"role": "user", "content": "What is the capital of France?"}] |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.text | The capital of France is Paris. |
gen_ai.response.time_to_first_token | 0.010748893000027238 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2311 |
gen_ai.usage.output_tokens | 419 |
gen_ai.usage.total_tokens | 2730 |
thread.id | 132295024232320 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
lost sentry · openai/stream-dropped · span.endedGhost span #
never ended: gen_ai.chat
- Note
never ended: gen_ai.chat- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-dropped- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost sentry · openai/stream-early-exit · span.endedGhost span #
never ended: gen_ai.chat
- Note
never ended: gen_ai.chat- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-early-exit- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
lost sentry · openai/stream-early-exit-with · span.endedGhost span #
never ended: gen_ai.chat
- Note
never ended: gen_ai.chat- Cost
- Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-early-exit-with- Rule
- GenAI spans SHOULD end when the response is fully received or the operation is terminated due to an error or cancellation.
Exported spans (1)
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-helper · response_model #
expected gpt-5-mini-2026-08-07, reported nothing
- Expected
gpt-5-mini-2026-08-07- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-helper- Rule
- The name of the model that generated the response.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | True |
gen_ai.system | openai |
thread.id | 124849010124672 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-helper · response_id #
expected chatcmpl-wt-shelper, reported nothing
- Expected
chatcmpl-wt-shelper- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-helper- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | True |
gen_ai.system | openai |
thread.id | 124849010124672 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-helper · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-helper- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | True |
gen_ai.system | openai |
thread.id | 124849010124672 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-helper · input_tokensVanishing tokens #
expected 2137, reported nothing
- Expected
2137- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-helper- Rule
- Input tokens SHOULD include all types of input tokens, including cached tokens. For Anthropic, whose `input_tokens` excludes them, cache reads and cache writes MUST be added. Gemini's `promptTokenCount` is the total effective prompt size, cached content included (ai.google.dev/api/generate-content#UsageMetadata). OpenInference states the same rule for `llm.token_count.prompt`.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | True |
gen_ai.system | openai |
thread.id | 124849010124672 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-helper · output_tokensVanishing tokens #
expected 313, reported nothing
- Expected
313- Cost
- $0.00116 on the wire. Nothing reaches a backend (-100%), at list price.
- Reproduce
spantruth run --subject sentry --scenario openai/stream-helper- Rule
- Output tokens, with reasoning tokens included. For Anthropic, whose `output_tokens` includes thinking tokens, reasoning tokens are part of, not in addition to, output tokens. For Gemini, whose `candidatesTokenCount` excludes `thoughtsTokenCount`, the two are added. OpenInference states the same rule for `llm.token_count.completion`.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.streaming | True |
gen_ai.system | openai |
thread.id | 124849010124672 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-no-usage · response_id #
expected chatcmpl-wt-nousage, reported nothing
- Expected
chatcmpl-wt-nousage- Reproduce
spantruth run --subject sentry --scenario openai/stream-no-usage- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.020257327000081204 |
gen_ai.system | openai |
thread.id | 125582472365952 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-no-usage · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/stream-no-usage- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.020257327000081204 |
gen_ai.system | openai |
thread.id | 125582472365952 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-reasoning · response_id #
expected chatcmpl-wt-sreason, reported nothing
- Expected
chatcmpl-wt-sreason- Reproduce
spantruth run --subject sentry --scenario openai/stream-reasoning- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.01594315900001675 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.output_tokens.reasoning | 1931 |
gen_ai.usage.total_tokens | 4548 |
thread.id | 125348610082688 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-reasoning · finish_reasonsSilent stop #
expected stop, reported nothing
- Expected
['stop']- Reproduce
spantruth run --subject sentry --scenario openai/stream-reasoning- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.01594315900001675 |
gen_ai.system | openai |
gen_ai.usage.input_tokens | 2089 |
gen_ai.usage.output_tokens | 2459 |
gen_ai.usage.output_tokens.reasoning | 1931 |
gen_ai.usage.total_tokens | 4548 |
thread.id | 125348610082688 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-tool-call · response_id #
expected chatcmpl-wt-stools, reported nothing
- Expected
chatcmpl-wt-stools- Reproduce
spantruth run --subject sentry --scenario openai/stream-tool-call- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.017883675999883053 |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.total_tokens | 1726 |
thread.id | 132885329966976 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/stream-tool-call · finish_reasonsSilent stop #
expected tool_calls, reported nothing
- Expected
['tool_calls']- Reproduce
spantruth run --subject sentry --scenario openai/stream-tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | True |
gen_ai.response.time_to_first_token | 0.017883675999883053 |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 1553 |
gen_ai.usage.output_tokens | 173 |
gen_ai.usage.total_tokens | 1726 |
thread.id | 132885329966976 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/tool-call · response_id #
expected chatcmpl-wt-tools, reported nothing
- Expected
chatcmpl-wt-tools- Reproduce
spantruth run --subject sentry --scenario openai/tool-call- Rule
- The unique identifier of the completion.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.total_tokens | 1019 |
thread.id | 128582335596416 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
missing sentry · openai/tool-call · finish_reasonsSilent stop #
expected tool_calls, reported nothing
- Expected
['tool_calls']- Reproduce
spantruth run --subject sentry --scenario openai/tool-call- Rule
- One finish reason per choice, as received. A normalized value is accepted too.
Exported spans (2)
chat gpt-5-mini sentry_sdk.adapter, status UNSET
gen_ai.operation.name | chat |
gen_ai.request.model | gpt-5-mini |
gen_ai.response.model | gpt-5-mini-2026-08-07 |
gen_ai.response.streaming | False |
gen_ai.system | openai |
gen_ai.tool.definitions | [{"type": "function", "name": "get_weather", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}}}, {"type": "function", "name": "get_time", "parameters": {"type": "object", "properties": {"zone": {"type": "string"}}}}] |
gen_ai.usage.input_tokens | 931 |
gen_ai.usage.output_tokens | 88 |
gen_ai.usage.total_tokens | 1019 |
thread.id | 128582335596416 |
thread.name | MainThread |
spantruth.scenario spantruth.driver, status UNSET
Subjects and versions
- anthropic-sdk: Anthropic SDK, built-in tracing. The SDK's own spans, with no instrumentation library. On by default since anthropic 1.14.0 when a tracer provider is registered. anthropic 2.4.0, google-genai 3.6.1, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2
- ddtrace: Datadog ddtrace LLM Observability. ddtrace spans are not OpenTelemetry spans. A local adapter in instrument.py shows ddtrace's own LLM spans to the harness: tag and metric keys and values are unchanged, span.error becomes ERROR, and a span ddtrace never finishes stays open and is lost. span.parented comes from the adapter, not from ddtrace, whose spans form their own trace. What is graded is the APM span with its gen_ai.* tags, not the LLMObs event sent to Datadog, which holds finish_reason in its metadata. OpenAI's response model is also on the tag openai.response.model, a name the suite does not read. No Agent and no account: LLMObs.enable(agentless_enabled=False) tries a local Agent on 127.0.0.1:8126, finds none and drops the events. Telemetry and remote configuration are off. anthropic 2.4.0, ddtrace 4.16.3, google-genai 3.6.1, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2
- langchain-openinference: LangChain with OpenInference. A framework: the app calls a LangChain chat model (ChatOpenAI or ChatAnthropic), and LangChain calls the provider SDK. The LangChain v1 docs show init_chat_model first, which builds this same ChatOpenAI or ChatAnthropic object (langchain/chat_models/base.py in langchain 1.5.2). The documented setup, LangChainInstrumentor().instrument(tracer_provider=...). LangChain's spans are graded, so the provider SDKs are not instrumented. Not run: the OpenAI SDK's with_streaming_response helper, which LangChain does not call, and the two stream-early-exit-with scenarios, because a LangChain stream is a generator with no with block. LangSmith tracing is off. anthropic 2.4.0, google-genai 3.6.1, langchain-anthropic 1.7.13, langchain-core 1.8.5, langchain-openai 1.8.5, openai 3.42.1, openinference-instrumentation-langchain 0.1.90, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2
- langchain-openllmetry: LangChain with OpenLLMetry. A framework: the app calls a LangChain chat model (ChatOpenAI or ChatAnthropic), and LangChain calls the provider SDK. The LangChain v1 docs show init_chat_model first, which builds this same ChatOpenAI or ChatAnthropic object (langchain/chat_models/base.py in langchain 1.5.2). The documented setup, OpenLLMetry's LangchainInstrumentor().instrument(tracer_provider=...). LangChain's spans are graded, so the provider SDKs are not instrumented. Not run: the OpenAI SDK's with_streaming_response helper, which LangChain does not call, and the two stream-early-exit-with scenarios, because a LangChain stream is a generator with no with block. LangSmith tracing is off. anthropic 2.4.0, google-genai 3.6.1, langchain-anthropic 1.7.13, langchain-core 1.8.5, langchain-openai 1.8.5, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-instrumentation-langchain 0.63.1, opentelemetry-sdk 1.45.2
- langfuse: Langfuse Python SDK. The documented setup: from langfuse.openai import openai, with a throwaway key so Langfuse does not turn itself off. base_url points at the harness receiver so Langfuse's own export does not attempt an outbound connection; any POST to its own path (/api/public/otel/v1/traces) is answered 200 by the receiver. The driver's tracer provider exports the span to /v1/traces. anthropic 2.4.0, google-genai 3.6.1, langfuse 5.2.0, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2
- litellm: LiteLLM. A framework: the app calls litellm.completion, and LiteLLM makes the provider call. The documented setup, litellm.callbacks = ["otel"], with LiteLLM's default conventions. The OpenAI Responses API and the OpenAI SDK's with_streaming_response helper are not LiteLLM calls, so those scenarios are not run. Nor is anthropic/retry-429: LiteLLM's Anthropic client is not the Anthropic SDK and does not retry, and LiteLLM's own retries (num_retries) need tenacity, which LiteLLM does not install. Also not run: a sync call without a stream (basic, cache, tool-call, reasoning, thinking, retry, rate-limited) and an async stream (async-stream, async-stream-dropped, async-stream-error-event). When the app has a span around the call, LiteLLM makes no span of its own for these calls. It writes its attributes and its error status onto the app's span (should_create_primary_span in litellm/integrations/opentelemetry.py, lines 1461 and 2246; USE_OTEL_LITELLM_REQUEST_SPAN turns this off). On a sync call it does so from a thread after the call returns, so they are often lost when the app's span has already ended. spantruth has no check yet for a library that writes onto a span it did not create, and grading these calls as a ghost span would be false where the attributes arrive. The environment turns off LiteLLM's fetches of its cost map and Anthropic beta-header table. anthropic 2.4.0, google-genai 3.6.1, litellm 1.111.0, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2
- logfire: Pydantic Logfire. The Gemini cells run google-genai 2.34.0, the newest 2.x release: opentelemetry-instrumentation-google-genai 1.3b0 declares google-genai < 3 and instruments nothing with 3.x (package.py). Its main branch allows < 4, unreleased on 2026-11-26. anthropic 2.4.0, google-genai 2.34.0, logfire 5.4.0, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-instrumentation-google-genai 1.3b0, opentelemetry-sdk 1.45.2
- mlflow: MLflow Tracing. MLflow's own OTLP export with its own option MLFLOW_ENABLE_OTEL_GENAI_SEMCONV=true, which translates mlflow.* attributes to GenAI names before export. No adapter. The findings on tokens and models are about that translation: MLflow's native attribute mlflow.chat.tokenUsage keeps the cache counts. The driver's provider also exports the untranslated copy of each span, which the suite does not grade. MLFLOW_USE_DEFAULT_TRACER_PROVIDER=false joins the app's trace, and mlflow.tracing.enable() sets up the processors before the app's parent span starts. MLFLOW_DISABLE_TELEMETRY=true stops the usage telemetry fetch and post (mlflow/telemetry/client.py). anthropic 2.4.0, google-genai 3.6.1, mlflow-skinny 3.18.0, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2
- openai-agents: OpenAI Agents SDK (OpenInference). A framework: the app runs an Agent with Runner, and the Agents SDK makes the call through OpenAIChatCompletionsModel, or OpenAIResponsesModel for a Responses scenario. The SDK's tracing page lists external processors; the OpenTelemetry one among them is OpenInference's OpenAIAgentsInstrumentor, used here as its README shows first. It replaces the SDK's exporter to the OpenAI backend. A tool scenario gives the agent the two tools and tool_use_behavior="stop_on_first_tool", so the run ends after the first tool call. The SDK streams only from an event loop, so each sync stream scenario makes the same call as its async twin. The request_model cells are debatable: OpenInference records the requested model as llm.model_name, which spantruth reads as the response model, and it names no request model separately. Not run: the early exits (Runner reads the model stream in a background task, run.py's run_loop_task, and queues its events, so how far the SDK reads does not depend on how far the app reads: with the fake provider it reads the whole stream before the app reads its second event, and the scenario's truth, what the app read, does not apply), the OpenAI SDK's with_streaming_response helper and the with-block early exits (no Agents SDK call has either). anthropic 2.4.0, google-genai 3.6.1, openai 3.42.1, openai-agents 0.26.0, openinference-instrumentation-openai-agents 2.8.7, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2
- openinference: OpenInference. anthropic 2.4.0, google-genai 3.6.1, openai 3.42.1, openinference-instrumentation-anthropic 3.3.0, openinference-instrumentation-google-genai 1.6.7, openinference-instrumentation-openai 0.1.69, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2
- openlit: OpenLIT. anthropic 0.125.0, google-genai 3.6.1, openai 2.54.0, openlit 1.45.0, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2
- openllmetry: OpenLLMetry. anthropic 2.4.0, google-genai 3.6.1, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-instrumentation-anthropic 0.62.4, opentelemetry-instrumentation-google-generativeai 0.62.4, opentelemetry-instrumentation-openai 0.62.4, opentelemetry-sdk 1.45.2
- otel-official: OpenTelemetry GenAI instrumentation. The Gemini cells run google-genai 2.34.0, the newest 2.x release: opentelemetry-instrumentation-google-genai 1.3b0 declares google-genai < 3 and instruments nothing with 3.x (package.py). Its main branch allows < 4, unreleased on 2026-11-26. anthropic 2.4.0, google-genai 2.34.0, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-instrumentation-genai-anthropic 1.3b0, opentelemetry-instrumentation-genai-openai 1.3b0, opentelemetry-instrumentation-google-genai 1.3b0, opentelemetry-sdk 1.45.2
- otel-official-sdk-on: OpenTelemetry GenAI instrumentation, with the Anthropic SDK's own tracing left on. What an app gets by default: this library passes every scenario alone, so each difference here comes from the SDK tracing itself since anthropic 1.14.0. The other subjects turn the SDK's spans off with ANTHROPIC_OPEN_TELEMETRY=false. anthropic 2.4.0, google-genai 3.6.1, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-instrumentation-genai-anthropic 1.3b0, opentelemetry-sdk 1.45.2
- pydantic-ai: Pydantic AI. A framework: the app runs a Pydantic AI Agent over OpenAIChatModel (OpenAIResponsesModel for the Responses API) or AnthropicModel, with the provider's base_url at the fake provider. The documented setup for an OpenTelemetry backend other than Logfire: a global tracer provider and Agent.instrument_all(), with the default settings. The docs show logfire.configure() first, but that is Logfire's setup, which the logfire subject grades; this subject grades Pydantic AI's own instrumentation with no Logfire installed. For a tool scenario the agent gets the tools as an ExternalToolset with DeferredToolRequests as a possible output, the documented way for tools that the app runs itself, so the run ends after the one response that calls them. openai is 3.50.0, the oldest version that pydantic-ai-slim[openai] 2.75.0 accepts (it requires openai>=3.50.0). Not run: the with-block scenarios, because Pydantic AI reads every stream inside its own context manager, so they are the same call as the early-exit scenarios; and the OpenAI SDK's with_streaming_response helper, which is not a Pydantic AI call. anthropic 2.4.0, google-genai 3.6.1, openai 3.50.0, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2, pydantic-ai-slim 2.75.0
- sentry: Sentry SDK. Sentry spans are not OpenTelemetry spans, and the SDK has no OTLP export for them (its OTLP integration sends OpenTelemetry spans to Sentry). A local adapter in instrument.py shows the SDK's own gen_ai spans to the harness: span data keys and values are unchanged, a Sentry status other than ok becomes ERROR, and a span the SDK never finishes stays open and is lost. span.parented comes from the adapter, not from Sentry, whose spans form their own trace. No DSN and no account: without a DSN the SDK has no transport, so nothing is sent. The adapter serves 2.x and 3.x: Sentry SDK 3.0 removed the transaction-based spans, so on 3.x it reads the streamed spans, whose op is the sentry.op attribute and whose data are their attributes. The setup is sentry_sdk.init(traces_sample_rate=1.0) in both versions. anthropic 2.4.0, google-genai 3.6.1, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2, sentry-sdk 2.74.0
- control-faulty: Control: reference instrumentation with planted faults. Must fail exactly the checks listed in expected.toml. If it does not, the suite is wrong. anthropic 2.4.0, google-genai 3.6.1, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2
- control-honest: Control: reference instrumentation. Must pass every check. If it does not, the suite is wrong, not a library. anthropic 2.4.0, google-genai 3.6.1, openai 3.42.1, opentelemetry-exporter-otlp-proto-http 1.45.2, opentelemetry-sdk 1.45.2