Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
mwmcode opened this issue Dec 26, 2024 · 1 comment
Open
1 task done

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

mwmcode opened this issue Dec 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mwmcode
Copy link

mwmcode commented Dec 26, 2024

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

  • 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 mwmcode added the bug Something isn't working label Dec 26, 2024
mwmcode pushed a commit to mwmcode/openai-node that referenced this issue Dec 27, 2024
@mwmcode
Copy link
Author

mwmcode commented Dec 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant