Skip to content

openai migrate - "ERROR (code: 200) - Too many params for text: expected maximum 1" #1647

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
jamintz opened this issue Aug 13, 2024 · 8 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@jamintz
Copy link

jamintz commented Aug 13, 2024

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

ERROR (code: 200) - Too many params for text: expected maximum 1 when running openai migrate

To Reproduce

openai migrate

Code snippets

No response

OS

macOS

Python version

Python 3.12.5

Library version

1.40.6

@jamintz jamintz added the bug Something isn't working label Aug 13, 2024
@RobertCraigie
Copy link
Collaborator

Can you share a full stack trace?

@jamintz
Copy link
Author

jamintz commented Aug 13, 2024

Can you share a full stack trace?

@RobertCraigie how do I do that?

@RobertCraigie
Copy link
Collaborator

oh is that all the output you get after running the command?

@gigantoq
Copy link

So there is no fix for this?

@morgante
Copy link
Contributor

@gigantoq Until #1649 is released you can install Grit directly: https://docs.grit.io/cli/quickstart

Then just run grit apply openai.

@Shihab-Litu
Copy link

I got the same error below while apply "openai migrate" command:
"Your working tree currently has untracked changes and Grit will rewrite files in place. Do you want to proceed? yes
ERROR (code: 200) - Too many params for text: expected maximum 1"

OS- Linux-20.04
python-3.9.12

How to resolve this error?

@jaypinho
Copy link

I just received the same error too.

Python 3.13.0
MacOS Sequoia 15.1.1

@morgante
Copy link
Contributor

morgante commented Nov 27, 2024

Just follow the instructions above.

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

6 participants