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

TypeError: this.openai.createChatCompletion is not a function #4671

Closed
1 task done
mustafahsz opened this issue Dec 23, 2024 · 1 comment
Closed
1 task done

TypeError: this.openai.createChatCompletion is not a function #4671

mustafahsz opened this issue Dec 23, 2024 · 1 comment

Comments

@mustafahsz
Copy link
Contributor

What happened?

i use createChatCompletion method but it shows TypeError: this.openai.createChatCompletion is not a function error

What was the expected behaviour?

No response

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Help us reproduce this issue!

to reproduce this issue just install last version of Detox and openAI

In what environment did this happen?

Detox version: 20.28.0
React Native version: 0.75.4
Has Fabric (React Native's new rendering system) enabled: yes
Node version: 20.9.0
Test-runner (select one): jest
openai: 4.77.0

Detox logs

No response

Device logs

No response

More data, please!

No response

@asafkorem
Copy link
Contributor

Hey @mustafahsz, that sound like an issue with Open AI API.
I recommend checking their issues page: https://community.openai.com/search?q=createChatCompletion, this isn't related to Detox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants