| Commit message (Collapse) | Author | Age | Files | |
|---|---|---|---|---|
| * | docu range functionality | Martin Bielik | 2024-02-26 | 1 |
| | | ||||
| * | Merge pull request #77 from Konfekt/range | Martin Bielik | 2024-02-26 | 4 |
| |\ | | | | | fix selection handling in vim_ai functions | |||
| | * | removed debug log | Martin Bielik | 2024-02-26 | 1 |
| | | | ||||
| | * | revert ModeChanged because visual to command mode is not detected | Konfekt | 2024-02-26 | 1 |
| | | | ||||
| | * | apply suggestions of review at PR #77 | Konfekt | 2024-02-26 | 1 |
| | | | ||||
| | * | drop superfluous selection argument and fix instruction argument | Konfekt | 2024-02-26 | 4 |
| | | | ||||
| | * | prefer less frequent ModeChanged event to CursorMoved if available | Konfekt | 2024-02-26 | 1 |
| | | | ||||
| | * | align AIRedo with AI/AIEdit/Chat | Konfekt | 2024-02-26 | 1 |
| | | | | | | | | | | | | | | | | | These changes were necessary to fix a bug where commands were not being executed correctly in non-visual modes, and to make the code cleaner and more efficient. By explicitly handling the visual selection state, it ensures that the plugin functions correctly regardless of how the user invokes the AI features. | |||
| | * | fix selection handling in vim_ai functions | Konfekt | 2024-02-26 | 2 |
| | | | | | | | | | addresses https://github.com/madox2/vim-ai/issues/76 | |||
| | * | Update README.md | Chris Stryczynski | 2024-02-26 | 1 |
| | | | | | | | Fix instructions which lead to `Undefined variable: g:vim_ai_chat` if config options are not initially set | |||
| * | | Merge pull request #75 from chrissound/patch-1 | Martin Bielik | 2024-02-18 | 1 |
| |\ \ | | | | | | | Fix instructions which lead to `Undefined variable: g:vim_ai_chat` if config options are not initially set | |||
| | * | | Update README.md | Chris Stryczynski | 2024-02-17 | 1 |
| |/ / | | | | | Fix instructions which lead to `Undefined variable: g:vim_ai_chat` if config options are not initially set | |||
| * | | Merge pull request #74 from jkoelker/include | Martin Bielik | 2024-01-25 | 5 |
| |\| | | | | | feat(chat): add `include` role to include files | |||
| | * | feat(chat): add `include` role to include files | Jason Kölker | 2024-01-24 | 5 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | Files may be included in the chat by a special `include` role. Each file's contents will be added to an additional `user` role message with the files separated by `==> {path} <==` where `{path}` is the path to the file. Globbing is expanded out via `glob.glob` and relative apths to the current working directory (as determined by `getcwd()`) will be resolved to absolute paths. Example: ``` >>> user Generate documentation for the following files >>> include /home/user/myproject/src/../requirements.txt /home/user/myproject/**/*.py ``` Fixes: #69 | |||
| * | import vim before utils, fixes #43 | Martin Bielik | 2023-12-23 | 2 |
| | | ||||
| * | added explaining comment | Martin Bielik | 2023-12-02 | 2 |
| | | ||||
| * | Merge pull request #64 from cposture/fix-visual-selection | Martin Bielik | 2023-12-02 | 4 |
| |\ | | | | | fix selection include extra content when the user is in visual mode | |||
| | * | fix selection include extra content when the user is in visual mode | cposture | 2023-12-02 | 4 |
| |/ | ||||
| * | fixed python3.12 slash escaping, fixes #61 | Martin Bielik | 2023-11-01 | 1 |
| | | ||||
| * | Merge pull request #59 from madox2/base-url-config | Martin Bielik | 2023-10-21 | 6 |
| |\ | | | | | Custom APIs, closes #55, closes #51 | |||
| | * | removed unused import | Martin Bielik | 2023-10-21 | 2 |
| | | | ||||
| | * | Merge remote-tracking branch 'origin/main' into base-url-config | Martin Bielik | 2023-10-21 | 4 |
| | |\ | |/ |/| | ||||
| * | | use gpt-3.5-turbo-instruct by default, closes #48 | Martin Bielik | 2023-09-26 | 3 |
| | | | ||||
| * | | compact org id docu | Martin Bielik | 2023-09-18 | 1 |
| | | | ||||
| * | | Merge pull request #54 from duylam/openai-org-support | Martin Bielik | 2023-09-18 | 2 |
| |\ \ | | | | | | | Support including OpenAI Org ID in the request to OpenAI API endpoints | |||
| | * | | Include OpenAI Org ID from the token config | Duy Lam | 2023-09-09 | 2 |
| |/ / | ||||
| | * | docu on custom apis | Martin Bielik | 2023-10-21 | 1 |
| | | | ||||
| | * | endpoint_url config | Martin Bielik | 2023-10-21 | 5 |
| | | | ||||
| | * | option to disable authorization | Martin Bielik | 2023-10-21 | 4 |
| | | | ||||
| | * | base_url extracted to config, docu | Martin Bielik | 2023-10-21 | 5 |
| | | | ||||
| | * | Add support for base_url option to use local models | juodumas | 2023-09-18 | 3 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | For example, you can start llama-cpp-python like this (it emulates the openai api): ```sh CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install 'llama-cpp-python[server]' wget https://huggingface.co/TheBloke/CodeLlama-13B-Instruct-GGUF/resolve/main/codellama-13b-instruct.Q5_K_M.gguf python3 -m llama_cpp.server --n_gpu_layers 100 --model codellama-13b-instruct.Q5_K_M.gguf ``` Then set the API url in your `.vimrc`: ```vim let g:vim_ai_chat = { \ "engine": "chat", \ "options": { \ "base_url": "http://127.0.0.1:8000", \ }, \ } ``` And chat with the locally hosted AI using `:AIChat`. The change in utils.py was needed because llama-cpp-python adds a new line to the final response: `[DONE]^M`. | |||
| * | allow string in initial_prompt, closes #35 | Martin Bielik | 2023-06-25 | 4 |
| | | ||||
| * | optional max_tokens, fixes #42 | Martin Bielik | 2023-06-11 | 2 |
| | | ||||
| * | selection boundary issue reference, fixes #45 | Martin Bielik | 2023-05-30 | 1 |
| | | ||||
| * | importing vim module, fixes #43 | Martin Bielik | 2023-05-23 | 1 |
| | | ||||
| * | tags update | Martin Bielik | 2023-05-22 | 1 |
| | | ||||
| * | print error in debug | Martin Bielik | 2023-05-19 | 3 |
| | | ||||
| * | Merge pull request #38 from madox2/next | Martin Bielik | 2023-05-14 | 3 |
| |\ | | | | | clear echo message after completion, fixes #16 | |||
| | * | clear echo message after completion | Martin Bielik | 2023-05-14 | 3 |
| |/ | ||||
| * | Added command example, fixes #37 | Martin Bielik | 2023-05-11 | 1 |
| | | ||||
| * | Merge pull request #34 from KupferDigital/main | Martin Bielik | 2023-05-08 | 1 |
| |\ | | | | | Allow modification of vim_ai_open_chat_presets | |||
| | * | Allow modification of vim_ai_open_chat_presets | BonaBeavis | 2023-05-07 | 1 |
| |/ | ||||
| * | Merge pull request #30 from BonaBeavis/patch-1 | Martin Bielik | 2023-05-05 | 1 |
| |\ | | | | | Allow single undo | |||
| | * | Allow single undo | BonaBeavis | 2023-05-04 | 1 |
| |/ | | | Fixes https://github.com/madox2/vim-ai/issues/14 | |||
| * | configurable paste mode | Martin Bielik | 2023-05-02 | 4 |
| | | ||||
| * | using value from extended config | Martin Bielik | 2023-05-02 | 1 |
| | | ||||
| * | http error handling | Martin Bielik | 2023-04-26 | 1 |
| | | ||||
| * | wiki references | Martin Bielik | 2023-04-24 | 1 |
| | | ||||
| * | split to AI commands and utilities | Martin Bielik | 2023-04-23 | 1 |
| | | ||||
| * | renamed custom commands examples | Martin Bielik | 2023-04-23 | 1 |
| | | ||||