Feature/chroma db integration#44
Open
TOMMY-CODER28 wants to merge 2 commits into
Open
Conversation
Enhanced Shell Detection: Added GetShellInfo() function that provides detailed information about the shell, including name, path, and version The system now detects the actual shell being used instead of making assumptions based only on OS Improved OS Detection: Added more detailed OS version information for Windows, macOS, and Linux For Linux, it now attempts to extract the distribution name Better Prompting: Enhanced the prompts sent to the LLM with more specific shell and OS information Added shell-specific hints to guide the model toward generating appropriate commands Included shell version information when available More Robust Command Extraction: Implemented a multi-stage command extraction system that tries different patterns Added support for multi-line scripts and commands Added fallback mechanisms to extract commands even when they're not properly formatted Can now recognize common command structures even outside code blocks Shell-Specific Command Refinement: Created a mapping of shell-specific command prefixes Enhanced command refinement to handle shell-specific quirks Added special handling for Windows commands with quote issues Improved System Prompt: Updated the system prompt to provide clearer guidelines on command formatting Added instructions for shell-specific adaptations Enhanced formatting instructions for multi-line commands
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



I have Added A Chroma Client in this