Skip to content

Commit 0323c23

Browse files
committed
updating genai plugin name
1 parent 86021aa commit 0323c23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/datadog-instrumentations/src/genai.js renamed to packages/datadog-instrumentations/src/google-genai.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ addHook({
9393
constructor (...args) {
9494
super(...args)
9595

96-
// We are patching the instance instead of the prototype because when it is compiled form
96+
// We are patching the instance instead of the prototype because when it is compiled from
9797
// typescript, the models property is not available on the prototype.
9898
if (this.models) {
9999
if (this.models.generateContent) {

packages/datadog-instrumentations/src/helpers/hooks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
'@playwright/test': () => require('../playwright'),
1414
'@elastic/elasticsearch': () => require('../elasticsearch'),
1515
'@elastic/transport': () => require('../elasticsearch'),
16-
'@google/genai': () => require('../genai'),
16+
'@google/genai': () => require('../google-genai'),
1717
'@google-cloud/pubsub': () => require('../google-cloud-pubsub'),
1818
'@google-cloud/vertexai': () => require('../google-cloud-vertexai'),
1919
'@graphql-tools/executor': () => require('../graphql'),

0 commit comments

Comments
 (0)