You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BadRequestError('Error code: 400 - {'error': {'message': "Unsupported value: 'stream' does not support true with this model. Only the default (false) value is supported.", 'type': 'invalid_request_error', 'param': 'stream', 'code': 'unsupported_value'}}')Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 2303, in _atransform_stream_with_config
File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 3385, in _atransform
File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 5573, in atransform
File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 1473, in atransform
File "/usr/local/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 494, in astream
File "/usr/local/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 472, in astream
File "/usr/local/lib/python3.11/site-packages/langchain_openai/chat_models/base.py", line 2015, in _astream
File "/usr/local/lib/python3.11/site-packages/langchain_openai/chat_models/base.py", line 785, in _astream
File "/usr/local/lib/python3.11/site-packages/ddtrace/contrib/internal/openai/patch.py", line 289, in patched_endpoint
resp = await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 1490, in create
File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1831, in post
File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1525, in request
File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1626, in _request
openai.BadRequestError: Error code: 400 - {'error': {'message': "Unsupported value: 'stream' does not support true with this model. Only the default (false) value is supported.", 'type': 'invalid_request_error', 'param': 'stream', 'code': 'unsupported_value'}}
Suggestion:
No response
The text was updated successfully, but these errors were encountered:
Issue you'd like to raise.
Here's the error message:
BadRequestError('Error code: 400 - {'error': {'message': "Unsupported value: 'stream' does not support true with this model. Only the default (false) value is supported.", 'type': 'invalid_request_error', 'param': 'stream', 'code': 'unsupported_value'}}')Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 2303, in _atransform_stream_with_config
File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 3385, in _atransform
File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 5573, in atransform
File "/usr/local/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 1473, in atransform
File "/usr/local/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 494, in astream
File "/usr/local/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 472, in astream
File "/usr/local/lib/python3.11/site-packages/langchain_openai/chat_models/base.py", line 2015, in _astream
File "/usr/local/lib/python3.11/site-packages/langchain_openai/chat_models/base.py", line 785, in _astream
File "/usr/local/lib/python3.11/site-packages/ddtrace/contrib/internal/openai/patch.py", line 289, in patched_endpoint
resp = await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 1490, in create
File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1831, in post
File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1525, in request
File "/usr/local/lib/python3.11/site-packages/openai/_base_client.py", line 1626, in _request
openai.BadRequestError: Error code: 400 - {'error': {'message': "Unsupported value: 'stream' does not support true with this model. Only the default (false) value is supported.", 'type': 'invalid_request_error', 'param': 'stream', 'code': 'unsupported_value'}}
Suggestion:
No response
The text was updated successfully, but these errors were encountered: