Expand description
Wire-format identifiers for ProviderTelemetry::source. Keep these in
sync with the matching strings in docs/src/observability/* and the
The host eval aggregator.
Constants§
- ANTHROPIC_
USAGE - Anthropic Messages API — usage counts only; no timings.
- GEMINI_
USAGE - Google Gemini
usageMetadatablock fromgenerateContent. - LLAMACPP_
TIMINGS - llama.cpp
usage.timingsextension (prompt_ms,predicted_ms,predicted_n,prompt_n, …). Preserved verbatim from the non-OpenAI subset. - OLLAMA_
CHAT - Ollama
/api/chatNDJSON stream — full timing breakdown. - OLLAMA_
GENERATE - Ollama
/api/generate(raw) — full timing breakdown. - OPENAI_
USAGE - OpenAI-style
usageblock (prompt/completion tokens, optional cache details). No server-side timings unless the runtime extends the schema. - UNKNOWN
- Provider responded but we did not capture anything beyond what
already lives on
LlmResult(e.g. mock / fake providers, or a stream that finished without a usage frame).