We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bba8ef1 commit acbbe92Copy full SHA for acbbe92
singlestoredb/ai/chat.py
@@ -147,8 +147,12 @@ def _inject_headers(request: Any, **_ignored: Any) -> None:
147
)
148
return ChatBedrockConverse(
149
model=actual_model,
150
+ endpoint_url=info.connection_url, # redirect requests to UMG
151
+ region_name='us-east-1', # dummy value; UMG does not use this
152
+ aws_access_key_id='placeholder', # dummy value; UMG does not use this
153
+ aws_secret_access_key='placeholder', # dummy value; UMG does not use this
154
disable_streaming=not streaming,
- bedrock_runtime_client=client,
155
+ client=client,
156
**kwargs,
157
158
0 commit comments