Commit 8514d56
committed
test(llmobs): resolve the agents openai client from the loaded package
The LLMObs spec anchored `openai` at `versions/node_modules/@openai/agents-openai`,
a hoisted path bun's isolated linker never creates, so the suite failed at its
`before` hook with `Cannot find module 'openai'`. Resolving from the loaded
`@openai/agents-openai` build pins the copy that build itself uses, the same way
the APM plugin setup now does.1 parent c78b854 commit 8514d56
1 file changed
Lines changed: 6 additions & 7 deletions
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
0 commit comments