Skip to content

Commit 919a919

Browse files
authored
dac strip io from OpenAI (#6156)
* first run at openai * factored out param tagging * remove the rest * wasted case * image tagging * remove moderation tagging * org tag * remove model check * uncalled logger * remove a few more tags * fine tuning removed * cleanup * fine tune ids * remove org name * update tests * remove instruction
1 parent d52fbb7 commit 919a919

File tree

3 files changed

+16
-664
lines changed

3 files changed

+16
-664
lines changed

packages/datadog-instrumentations/src/openai.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ addHook({ name: 'openai', file: 'dist/api.js', versions: ['>=3.0.0 <4'] }, expor
151151
methodName,
152152
args: arguments,
153153
basePath: this.basePath,
154-
apiKey: this.configuration.apiKey
155154
}
156155

157156
return ch.tracePromise(fn, ctx, this, ...arguments)
@@ -224,7 +223,6 @@ for (const extension of extensions) {
224223
methodName: `${baseResource}.${methodName}`,
225224
args: arguments,
226225
basePath: client.baseURL,
227-
apiKey: client.apiKey
228226
}
229227

230228
return ch.start.runStores(ctx, () => {

0 commit comments

Comments
 (0)