v0.7.0 — Anthropic + Google GenAI integrations
Adds tracing integrations for two more providers, alongside the existing LangChain, OpenAI, and OpenTelemetry support:
- Anthropic —
pip install "promptrails[anthropic]".trace_anthropic(client, tracer)traces everymessages.createcall (model, input/output tokens, output). - Google GenAI —
pip install "promptrails[google]".trace_google(client, tracer)traces everymodels.generate_contentcall on the unifiedgoogle-genaiSDK.
Each is a dedicated wrapper because the providers use different method paths and response shapes than OpenAI. Also fixes the openai integration docstring that incorrectly claimed Anthropic support.
See docs/integrations.md.