Skip to content

Conversation

TOMMY-CODER28
Copy link

I have Added A Chroma Client in this

TOMMY-CODER28 and others added 2 commits March 7, 2025 10:59
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
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant