-
Notifications
You must be signed in to change notification settings - Fork 849
Open
Description
Proposal summary
I can't use opik-openai package with the latest openai SDK.
$ npm install openai@latest --save
added 1 package in 863ms
$ npm install opik-openai@latest --save
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: undefined@undefined
npm error Found: [email protected]
npm error node_modules/openai
npm error openai@"^5.10.2" from the root project
npm error
npm error Could not resolve dependency:
npm error peer openai@"^4.97.0" from [email protected]
npm error node_modules/opik-openai
npm error opik-openai@"1.0.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/mtsmfm/.npm/_logs/2025-07-24T09_11_46_672Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/mtsmfm/.npm/_logs/2025-07-24T09_11_46_672Z-debug-0.log
Motivation
As far as I briefly tried it with openai v5 it works, is there any blocker to not relax the peer dependency?
Metadata
Metadata
Assignees
Labels
No labels