Skip to content

Commit

Permalink
Merge branch 'master' into conti/remove-span-kind-for-inferred-proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
wconti27 authored Feb 14, 2025
2 parents a648881 + 6b97186 commit 2068044
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/datadog-instrumentations/src/openai.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ const V4_PACKAGE_SHIMS = [
targetClass: 'Translations',
baseResource: 'audio.translations',
methods: ['create']
},
{
file: 'resources/chat/completions/completions.js',
targetClass: 'Completions',
baseResource: 'chat.completions',
methods: ['create'],
streamedResponse: true,
versions: ['>=4.85.0']
}
]

Expand Down

0 comments on commit 2068044

Please sign in to comment.