6.5.0
Minor Changes
-
#2496
7253bb3Thanks @andrewm4894! - feat: add $ai_framework property for framework integrationsAdds a simple
$ai_frameworkproperty to AI events when using framework layers (LangChain, Vercel AI SDK). Direct provider calls (OpenAI, Anthropic, Gemini) do not include this property, eliminating redundant data where framework would duplicate the provider name.Example with framework:
{ "$ai_framework": "langchain", "$ai_provider": "openai", "$ai_model": "gpt-4" }Example without framework:
{ "$ai_provider": "openai", "$ai_model": "gpt-4" }