releases.shpreview

2.57.0

$npx -y @buildinternet/releases show rel_2f2a8oIXi6cEhmEieXNgP

New Features ✨

Langchain

  • Set gen_ai.operation.name and gen_ai.pipeline.name on LLM spans by @ericapisani in #5849
  • Broaden AI provider detection beyond OpenAI and Anthropic by @ericapisani in #5707
  • Update LLM span operation to gen_ai.generate_text by @ericapisani in #5796

Other

Bug Fixes 🐛

Openai

  • Only wrap types with _iterator for streamed responses by @alexander-alderman-webb in #5917
  • Always set gen_ai.response.streaming for Responses by @alexander-alderman-webb in #5697
  • Simplify Responses input handling by @alexander-alderman-webb in #5695
  • Use max_output_tokens for Responses API by @alexander-alderman-webb in #5693
  • Always set gen_ai.response.streaming for Completions by @alexander-alderman-webb in #5692
  • Simplify Completions input handling by @alexander-alderman-webb in #5690
  • Simplify embeddings input handling by @alexander-alderman-webb in #5688

Other

  • (google-genai) Guard response extraction by @alexander-alderman-webb in #5869
  • Add cycle detection to exceptions_from_error by @ericapisani in #5880

Internal Changes 🔧

Ai

  • Remove unused GEN_AI_PIPELINE operation constant by @ericapisani in #5886
  • Rename generate_text to text_completion by @ericapisani in #5885

Langchain

  • Add text completion test by @alexander-alderman-webb in #5740
  • Add tool execution test by @alexander-alderman-webb in #5739
  • Add basic agent test with Responses call by @alexander-alderman-webb in #5726
  • Replace mocks with httpx types by @alexander-alderman-webb in #5724
  • Consolidate span origin assertion by @alexander-alderman-webb in #5723
  • Consolidate available tools assertion by @alexander-alderman-webb in #5721

Openai

  • Replace mocks with httpx types for streaming Responses by @alexander-alderman-webb in #5882
  • Replace mocks with httpx types for streaming Completions by @alexander-alderman-webb in #5879
  • Move input handling code into API-specific functions by @alexander-alderman-webb in #5687

Other

  • (asyncpg) Normalize query whitespace in integration by @ericapisani in #5855
  • Exclude compromised litellm versions by @alexander-alderman-webb in #5876

Fetched March 31, 2026