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

Integration Tests Panic #761

Open
TheAdamSmith opened this issue Jun 3, 2024 · 0 comments
Open

Integration Tests Panic #761

TheAdamSmith opened this issue Jun 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@TheAdamSmith
Copy link
Contributor

Describe the bug
Integration tests do not run and exit with a panic

    api_integration_test.go:86: error, status code: 404, message: The model `ada` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations [
CreateCompletionStream returned error]
--- FAIL: TestAPI (2.53s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6a7cf4]

based on the error it is because the models the integration tests are using are deprecated. So we should be able to just upgrade them to the closest compatible model.

To Reproduce
Run the integration tests as detailed in the readme

Expected behavior
Test should run successfully

@TheAdamSmith TheAdamSmith added the bug Something isn't working label Jun 3, 2024
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