Skip to content

Add missing span attributes for openai instrumentation e.g available tools #17215

@RulaKhaled

Description

@RulaKhaled

Both responses and chat apis should have:

  1. gen_ai.request.available_tools
  2. gen_ai.response.tool_calls

We should make sure to handle both streamed and non streamed responses for tool calls.

Metadata

Metadata

Assignees

Labels

javascriptPull requests that update javascript codeopenai

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions