Skip to content

ref(core): Introduce instrumented method registry for AI integrations #19987

Description

@github-actions

Note

The pull request "ref(core): Introduce instrumented method registry for AI integrations" was created by @nicohrubec but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.

Replace the shared getOperationName() function with per-provider method registries that map API paths to their operation name and streaming behavior. This explicitly couples the instrumented methods and necessary metadata in one place instead of having convoluted substring matching in multiple places that can be quite hard to reason about.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

TaskjavascriptPull requests that update javascript code

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions