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

when the parameter 'messages' length exceeds 144, there will be no response. #17

Open
dakai6677 opened this issue May 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@dakai6677
Copy link

the input token count is around 16000
model is 'anthropic.claude-3-sonnet-20240229-v1:0'

curl http://Bedroc-Proxy-xxxx.us-east-1.elb.amazonaws.com/api/v1/chat/completions
-H "Content-Type: application/json"
-H "Authorization: Bearer xxxx"
-d @/home/ec2-user/param.json

@dakai6677 dakai6677 added the bug Something isn't working label May 27, 2024
@daixba
Copy link
Contributor

daixba commented May 28, 2024

This may be a limit of Amazon Bedrock. Can you please:

  1. Try to use the SDK directly and see if the issue exists: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-anthropic-claude-messages.html
  2. Provide the detailed response (like the finish reason etc.), and if possible, please share the input (if there is no sensitive data)
  3. See if you can limit the number of messages (chat history) from you side.

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