| Commit message (Collapse) | Author | Age | Files | |
|---|---|---|---|---|
| * | special role | Martin Bielik | 2024-12-17 | 9 |
| | | ||||
| * | new utility commands | Martin Bielik | 2024-12-17 | 4 |
| | | ||||
| * | replace :AINew with default roles, closes #97 | Martin Bielik | 2024-12-17 | 6 |
| | | ||||
| * | introduced pre-defined default roles | Martin Bielik | 2024-12-17 | 7 |
| | | ||||
| * | simplified new role syntax | Martin Bielik | 2024-12-17 | 6 |
| | | ||||
| * | 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 | |||