New Features ✨
Openai
- feat(openai): Set system instruction attribute for Responses API by @alexander-alderman-webb in #5376
- feat(openai): Set system instruction attribute for Completions API by @alexander-alderman-webb in #5358
- feat(integrations): OpenAI/OpenAI Agents detect and report the time to first token metric (TTFT) as
gen_ai.response.time_to_first_tokenby @constantinius in #5348
Openai Agents
- feat(openai-agents): Set system instruction attribute on
gen_ai.chatspans by @alexander-alderman-webb in #5370 - feat(openai-agents): Set system instruction attribute by @alexander-alderman-webb in #5355
- feat(integrations): openai-agents streaming support by @constantinius in #5291
Other
- feat(ai): Add original input length meta attribute by @alexander-alderman-webb in #5375
- feat(anthropic): Set system instruction attribute by @alexander-alderman-webb in #5353
- feat(asyncio): Allow to turn task spans off by @sentrivana in #5367
- feat(gen_ai): add function
set_conversation_idand managing functions on the Scope and apply it on the Span on.finish()by @constantinius in #5362 - feat(google-genai): Set system instruction attribute by @alexander-alderman-webb in #5354
- feat(langchain): Set system instruction attribute by @alexander-alderman-webb in #5357
- feat(pydantic-ai): Set system instruction attribute by @alexander-alderman-webb in #5356
- feat(transport): Report 413 responses for oversized envelopes by @alexander-alderman-webb in #5380
Bug Fixes 🐛
- fix(ai): Keep single content input message by @alexander-alderman-webb in #5345
Internal Changes 🔧
- ci(release): Fix changelog-preview permissions by @BYK in #5368
- ref: Replace
set_data_normalized()withSpan.set_data()for system instructions by @alexander-alderman-webb in #5374 - ci: Fix path in AI integration tests by @alexander-alderman-webb in #5347