Skip to content

ref(tests): use constants in ai integration tests and add missing ones #18951

@github-actions

Description

@github-actions

Note

The pull request "ref(tests): use constants in ai integration tests and add missing ones" was created by @nicohrubec but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.

While working on the gen_ai.request.messages rename I noticed that we hardcode all the attributes in our ai integration tests (both node and cloudflare), meaning that we currently need to change each individual test just to rename one attribute name. This PR refactors this to use the attributes from our gen-ai-attributes.ts. I also added some missing entries for attributes that we currently hardcode in the integrations.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions