Skip to content

Commit ba25fc7

Browse files
Expose 'streaming' parameter setting its oposite value to 'disable_streaming' ChatBedrockConverse client.
1 parent 6521d31 commit ba25fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singlestoredb/ai/chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(
125125
self._client = ChatBedrockConverse(
126126
base_url=info.connection_url,
127127
model=actual_model,
128-
streaming=streaming,
128+
disable_streaming=not streaming,
129129
region_name='us-east-1', # dummy value; UMG does not use this
130130
aws_access_key_id='placeholder', # dummy value; UMG does not use this
131131
aws_secret_access_key='placeholder', # dummy value; UMG does not use this

0 commit comments

Comments
 (0)