Skip to content

when I use gpt-3.5-turbo-1106, an openai.APIStatusError occurred #1096

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

Closed
1 task done
TheHonestBob opened this issue Jan 23, 2024 · 1 comment
Closed
1 task done
Labels
bug Something isn't working

Comments

@TheHonestBob
Copy link

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

openai.APIStatusError:

<title>Request Header Fields Too Large</title>

Request Header Fields Too Large

Error parsing headers: 'limit request headers fields'

To Reproduce

Code snippets

stream = OpenAI(api_key='my key').openai_engine.chat.completions.create(
                    model="gpt-3.5-turbo",
                    messages=messages,
                    stream=True,
                    temperature=0.1
                )

OS

linux

Python version

python3.9

Library version

openai 1.9.0

@TheHonestBob TheHonestBob added the bug Something isn't working label Jan 23, 2024
@rattrayalex
Copy link
Collaborator

Thanks for reporting!

This sounds like an issue with the underlying OpenAI API and not the Python library, so I'm going to go ahead and close this issue.

Would you mind reposting at community.openai.com?

@rattrayalex rattrayalex closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 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

2 participants