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
I am trying to add an AWS Sagemaker model endpoint to chat-ui and I am getting stuck on the authorization part because I can't pass in request headers to the endpoint. I am able to pass in the authorization string but then I get the following error:
Could not parse last message {"message":"Authorization header requires existence of either a 'X-Amz-Date' or a 'Date' header. Authorization=AWS4-HMAC-SHA256 Credential=<redacted>, Signature=<redacted>"}
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at parseGeneratedText (/src/routes/conversation/[id]/+server.ts:196:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async saveMessage (/src/routes/conversation/[id]/+server.ts:107:26)
Is it possible to add the ability to pass in headers to the model endpoints in the .env.local file?
The text was updated successfully, but these errors were encountered:
Hello.
I am trying to add an AWS Sagemaker model endpoint to chat-ui and I am getting stuck on the authorization part because I can't pass in request headers to the endpoint. I am able to pass in the authorization string but then I get the following error:
Is it possible to add the ability to pass in headers to the model endpoints in the
.env.local
file?The text was updated successfully, but these errors were encountered: