Commit e9f1da4
authored
fix(v9/node): Assign default export of
Both of:
- import OpenAI from `openai`
- import { OpenAI } from`openai`
Should point to the instrumented wrapper function.
Backport of #17320.openai to the instrumented fn (#17353)1 parent 9f29e0a commit e9f1da4
1 file changed
Lines changed: 17 additions & 0 deletions
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
99 | 116 | | |
100 | 117 | | |
101 | 118 | | |
0 commit comments