-
Notifications
You must be signed in to change notification settings - Fork 11
Comparing changes
Open a pull request
base repository: TechNickAI/AICodeBot
base: v0.18.1
head repository: TechNickAI/AICodeBot
compare: v0.19.1b
- 19 commits
- 26 files changed
- 3 contributors
Commits on Aug 2, 2023
-
Bump langchain from 0.0.242 to 0.0.249
Bumps [langchain](https://github.com/hwchase17/langchain) from 0.0.242 to 0.0.249. - [Release notes](https://github.com/hwchase17/langchain/releases) - [Commits](langchain-ai/langchain@v0.0.242...v0.0.249) --- updated-dependencies: - dependency-name: langchain dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2b5756 - Browse repository at this point
Copy the full SHA b2b5756View commit details -
Bump rich from 13.4.2 to 13.5.2
Bumps [rich](https://github.com/Textualize/rich) from 13.4.2 to 13.5.2. - [Release notes](https://github.com/Textualize/rich/releases) - [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md) - [Commits](Textualize/rich@v13.4.2...v13.5.2) --- updated-dependencies: - dependency-name: rich dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4543b33 - Browse repository at this point
Copy the full SHA 4543b33View commit details -
Refactor code to move language model interactions to new LLM class
The codebase has been refactored to move all interactions with language models to a new class, LLM. This change improves the organization of the code and makes it easier to manage language model interactions. The Coder class has been simplified as a result. The LLM class now handles tasks such as getting the token length of a text, initializing a language model, and determining the appropriate model to use based on token size. This change affects multiple files across the codebase.
1Configuration menu - View commit details
-
Copy full SHA for c1f7077 - Browse repository at this point
Copy the full SHA c1f7077View commit details -
Refactor: Replace LLM with LanguageModelManager across multiple files…
…, set up for using different models The LLM class has been replaced with a more descriptive LanguageModelManager class. This change has been propagated across multiple files including agents.py, coder.py, alignment.py, commit.py, debug.py, learn.py, review.py, sidekick.py, and input.py. The new class provides the same functionality but with a more intuitive name. This change improves code readability and maintainability.
1Configuration menu - View commit details
-
Copy full SHA for 12de8a6 - Browse repository at this point
Copy the full SHA 12de8a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd2b13f - Browse repository at this point
Copy the full SHA bd2b13fView commit details -
More elegantly handle auto complete, particularly when running outsid…
…e of a git repo Resolves #75 The handling of project files in the SidekickCompleter class has been refactored for efficiency and clarity. The list of project files is now lazily loaded and cached, only when needed. This change improves performance by avoiding unnecessary file system operations, especially in large repositories. Additionally, the logic for determining whether to use the gitignore file for filtering has been encapsulated within the new `project_files` property, making the code more maintainable and easier to understand. 🚀🧹
Configuration menu - View commit details
-
Copy full SHA for 2b9b198 - Browse repository at this point
Copy the full SHA 2b9b198View commit details
Commits on Aug 4, 2023
-
Rework LanguageModelManager class to use factories. Further prep for …
…user specified model config
Configuration menu - View commit details
-
Copy full SHA for b1afadc - Browse repository at this point
Copy the full SHA b1afadcView commit details -
Fix up support for openrouter with token sizing. Remove test hack and…
… have tests use a test config file.
Configuration menu - View commit details
-
Copy full SHA for 8d4dd30 - Browse repository at this point
Copy the full SHA 8d4dd30View commit details -
Merge pull request #72 from gorillamania/dependabot/pip/langchain-0.0…
….249 Bump langchain from 0.0.242 to 0.0.249
Configuration menu - View commit details
-
Copy full SHA for fd1bad5 - Browse repository at this point
Copy the full SHA fd1bad5View commit details -
*Barely* working support for HuggingFace Hub (don't use)
This commit introduces a more informative live interaction with the language models across multiple commands. Now, users will be aware of which model they are communicating with and through which provider. This change also ensures that the response from the language model is updated live, providing a more interactive experience. Additionally, support for HuggingFace Hub models has been added, expanding the range of models users can interact with. Let's keep the conversation going! 🗣️💬
Configuration menu - View commit details
-
Copy full SHA for cb604ca - Browse repository at this point
Copy the full SHA cb604caView commit details -
Refactor input handling in sidekick commands
In this commit, we've refactored the way input is handled in the sidekick commands. We've replaced the use of `input_prompt` with a more robust `PromptSession` from the `prompt_toolkit` library. This change allows us to bundle history, auto-suggestion, and completion into a single session, making the code cleaner and more maintainable. We've also encapsulated the creation of this session into a new function `generate_prompt_session` for better code organization. 🧹👌
Configuration menu - View commit details
-
Copy full SHA for 3120b99 - Browse repository at this point
Copy the full SHA 3120b99View commit details -
Update AICodeBot to handle larger context sizes and improve user expe…
…rience 🚀 This commit introduces several enhancements to AICodeBot. The README.md file has been updated with more detailed instructions on how to configure the language model to use, manage tokens effectively, and handle larger context sizes. The version in the configuration file has been updated to 1.2. In addition, the language model manager now dynamically switches to a larger model if the context size exceeds the limit of the current model. This feature is supported for both OpenAI and OpenRouter models. The user interface has also been improved. When a request is sent to the language model, a message is displayed indicating which model is being used. If the model is changed due to the context size, a warning message is displayed. Finally, the test suite has been updated to cover these new features. These changes should make AICodeBot more robust and user-friendly, especially when dealing with larger context sizes. 🎉
Configuration menu - View commit details
-
Copy full SHA for b6adba1 - Browse repository at this point
Copy the full SHA b6adba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50aefa0 - Browse repository at this point
Copy the full SHA 50aefa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5de6556 - Browse repository at this point
Copy the full SHA 5de6556View commit details -
Merge pull request #73 from gorillamania/dependabot/pip/rich-13.5.2
Bump rich from 13.4.2 to 13.5.2
Configuration menu - View commit details
-
Copy full SHA for 26ea217 - Browse repository at this point
Copy the full SHA 26ea217View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac77df2 - Browse repository at this point
Copy the full SHA ac77df2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85bc62d - Browse repository at this point
Copy the full SHA 85bc62dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8940ca3 - Browse repository at this point
Copy the full SHA 8940ca3View commit details -
Refactor config reading and expand test coverage
This commit refactors the way we read the configuration in `lm.py` to ensure that we always return a dictionary, even when the configuration file is not found. This change simplifies the code and makes it more robust. In `output.py`, we've updated the comment to better reflect the actual code change, which is setting the padding to 0. In `test_lm.py`, we've expanded the test coverage to include more models. This will help us catch potential issues with these models earlier. These changes should improve the overall quality and reliability of our code. 🚀👍🏽
Configuration menu - View commit details
-
Copy full SHA for 8ec4065 - Browse repository at this point
Copy the full SHA 8ec4065View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.18.1...v0.19.1b