-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for local LLM models via Ollama #30
Open
devparanjay
wants to merge
267
commits into
sirji-ai:main
Choose a base branch
from
devparanjay:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
267 commits
Select commit
Hold shift + click to select a range
1dc233b
Upgrading version before publish
kedarchandrayan bf3e50e
Upgrading messages version
kedarchandrayan 20095f0
Refactored extension code
453e0de
config store management used and made the terminal singelton
dakshbhardwaj f773e8a
Merge pull request #24 from sirji-ai/pypi-packages
kedarchandrayan 3af565b
conflict resolved.
kedarchandrayan bffb71f
Merge pull request #25 from sirji-ai/ui
kedarchandrayan eef1a65
Renamed the pycode to py_scripts
V-R-Dighe 185d9b9
Setup virtual env for Python
kedarchandrayan d0e47f7
Invoke agent with venv python
kedarchandrayan f5e911e
bug fix
kedarchandrayan b1d4120
bug fix
kedarchandrayan 5cd92df
added environment config flow
dakshbhardwaj 7a99fe7
Updated the conversation history with new parsed_content key in agent…
V-R-Dighe dff7adc
Agent runner scripts
kedarchandrayan 33c662b
Updating the versions for publish
kedarchandrayan 9506a6e
Updating the dependency versions for vs code extension
kedarchandrayan 9b3fdbb
making the agent runner files self sufficient.
kedarchandrayan ef1d803
Read workspace folder path from environment variable
kedarchandrayan 70e13ae
Raise ValueError if workspace environment variable not found.
kedarchandrayan cbc8b1b
Dependency versions increased.
kedarchandrayan 1af58a2
refactored code for workspace path and integerated coder.py
dakshbhardwaj 4e4d9b6
commited .prietterc file
dakshbhardwaj a4b108c
Python middleware script for Research Agent
kedarchandrayan 68832e4
Added support for inform, question, solution complete action in coder…
V-R-Dighe c472f6d
Added support for step started and step completed action in coder age…
V-R-Dighe 38a83b8
Updated the planner system prompt for steps list
V-R-Dighe 4dc46c1
Updated the parse steps method to handle the non Step prefix steps
V-R-Dighe 7994dac
Updated the planner system prompt for steps list
V-R-Dighe 3221c01
Removed the creation only in current directory instruction from syste…
V-R-Dighe 4603b39
Updated the planner system prompt for steps list
V-R-Dighe d115df9
Readded the creation only in current directory instruction from syste…
V-R-Dighe 3edf4b7
README changes and LICENSE inclusion in packages.
kedarchandrayan 573a834
Updated the package versions
V-R-Dighe 7936646
Install playwright in virtual env
V-R-Dighe c59b1b8
planner UI
dakshbhardwaj dc1065d
planner UI
dakshbhardwaj 7d166c1
Fixed icon placement
9d14540
Fixed the icons on top-right corner
393ddaf
added the logic for displaying progress bar once we receive steps
dakshbhardwaj 9288a36
Update README.md
kedarchandrayan e832197
added the functionality to disable and enable the send button
dakshbhardwaj e9fb1d5
added return from createFile
dakshbhardwaj d14e848
Integrated sirji run id environment variable
V-R-Dighe 8fa5176
added handling for executor
dakshbhardwaj deb14de
Added support for executor message construction in coding agent adapter
V-R-Dighe e39f48f
Version update
kedarchandrayan 47055c0
Version update
kedarchandrayan 237c370
Update README.md
kedarchandrayan 7682da2
Added capability for read file and read directory
kedarchandrayan 77a98a3
Updated the parser
V-R-Dighe 4eade0c
Version update for publish
kedarchandrayan 817f079
Updated the versions of packages
V-R-Dighe 200d330
Bug fix - missing break in case.
kedarchandrayan 9b91e26
added sirJiRunId to env vars
dakshbhardwaj c29dd01
added a placeholder message when send button is disabled
dakshbhardwaj 63f374f
Adding the FILE READ and DIR READ capability
kedarchandrayan 1a9e133
Updated svg icons
GadhariSachin b92a44f
Added header background color
GadhariSachin 7d211b1
Adjust textarea height on changing placeholder text
GadhariSachin ec998de
added log line
kedarchandrayan 14836a5
Fixed checkboxes UI in planner modal
GadhariSachin 3300a72
handled solution completed step seperately
dakshbhardwaj 541dd52
Search without Google API
kedarchandrayan 38d6c4a
Version update
kedarchandrayan 62b7ab3
Removed the usage of google search api key
V-R-Dighe 4245810
Update README.md
kedarchandrayan 5e1da32
Fixing README heart on PyPI
kedarchandrayan d57a743
README changes for sirji-messagesw and sirji-tools
kedarchandrayan 2b2a149
README changes to sirji-agents
kedarchandrayan 6b6b706
Added retry on invalid message recieved
kedarchandrayan 751a310
Handling MessageValidationError too
kedarchandrayan d2cfe12
Version bump
kedarchandrayan 46f1454
Update README.md
kedarchandrayan 5ecb81e
Update README.md
kedarchandrayan 6d87953
Update README.md
kedarchandrayan 365adc7
Update README.md
kedarchandrayan 0c8a54f
fix for progress bar not updating
dakshbhardwaj f6ddf2c
Steps for collaborators added in the readme.
kedarchandrayan 7b6f301
A TODO added in README.
kedarchandrayan 03210e7
Steps for collaborators added in the readme.
kedarchandrayan c6f79df
Minor changes to readme
kedarchandrayan 0eeb9de
Added support for local models via Ollama
devparanjay 9624e8d
Added SIRJI_OLLAMA_MODEL env variable to ModelClient
devparanjay 0018e26
Set model values as model from ModelClient
devparanjay cec6ca3
Updated README slightly for Ollama support
devparanjay 5bd56b9
Added python-dotenv to requirements.txt
devparanjay 1513581
Update README.md
kedarchandrayan a1a7772
Update README.md
kedarchandrayan 1ccf430
Moving files from Dogfood inside sirji/desktop folder
kedarchandrayan ffb1cd1
Removing the unused script.
kedarchandrayan 60c1464
Updated .gitignore
kedarchandrayan 81a6b7a
handled error when directory already exists
dakshbhardwaj e23b56e
disabled input box while workspace is getting readu
dakshbhardwaj 822770b
Update README.md
kedarchandrayan 6c3d931
move the setUpHistory manger from init to when user provides the pro…
dakshbhardwaj 05843e0
Verbose bot messages.
kedarchandrayan 2bd11c0
added commands for package and publishing
dakshbhardwaj 3d26555
Fixed the typo
V-R-Dighe 7e9abd0
Changed the minimum version requirement for VS Code.
kedarchandrayan 017991c
fix undefined error in updateStepStatus function
dakshbhardwaj 1b67241
updated types vscode version
dakshbhardwaj 3fc5452
Updated chat terminal UI
GadhariSachin 0a527fb
Total tokens added for Research Agent
kedarchandrayan 255303c
Merge branch 'vs-code-extension' into sachin/chat-terminal-ui
GadhariSachin 0ea8370
removed icon class
GadhariSachin 64ee9f8
Updated the sirji agents package to return the tokens consumed
V-R-Dighe 5acbeaa
Version update
kedarchandrayan c7937ae
Updated the agents package with handling for methods with 0 tokens ut…
V-R-Dighe f7d8451
Updated the sirji agents pacakge with tokens usage changes
V-R-Dighe b6b7c4a
Get total tokens and tokens usage in dollar implementation
V-R-Dighe a082850
COMTRIBUTING.md
kedarchandrayan dcc02dc
ISSUES.md
kedarchandrayan 912e8d1
PyPI packages
kedarchandrayan 997864f
CONTRIBUTING.md
kedarchandrayan d80302d
Check prerequisites script
kedarchandrayan 523f2bf
Linked the check prerequisites script from README
kedarchandrayan bc3808b
Removed the workspace
kedarchandrayan a882f4a
change execute command from terminal to vscode.task
dakshbhardwaj 9e0b652
VS Code version support
a8e1cc1
added a case for handling tokens
dakshbhardwaj 951e98c
Merge branch 'vs-code-extension' into sachin/chat-terminal-ui
GadhariSachin 9c38f99
WIP - display tokens
GadhariSachin 6c6b49b
Update README.md
kedarchandrayan 928d5db
Update CONTRIBUTING.md
kedarchandrayan b6d91b9
Update the tokens used in UI
GadhariSachin cfe875c
Merge branch 'vs-code-extension' of https://github.com/sirji-ai/sirji…
GadhariSachin 5a57af7
updated checks in execute task
dakshbhardwaj fa3a77d
Updated settings modal UI
GadhariSachin 301bdd6
Printing the python script execution error on chat terminal and allow…
V-R-Dighe d4ab042
added events for coder, executor and researcher
dakshbhardwaj ffbf8f5
System prompt changes for CODER and PLANNER
kedarchandrayan 3446102
Tooltip UI feedbacks
GadhariSachin be2fcb2
Merge branch 'vs-code-extension' of https://github.com/sirji-ai/sirji…
GadhariSachin f062547
Added run server action
kedarchandrayan fae7b89
changed execute command execution logic
dakshbhardwaj a91477e
Run server support in vs code extension
kedarchandrayan 9a00d18
Special handling of source command
kedarchandrayan 8058e31
Added planner, coder and researcher tabs
GadhariSachin a552b43
Merge branch 'vs-code-extension' of https://github.com/sirji-ai/sirji…
GadhariSachin 6eb8668
updated vscode extension version
dakshbhardwaj b188152
UI fixes
GadhariSachin 8c6c530
reduced the timeout
5a2f94e
added logo, keywords and discussion url in package.json
dakshbhardwaj f9c1b7b
changed image logo path
dakshbhardwaj 2a004a7
Removing the parathesis
kedarchandrayan e8785db
Updated the toolbard UI
GadhariSachin 986ff18
Added hover effect on toolbar icons
GadhariSachin d59dcb1
Product Manager and Architect Agents Added.
kedarchandrayan 894c9a0
added handling for sperating execute command and server
dakshbhardwaj 490c071
Updating the version
kedarchandrayan 063ec23
Added loading indicator at bot side
GadhariSachin 95a5b73
Changes for avoiding chained commands and not to give up
kedarchandrayan d2df254
updated version
dakshbhardwaj b759fb9
Update README.md
nishithz 7068ec8
Update README.md
nishithz 3620680
Added loading indicator at bot side
GadhariSachin 69a8697
Update README.md
nishithz 5f842bf
updated copy
GadhariSachin 2ebd354
Merge branch 'vs-code-extension' of https://github.com/sirji-ai/sirji…
GadhariSachin 05fd516
Create README.md
kedarchandrayan c6e5589
Update README.md
kedarchandrayan 3928826
Update README.md
kedarchandrayan 9bb69c5
Update README.md
kedarchandrayan 0caf810
Update README.md
kedarchandrayan ec69a74
Merge pull request #43 from sirji-ai/vs-code-extension
nishithz 82eaa2f
changed the model to gpt-4-turbo from gpt-4-turbo-preview
kedarchandrayan 817131f
changed command execution from terminal to spawn
dakshbhardwaj d864c2a
Prompt changes to increase reliability.
kedarchandrayan 256ee79
Version updates
kedarchandrayan ec692e4
updated vs code extension version and removed output file from execut…
dakshbhardwaj fcb91ba
Output format for run server logs passed to the llm
kedarchandrayan 9abfbb4
README changes
kedarchandrayan a84fcb7
Merge pull request #46 from sirji-ai/reliability
V-R-Dighe 7bd4708
Scroll to bottom on switching tabs
GadhariSachin d52eacf
Create pytest_on_pr.yml
kedarchandrayan 133e472
For testing the test case run.
kedarchandrayan e71ae6d
Update pytest_on_pr.yml
kedarchandrayan ce5f271
setting env vars.
kedarchandrayan 33fcc89
Adding env var and some cleanup
kedarchandrayan 41b1915
Update pytest_on_pr.yml
kedarchandrayan 71da2c8
Python version change for test case run
kedarchandrayan e765f6d
Py version change for running test cases
kedarchandrayan c8a23ec
Update pytest_on_pr.yml
kedarchandrayan 96d1df6
Merge pull request #68 from sirji-ai/pytest-on-pr
sunilkhedar 138836f
Publish workflow
kedarchandrayan 2f13009
Merge pull request #75 from sirji-ai/pypi-publish-workflow
sunilkhedar 00ffcdc
Updated toolbar and send button colors
GadhariSachin 84a789f
added model-provider
1a2ec5d
removed param
658da42
readme.md exports
a9cbf0c
edited readme
ed480b3
Minor changes and version bump
kedarchandrayan 94411fa
Merge pull request #76 from atharva101/model_provider
kedarchandrayan 1ea5c7a
Moved chat UI terminal in seperate window
GadhariSachin 398955f
Capitlaize the tab buttons text
GadhariSachin 6ffff5d
Added steps and logs panel
GadhariSachin 711b6e2
UI Review fixes
GadhariSachin 39c51a1
Create __init__.py
kedarchandrayan 4ed9109
Update setup.py
kedarchandrayan 6af76e3
Update requirements.txt
kedarchandrayan dc185fb
Merge pull request #77 from sirji-ai/bug-fix
sunilkhedar eb85fa6
clean up
GadhariSachin 393c832
Added trsnsition effect while resizing and fixed drag issue.
GadhariSachin 7100189
Added vscode extension changelog
kreloaded 606fc55
Added horizontal scroll to logs tab buttons and toggle arrow
GadhariSachin 6dd4579
debounce the resizing events
GadhariSachin 8d5cc29
Added github action ro publish to vscode marketplace
kreloaded 0c81789
Merge pull request #78 from sirji-ai/github-workflow
V-R-Dighe 085886c
Added pwd command in github action
kreloaded 3dfd29e
Merge pull request #79 from sirji-ai/github-workflow
V-R-Dighe eeb096d
Added pwd for debugging
kreloaded da55957
Added steps in single run command
kreloaded 6b3b492
Fixed resizer smoothing issue
GadhariSachin 4c64d30
Fixed input box height issue
GadhariSachin 13cadd6
Minor fix
GadhariSachin 839697a
Merge branch 'main' into sachin/split-screen-ui
GadhariSachin 1433634
Updated the changelog file
V-R-Dighe 268fb26
Updated the changelog with issue links and new versions change log
V-R-Dighe a225ab5
Updated the github workflow with the vsix file upload to s3 changes
V-R-Dighe c259269
Updated the github workflow with the vsix file upload to s3 changes
V-R-Dighe ab80669
Updated the github workflow with the vsix file upload to s3 changes
V-R-Dighe 30ac324
Updated the github workflow with the vsix file upload to s3 changes
V-R-Dighe d0b281e
Updated the github workflow with the vsix file upload to s3 changes
V-R-Dighe b493460
Uncommented the publish command from workflow
V-R-Dighe 641bc5c
Merge pull request #81 from sirji-ai/changelog
sunilkhedar 12a64f8
Merge pull request #82 from sirji-ai/github-workflow
sunilkhedar 8ce70fb
Merge pull request #83 from sirji-ai/sachin/split-screen-ui
sunilkhedar ee42208
Added publish to open vsx support in github workflow
V-R-Dighe 3c06428
Added publish to open vsx support in github workflow
V-R-Dighe 360b52a
Merge pull request #84 from sirji-ai/open-vsx-publish
sunilkhedar 9efb138
changes for making sirji compatibility to windows
dakshbhardwaj df7c8cf
removed os hardcoding
dakshbhardwaj 87e3f7f
Update README.md
kedarchandrayan 31cd225
Update README.md
kedarchandrayan 0ee7f18
Update README.md
kedarchandrayan 4b340bf
Update README.md
kedarchandrayan 8b250a1
Update README.md
kedarchandrayan 785b206
Update README.md
kedarchandrayan 92b4418
Update README.md
kedarchandrayan bf3b66a
Update README.md
kedarchandrayan bdafdde
Update README.md
kedarchandrayan be46a5e
Update README.md
kedarchandrayan 279f268
Merge pull request #107 from sirji-ai/roadmap
sunilkhedar 27d2510
Merge pull request #86 from sirji-ai/windows-compatibility
kedarchandrayan 98fe853
Added Ollama as a model provider and upodated README with relevant in…
devparanjay 34ffb5c
Updated README
devparanjay 1e52383
Merge branch 'main' into upstream
devparanjay 5508f1c
Fixed JS syntax
devparanjay 54bd021
Fixed README.md
devparanjay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
SIRJI_OPENAI_API_KEY=sk-none | ||
SIRJI_USE_OLLAMA=true | ||
SIRJI_OLLAMA_MODEL=gemma:2b |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,6 @@ __pycache__/ | |
|
||
# Virtual environment | ||
venv | ||
.venv | ||
|
||
.DS_Store |
This file contains 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
This file contains 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
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added python-dotenv |
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loaded dotenv