* - fixed a bug where /comment doesn't actually do anything unless prompted to.
- if the user doesn't provide input after /comment, replace it with default /comment input found in comment.ts
* added comment for clarity
This commit adds support for streaming completions from Llama models alongside with Anthropic's Claude on Bedrock. Key changes:
- Introduce a `BedrockModelToolkit` interface to encapsulate model-specific logic for generating commands and unwrapping response chunks
- Implement `AnthropicClaude3Toolkit` for Claude model
- Implement `Llama3Toolkit` for Llama models
- Refactor `_streamChat` method to use the appropriate toolkit based on the selected model
- Clean up code formatting and remove unused imports
Co-authored-by: Ruben Kostandyan <kostard@amazon.com>
* added try catch on newly added code to buildjs that copies node_sqlite3 to a build directory that may not exist
* fix typo extensioins -> extensions
* added new npm command to build for all platforms
* started adding code to download the ripgrep binaries, will have to finish at a later date
* - added platforms global variable
- added check for --all parameter
- moved alpine check to utils
- moved all packaging code to package()
- added links to esbuild binaries
- chaged code in IIFE to either package for all or package for target
* moved alpine config to utils
* added the code that will download the ripgrep binaries
* added npm run script package-all which will run the package-all.js script
* added package-all script which will package all major builds
* - commented out old downloadEsbuildBinary and rewrote it
- finished the downloadRipgrepBinary() and exported it
* - added back some of the old code to make this script reusable
- commented out the esbuild download and install in favor of downloading the prebuilt binary
- download the ripgrep binary
- containerized the all of the package code into package() and call it in the IIFE
* added a check for the --target flag and append it to the vsce command
* removed unused variable
If the reference to "after Mars," is
desired for some reason, punctuation should
probably be added for clarity. E.g., "planet,
after Mars,", or "planet, following Mars,". Note
also that because this is a FIM example and "the
5th" is part of the sentence to be filled, it
shouldn't be included as part of the completion.