| Commit message (Collapse) | Author | Age | Files | |
|---|---|---|---|---|
| * | command-type only roles | Martin Bielik | 2024-12-16 | 7 |
| | | ||||
| * | new role syntax | Martin Bielik | 2024-12-16 | 9 |
| | | ||||
| * | added ci pipeline | Martin Bielik | 2024-12-16 | 1 |
| | | ||||
| * | edit command role | Martin Bielik | 2024-12-16 | 4 |
| | | ||||
| * | refactoring: import python when needed, run as functions | Martin Bielik | 2024-12-16 | 7 |
| | | ||||
| * | refactoring: make prompt in python | Martin Bielik | 2024-12-15 | 7 |
| | | ||||
| * | unified config parsing + tests | Martin Bielik | 2024-12-15 | 10 |
| | | ||||
| * | fixed roles parsingmain | Martin Bielik | 2024-12-12 | 1 |
| | | ||||
| * | fixed complete command roles after refactoring | Martin Bielik | 2024-12-12 | 3 |
| | | ||||
| * | execute mutliple roles | Martin Bielik | 2024-12-12 | 3 |
| | | ||||
| * | Merge pull request #139 from jkoelker/improve_resp | Martin Bielik | 2024-12-12 | 1 |
| |\ | | | | | fix(utils): improve response mapping | |||
| | * | fix(utils): improve response mapping | Jason Kölker | 2024-12-11 | 1 |
| |/ | | | | | | | | | | | | | | | | | | | Make the reponse mapping more robust by checking for an empty (or missing) `choices` list and substitute a list with an empty dictionary. Use `.get` to access the `message` or `delta` object again returning an empty dictionary if they are not found. When using `hermes3-405b` on lambda cloud's inference (based on openrouter) a final response was returned with an empty list for choices causing a traceback on completion. Debug log: ``` [2024-12-11 19:49:11.925592] [engine-chat] response: {'id': 'chatcmpl-140a7a938d2149c8a750f47af6a11be1', 'object': 'chat.completion.chunk', 'created': 1733946550, 'model': 'hermes3-405b', 'choices': [{'index': 0, 'delta': {'content': ' today'}, 'finish_reason': None, 'content_filter_results': {'hate': {'filtered': False}, 'self_harm': {'filtered': False}, 'sexual': {'filtered': False}, 'violence': {'filtered': False}, 'jailbreak': {'filtered': False, 'detected': False}, 'profanity': {'filtered': False, 'detected': False}}}], 'system_fingerprint': '', 'usage': {'prompt_tokens': 40, 'completion_tokens': 18, 'total_tokens': 58, 'prompt_tokens_details': None, 'completion_tokens_details': None}} [2024-12-11 19:49:11.975457] [engine-chat] response: {'id': 'chatcmpl-140a7a938d2149c8a750f47af6a11be1', 'object': 'chat.completion.chunk', 'created': 1733946550, 'model': 'hermes3-405b', 'choices': [{'index': 0, 'delta': {'content': '?'}, 'finish_reason': None, 'content_filter_results': {'hate': {'filtered': False}, 'self_harm': {'filtered': False}, 'sexual': {'filtered': False}, 'violence': {'filtered': False}, 'jailbreak': {'filtered': False, 'detected': False}, 'profanity': {'filtered': False, 'detected': False}}}], 'system_fingerprint': '', 'usage': {'prompt_tokens': 40, 'completion_tokens': 19, 'total_tokens': 59, 'prompt_tokens_details': None, 'completion_tokens_details': None}} [2024-12-11 19:49:12.008987] [engine-chat] response: {'id': 'chatcmpl-140a7a938d2149c8a750f47af6a11be1', 'object': 'chat.completion.chunk', 'created': 1733946550, 'model': 'hermes3-405b', 'choices': [{'index': 0, 'delta': {}, 'finish_reason': 'stop', 'content_filter_results': {'hate': {'filtered': False}, 'self_harm': {'filtered': False}, 'sexual': {'filtered': False}, 'violence': {'filtered': False}, 'jailbreak': {'filtered': False, 'detected': False}, 'profanity': {'filtered': False, 'detected': False}}}], 'system_fingerprint': '', 'usage': {'prompt_tokens': 40, 'completion_tokens': 20, 'total_tokens': 60, 'prompt_tokens_details': None, 'completion_tokens_details': None}} [2024-12-11 19:49:12.009400] [engine-chat] response: {'id': 'chatcmpl-140a7a938d2149c8a750f47af6a11be1', 'object': 'chat.completion.chunk', 'created': 1733946550, 'model': 'hermes3-405b', 'choices': [], 'system_fingerprint': '', 'usage': {'prompt_tokens': 40, 'completion_tokens': 19, 'total_tokens': 59, 'prompt_tokens_details': None, 'completion_tokens_details': None}} ``` | |||
| * | allow passing single line range | Martin Bielik | 2024-12-10 | 1 |
| | | ||||
| * | don't include not selected line, refactor ranges, fixes #112 | Martin Bielik | 2024-12-08 | 4 |
| | | ||||
| * | print prompt in debug mode | Martin Bielik | 2024-12-08 | 2 |
| | | ||||
| * | Merge pull request #136 from drujensen/feature/fix-grok-xai | Martin Bielik | 2024-12-07 | 1 |
| |\ | | | | | fix: grok xai blocks without user agent, fixes #136 104 | |||
| | * | fix: grok xai blocks without user agent | Dru Jensen | 2024-12-07 | 1 |
| | | | ||||
| * | | fixed options normalization | Martin Bielik | 2024-12-07 | 3 |
| |/ | ||||
| * | improved initial message config | Martin Bielik | 2024-12-07 | 3 |
| | | ||||
| * | fix debug logging without arguments | Martin Bielik | 2024-12-07 | 1 |
| | | ||||
| * | improved openrouter guide | Martin Bielik | 2024-12-06 | 1 |
| | | ||||
| * | docu: custom apis, openrouter guide | Martin Bielik | 2024-12-06 | 1 |
| | | ||||
| * | allow override global token config | Martin Bielik | 2024-12-06 | 4 |
| | | ||||
| * | o1 role example | Martin Bielik | 2024-12-05 | 2 |
| | | ||||
| * | fixed stream=0 in chat engine | Martin Bielik | 2024-12-05 | 3 |
| | | ||||
| * | updated edit configuration docu | Martin Bielik | 2024-12-05 | 1 |
| | | ||||
| * | o1 preview example | Martin Bielik | 2024-12-05 | 1 |
| | | ||||
| * | escaping error message | Martin Bielik | 2024-12-05 | 1 |
| | | ||||
| * | moving from legacy completions api | Martin Bielik | 2024-12-05 | 3 |
| | | ||||
| * | docu new options | Martin Bielik | 2024-12-03 | 4 |
| | | ||||
| * | o1 support - max_completion_tokens | Martin Bielik | 2024-12-03 | 2 |
| | | ||||
| * | Merge branch 'main' into support-non-streaming | Martin Bielik | 2024-12-03 | 1 |
| |\ | ||||
| | * | improved error handling, fixes #126 | Martin Bielik | 2024-11-08 | 1 |
| | | | ||||
| * | | support non streaming api | Martin Bielik | 2024-10-08 | 3 |
| |/ | ||||
| * | Merge pull request #119 from eltociear/patch-1 | Martin Bielik | 2024-09-12 | 1 |
| |\ | | | | | docs: update README.md | |||
| | * | docs: update README.md | Ikko Eltociear Ashimine | 2024-09-12 | 1 |
| |/ | | | seleciton -> selection | |||
| * | Merge pull request #113 from madox2/keep-open-mode-multiple-chats | Martin Bielik | 2024-09-11 | 2 |
| |\ | | | | | allow multiple chats in keep open mode | |||
| | * | remove useless buffer in keep open mode | Martin Bielik | 2024-07-29 | 1 |
| | | | ||||
| | * | private MakeScratchWindow function | Martin Bielik | 2024-07-25 | 1 |
| | | | ||||
| | * | switch to last created buffer in keep open mode | Martin Bielik | 2024-07-24 | 1 |
| | | | ||||
| | * | allow multiple chats in keep open mode | Martin Bielik | 2024-07-23 | 2 |
| |/ | ||||
| * | fixes #110, python compatibility issue with escape sequence | Martin Bielik | 2024-06-11 | 1 |
| | | ||||
| * | added abort flag to the plugin functions | Martin Bielik | 2024-06-09 | 1 |
| | | ||||
| * | handle paste mode in finally block | Martin Bielik | 2024-06-09 | 1 |
| | | ||||
| * | Merge pull request #108 from misterbuckley/fix-print-info-message | Martin Bielik | 2024-06-06 | 1 |
| |\ | | | | | Fix print_info_message <Esc> issue | |||
| | * | Fix print_info_message <Esc> issue | Michael Buckley | 2024-06-04 | 1 |
| |/ | | | | | | | | | | | | | | | | | | | | | I ran into an issue when first using this plugin where the print_info_message function wasn't working correctly due to vim misinterpreting the <Esc> sequence in `vim.command("normal \\<Esc>")` as a series of individual characters rather than a single literal Escape character. This resulted in the characters 'c>' being inserted into the active buffer at the cursor location because the 's' in '<Esc>' was being interpreted as a normal mode 's', causing it to enter insert mode, and none of the info messages were being echoed properly. This was frustrating as it was not easy to figure out why my commands weren't working initially (turns out I hadn't configured my billing plan correctly, d'oh). Fix this by using a more robust way of sending the <Esc> character to vim via `vim.command('call feedkeys("\<Esc>")')`. The usage of double quotes inside the feedkeys() call is important because it causes vim to treat the sequence as a proper escape sequence rather than a series of individual characters (see :h feedkeys). | |||
| * | gpt-4o as default chat model | Martin Bielik | 2024-05-31 | 3 |
| | | ||||
| * | define required max_tokens for turbo-instruct model | Martin Bielik | 2024-05-31 | 3 |
| | | ||||
| * | Merge pull request #99 from Konfekt/patch-3 | Martin Bielik | 2024-05-16 | 3 |
| |\ | | | | | increase token limit | |||
| | * | increase token limit | Enno | 2024-04-14 | 3 |
| |/ | ||||