Aicodebot

Latest version: v0.26.3

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 9

0.9.5

Unknown

* Bump version to 0.9.5 ([`05843cc`](https://github.com/TechNickAI/AICodeBot/commit/05843cc722f17acfcefb876ca6e8a7b51a99b754))

* Implement caching for configuration and personality prompt retrieval

In an effort to improve efficiency and reduce unnecessary disk reads, caching has been implemented for the retrieval of configuration files and personality prompts. The functools.lru_cache decorator has been employed to this end, ensuring that repeated calls to these functions will return cached results when available. This change should result in a noticeable performance improvement, particularly in scenarios where these functions are called frequently. ([`5f7d969`](https://github.com/TechNickAI/AICodeBot/commit/5f7d969622c358aa6b40d1a36d64752bfeeaa509))

* Introduce Clippy and Stewie as new AI personalities

In this commit, we&39;ve added two new personalities to our AI repertoire. Clippy, the overzealous assistant from Microsoft Office, and Stewie Griffin, the sophisticated infant from Family Guy. We&39;ve also removed Peter Griffin from the list. These changes should provide a more diverse range of personalities for users to interact with. ([`f800921`](https://github.com/TechNickAI/AICodeBot/commit/f8009211a14fa130e641f5f2a2be9eabba711567))

* Make log level case insensitive ([`679a7f9`](https://github.com/TechNickAI/AICodeBot/commit/679a7f9f91fd5ca197812e0bd97133a2849e7451))

0.9.4

Unknown

* Bump version to 0.9.4 ([`42b041e`](https://github.com/TechNickAI/AICodeBot/commit/42b041e7170e57f2c82feee23f9cd2157d43b533))

* Log the output of the diff commit if LOG_LEVEL is high enough ([`cb160c6`](https://github.com/TechNickAI/AICodeBot/commit/cb160c617db6830c55bfcd735597039ac4a03e50))

* Change the default personality to Spock. ([`b112868`](https://github.com/TechNickAI/AICodeBot/commit/b11286873edd27f6ecf2abe2d85ebd9b251a2472))

* Update short description in setup.py

Changed the description of the project from Your AI-powered coding sidekick ๐Ÿค– to AI-powered tool for developers, simplifying coding tasks and improving workflow efficiency. to provide a more detailed and professional overview of the project. ([`c7a3ab1`](https://github.com/TechNickAI/AICodeBot/commit/c7a3ab1cf3f14a3148f18df30073a69baf4ac53b))

0.9.3

Unknown

* Bump version to 0.9.3 ([`125d1f0`](https://github.com/TechNickAI/AICodeBot/commit/125d1f0bde3c49908fd6ff370b37c0414808ad03))

* Improve handling of OpenAI API key ๐Ÿ—๏ธ, especially for GitHub Actions ([`fd3ebc3`](https://github.com/TechNickAI/AICodeBot/commit/fd3ebc35e505c847fd3e4f4b18fc16a4bd446bd9))

* Refine user interaction prompts

In this commit, we have made several changes to improve the user experience and error handling in the AICodeBot command line interface. We have refined the prompts and messages displayed to the user, making them more concise and informative. We have also improved the handling of the OpenAI API key, including its validation and the prompt for its entry. Furthermore, we have enhanced the presentation of the available AI personalities, making the choices clearer to the user. Lastly, we have removed some redundant code and messages, streamlining the user experience. ([`65a2ca2`](https://github.com/TechNickAI/AICodeBot/commit/65a2ca28b1101a68138f43517455110cee4ce7a6))

0.9.2

Unknown

* Bump to version 0.9.2 ([`ba788ec`](https://github.com/TechNickAI/AICodeBot/commit/ba788ec928c3c06701c11d837a6b18232cb721b6))

* Better handling of the input for sidekick - with command history.

Resolves 18

In this commit, the input prompts in the `aicodebot/cli.py` file have been refactored to use the `prompt_toolkit` library instead of the `click.prompt` function. This change provides a more robust and flexible input prompt system. Additionally, the `prompt-toolkit` library has been added to the project dependencies in the `requirements.in` and `requirements.txt` files. ([`2114d73`](https://github.com/TechNickAI/AICodeBot/commit/2114d7367adb73a5a8aad4260acff95d81163be8))

* Refactor llm generation code to improve modularity and readability

The code has been refactored to improve modularity and readability. The `get_llm` method has been moved to the `Coder` class to centralize the creation of language models. This change simplifies the code and makes it easier to understand. The `RichLiveCallbackHandler` class has also been moved to the `helpers.py` file, which is a more appropriate location for it. Additionally, the `DEFAULT_MAX_TOKENS`, `PRECISE_TEMPERATURE`, and `CREATIVE_TEMPERATURE` constants have been moved to the `coder.py` file for better organization. ([`6926ad5`](https://github.com/TechNickAI/AICodeBot/commit/6926ad5bdf99bc6bd302e1f27cdd6b049db8984b))

* Update tests to pass ruff checks for falsey/strings ([`3907bc3`](https://github.com/TechNickAI/AICodeBot/commit/3907bc3faff2ac3743593dad424fb2aca21736a2))

* Refine README to reflect current capabilities and future plans

The README has been updated to more accurately represent the current state and future trajectory of AICodeBot. The changes include a more precise description of tasks AICodeBot can handle, tasks that are in progress, and tasks that will be possible as the technology evolves. The aim is to provide a clearer picture to users about what AICodeBot can and cannot do at this point in time, and what they can expect in the future. ([`fb3c08a`](https://github.com/TechNickAI/AICodeBot/commit/fb3c08a80727d621ec3b8a195f0a532b9ba626d9))

* Move tests for cli all into one place ([`8858ca3`](https://github.com/TechNickAI/AICodeBot/commit/8858ca31d2f521ff6eddf9514edd625f91fe6a19))

* Update `cli.py` to use new `Coder` class for coding related tasks

This change updates the `cli.py` file to use the `Coder` class from the `coder.py` module for getting the language model name and token length. By using the `Coder` class, we improve the code structure and make it more modular. This change enhances the readability and maintainability of the codebase. ([`671ddfa`](https://github.com/TechNickAI/AICodeBot/commit/671ddfa0531575126dd812d2432444645e413942))

* Refactor configuration handling in aicodebot

In the pursuit of simplicity and clarity, the configuration handling functions have been moved from `aicodebot/helpers.py` to a new file `aicodebot/config.py`. This change enhances the modularity of the code and makes it easier to manage and understand. The `cli.py` file has been updated accordingly to import these functions from their new location. ([`c0d2802`](https://github.com/TechNickAI/AICodeBot/commit/c0d28028e9322f36059c58da3ef26e1bc84f423f))

* Test debug success should only run with an API key set ([`eb4c981`](https://github.com/TechNickAI/AICodeBot/commit/eb4c9813d33a6f3d3ae452ddc75422da226f41a7))

* Merge pull request 22 from TechNickAI/dependabot/pip/langchain-0.0.225

Bump langchain from 0.0.222 to 0.0.225 ([`8c74ddd`](https://github.com/TechNickAI/AICodeBot/commit/8c74ddd14af3c54db2a85f9462829dadf2e3e1ee))

0.9.1

Unknown

* Bump version to 0.9.1 ([`79c4e72`](https://github.com/TechNickAI/AICodeBot/commit/79c4e7222a7cb80b207fd865e97ef4af77136ff1))

* Add new AI personalities and update existing ones in prompts.py

The changes include the addition of new AI personalities: Einstein, Michael Scott, Peter Griffin, Socrates, and Spock. Existing AI personalities: Her, Jules, and Morpheus have been updated for clarity. The default personality has been changed from Her to Einstein. ([`0cc8f2a`](https://github.com/TechNickAI/AICodeBot/commit/0cc8f2a8bb6ee0a2bee5f5295200e32d1bf73562))

* Refine commit message handling and update prompts ๐Ÿ“

In this commit, we&39;ve made some improvements to the way we handle commit messages. We&39;ve added a step to remove any unwanted quotation marks from the commit message before it&39;s written to a temporary file. This should help keep our commit messages clean and readable. ๐Ÿงน

We&39;ve also made some updates to our prompts file. We&39;ve streamlined the &39;Her&39; personality description and made some changes to the commit message instructions. We&39;ve switched from a list format to bullet points for better readability, and added some extra information about the length of the commit message. We hope these changes will make the prompts more user-friendly and informative. ๐Ÿ“š

Remember, a good commit message is like a good joke - it&39;s all about the delivery! ๐ŸŽญ ([`bd6e915`](https://github.com/TechNickAI/AICodeBot/commit/bd6e9157b253e9fe293829771d9846ac7f2e36d8))

* Update README.md with enhanced feature list and usage instructions ๐Ÿ“š

This commit introduces a more structured and detailed feature list in the README.md file, providing a clearer understanding of the current capabilities of AICodeBot and what&39;s on the horizon. It also updates the usage instructions, specifically the initial setup process, to ensure a smoother onboarding experience for new users. The changes aim to make the tool more user-friendly and transparent about its functionality. ๐Ÿš€ ([`919c21d`](https://github.com/TechNickAI/AICodeBot/commit/919c21d660414bd0fa0e9e38e16c0370571237ef))

0.9.0

Unknown

* Bump version to 0.9.0 ([`1b9c59f`](https://github.com/TechNickAI/AICodeBot/commit/1b9c59f280a487d078313aae94eb1e728a8117b8))

* Add configuration command and update key references

This commit introduces a new &39;configure&39; command in the build workflow, which creates or updates the config file. The &39;openai_api_key&39; is now fetched from the config file instead of the &39;OPENAI_API_KEY&39;. The &39;personality&39; option in the config file has also been updated to use the &39;Her&39; personality by default. The &39;setup&39; command has been removed as it&39;s no longer needed.

Additionally, the &39;DEFAULT_PERSONALITY&39; has been set to &39;Her&39; and the &39;PERSONALITIES&39; keys have been updated to match the case of the personality names.

The tests have been updated to reflect these changes. The &39;test_configure&39; function now tests the &39;configure&39; command, and the &39;test_setup_with_openai_key&39; function has been removed as it&39;s no longer relevant.

These changes make the configuration process more streamlined and user-friendly. ๐Ÿš€&34; ([`33fd8b5`](https://github.com/TechNickAI/AICodeBot/commit/33fd8b5caf301ff251fa9859c62baee4afbc3bde))

* Update model selection logic in helpers.py

This commit updates the `get_llm_model` function in `helpers.py` to dynamically select the best available model based on the OpenAI API key&39;s supported engines and the token size. The previous hard-coded model selection logic has been replaced with a more flexible approach that queries the available engines from the OpenAI API. This ensures that the most suitable model is selected for the given token size, improving the efficiency and adaptability of the code.

In addition, the commit also includes minor changes to the import statements and the logging messages to accommodate the updated model selection logic.

Remember, the future is not set in stone. It&39;s a wildly malleable thing that&39;s still very much in the works. And you, dear developer, are one of the many hands that get to shape it. Let&39;s keep coding a better future together! ([`4465984`](https://github.com/TechNickAI/AICodeBot/commit/44659846c2f1a47ec6b5a92cdedb80d932a584c8))

* Fix lint mis-spelling ([`a66057f`](https://github.com/TechNickAI/AICodeBot/commit/a66057f1f462906c7cfc057a98d17f52ebd3ddf7))

* Slight updates to the README ([`4a20b04`](https://github.com/TechNickAI/AICodeBot/commit/4a20b045039066f8874d43243f9503b489a977a4))

Page 4 of 9

ยฉ 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.