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
Describe the bug
Invoking any AWS Bedrock Claude model gives the following error:
Failed to get answer
Caused by:
Malformed input request: #: subject must not be valid against schema {"required":["messages"]}#: extraneous key [stream] is not permitted, please reformat your input and try again.
To Reproduce
Configure Bedrock, select an AWS Bedrock Claude model, e.g. Sonnet, then run any query,
Expected behavior
Expecting a model response, not an error.
Environment (please complete the following information):
os version: MSYS_NT-10.0-22631 winvm1 3.1.7-340.x86_64 2020-10-23 13:08 UTC x86_64 Msys
aichat version: aichat 0.17.0
terminal version: not sure, probably not relevant
Additional context
Actually using master as of 2024-05-25, but 0.17.0 gives the same error.
I'll try to provide a pull request which removes the key 'stream'.
The text was updated successfully, but these errors were encountered:
Describe the bug
Invoking any AWS Bedrock Claude model gives the following error:
Failed to get answer
Caused by:
Malformed input request: #: subject must not be valid against schema {"required":["messages"]}#: extraneous key [stream] is not permitted, please reformat your input and try again.
To Reproduce
Configure Bedrock, select an AWS Bedrock Claude model, e.g. Sonnet, then run any query,
Expected behavior
Expecting a model response, not an error.
Configuration
model claude:claude-3-haiku-20240307
max_output_tokens 4096 (current model)
temperature 1
top_p -
function_calling false
compress_threshold 100000
dry_run false
save true
save_session -
highlight true
light_theme false
wrap no
wrap_code false
auto_copy false
keybindings emacs
prelude
config_file C:\Users\rwilms\AppData\Roaming\aichat\config.yaml
roles_file C:\Users\rwilms\AppData\Roaming\aichat\roles.yaml
messages_file C:\Users\rwilms\AppData\Roaming\aichat\messages.md
sessions_dir C:\Users\rwilms\AppData\Roaming\aichat\sessions
functions_dir C:\Users\rwilms\AppData\Roaming\aichat\functions
Environment (please complete the following information):
Additional context
Actually using master as of 2024-05-25, but 0.17.0 gives the same error.
I'll try to provide a pull request which removes the key 'stream'.
The text was updated successfully, but these errors were encountered: