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

Bug report: litellm.BadRequestError: OpenAIException - Error code: 400 - {'error': {'message': "Unsupported value: 'stream' does not support true with this model. Supported values are: false.", 'type': 'invalid_request_error', 'param': 'stream', 'code': 'unsupported_value'}} #2872

Closed
turian opened this issue Jan 15, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@turian
Copy link

turian commented Jan 15, 2025

In /chat-mode ask with model o1-2024-12-17 I get error:

litellm.BadRequestError: OpenAIException - Error code: 400 - {'error': {'message': "Unsupported value: 'stream'
does not support true with this model. Supported values are: false.", 'type': 'invalid_request_error', 'param':
'stream', 'code': 'unsupported_value'}}

Aider version: 0.71.1
Python version: 3.12.8
Platform: macOS-14.5-arm64-arm-64bit
Python implementation: CPython
Virtual environment: Yes
OS: Darwin 23.5.0 (64bit)
Git version: git version 2.47.1

Aider v0.71.1
Model: o1-2024-12-17 with ask edit format
Git repo: .git with 16 files
Repo-map: using 4096 tokens, auto refresh

@paul-gauthier paul-gauthier added the bug Something isn't working label Jan 16, 2025
@paul-gauthier
Copy link
Collaborator

Thanks for trying aider and filing this issue.

The fix is available in the main branch. You can get it by installing the latest version from github:

aider --install-main-branch

# or...

python -m pip install --upgrade --upgrade-strategy only-if-needed git+https://github.com/Aider-AI/aider.git

If you have a chance to try it, let me know if it works better for you. I'm going to close this issue for now, but feel free to add a comment here and I will re-open. Or feel free to file a new issue any time.

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