Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR is to
Does this PR introduce a breaking change?
No
Related Issues/Discussion
Once this PR is merged, we can integrate with @sperka's PR #130 to support response streaming.
Support of images will be the next step after the streaming integration.
How Has This Been Tested?
The following models have been tested:
"anthropic.claude-3-haiku-20240307-v1:0"
"anthropic.claude-3-sonnet-20240229-v1:0"
"anthropic.claude-v2"
pnpm: 8.15.8
node: v18.20.1
python: Python 3.10.14
poetry: Poetry (version 1.7.1)
docker: Docker version 26.0.0, build 2ae903e
java: openjdk 17.0.11 2024-04-16 LTS
OpenJDK Runtime Environment Corretto-17.0.11.9.1 (build 17.0.11+9-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.11.9.1 (build 17.0.11+9-LTS, mixed mode, sharing)
aws: aws-cli/2.15.37 Python/3.11.8 Darwin/23.4.0 exe/x86_64 prompt/off
Screensh
PR Checklist
IMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing guidelines.