openai-node icon indicating copy to clipboard operation
openai-node copied to clipboard

[deno] import { zodFunction } from '@openai/openai/helpers/zod.ts';

Open mwmcode opened this issue 11 months ago • 2 comments

Confirm this is a Node library issue and not an underlying OpenAI API issue

  • [X] This is an issue with the Node library

Describe the bug

unable to import zodFunction from deno package

To Reproduce

deno.json

"imports": {
    "@openai/openai": "jsr:@openai/openai@^4.75.0"
}
import { zodFunction } from '@openai/openai/helpers/zod.ts';

TS ERROR JSR package "@openai/openai@^4.75.0" is not installed or doesn't exist.deno(not-installed-jsr)

Code snippets

No response

OS

macOS

Node version

deno 2.1.4

Library version

@openai/openai": "jsr:@openai/openai@^4.75.0

mwmcode avatar Dec 26 '24 04:12 mwmcode

It's missing export in jsr.json https://github.com/openai/openai-node/pull/1243/files

mwmcode avatar Dec 27 '24 05:12 mwmcode

please update the jsr repo! @openai/openai @4.75.0

7th-Universe avatar Jan 02 '25 16:01 7th-Universe

I believe this has been fixed, please re-open if it's still happening!

RobertCraigie avatar Jul 10 '25 11:07 RobertCraigie