Skip to content

fix(core): Fix operation name for openai responses API #17206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 29, 2025

Conversation

RulaKhaled
Copy link
Member

@RulaKhaled RulaKhaled commented Jul 29, 2025

According to https://opentelemetry.io/docs/specs/semconv/registry/attributes/gen-ai/#gen-ai-operation-name

“If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.”

and because the responses api also allows file and image input we can assume it's not really a chat completion

closes: #17192

@RulaKhaled RulaKhaled merged commit 58cf305 into develop Jul 29, 2025
178 checks passed
@RulaKhaled RulaKhaled deleted the add-responses-op branch July 29, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix get_ai.operation.name for responses api to responses instead of chat
2 participants