Commit Graph

123 Commits

Author SHA1 Message Date
Copilot 9d6e75dfe8 Update default model to gpt-5.4-nano (#761) 2026-05-06 05:20:11 +02:00
繁星_逐梦 29b77522ca Enforce UTF-8 cache writes (#737) 2026-04-11 07:39:43 +02:00
Farkhod Sadykov 4ea2f834cf Migrate to OpenAI v2 (#744)
* Migrate to OpenAI v2 package

* Remove Click direct package dependency

* Minor handler improvements

* Change README.md demo video

* Version bump, release 1.5.0
1.5.0
2026-01-28 01:52:29 +01:00
Lucas Pimentel 6bd0bdebe1 Update OpenAI API key link in README (#736) 2026-01-27 22:16:18 +01:00
ShH Y 880e7db0d0 Add check for empty choices in response chunks (#738) 2026-01-27 22:11:00 +01:00
Farkhod Sadykov a04167c723 Fix failing unit tests (#733) 2025-10-30 06:33:20 +03:00
Farkhod Sadykov 9615dfbec8 Minor lint fixes 2025-07-17 04:19:16 +02:00
Farkhod Sadykov 30f39782b0 Modify shell command minor test fixes 2025-07-17 04:10:23 +02:00
DREVET Olivier 439a3e848e Implement modify option for generated shell command (#566)
Co-authored-by: Farkhod Sadykov <farkhod.sadykov@gmail.com>
2025-07-17 03:56:52 +02:00
Igor Mikushkin b7cad0bd85 Retain system role message in cache file 2025-04-11 10:40:09 +02:00
Farkhod Sadykov 005d4fc8fb Release 1.4.5 (#684) 1.4.5 2025-04-08 12:41:24 +02:00
Farkhod Sadykov 8f93f280ce Message cache length fix (#683) 2025-04-08 12:24:29 +02:00
EmVee381 859c97915a Preserve system message in the chat message cache (#669) 2025-04-08 12:06:38 +02:00
Farkhod Sadykov 47b1715bc3 Update Python version requirements and dependencies (#671) 2025-02-17 05:11:10 +01:00
Florian G. Hechler 8fbd94f60b Fix --show-chat and --repl to respect --no-md (#513) 2025-02-17 01:17:31 +01:00
Carl Smedstad 9bd9420286 Replace removed unittest.mock assertion (Python 3.12) (#554) 2025-02-17 00:56:46 +01:00
Abhishek aac2f5461b Option for LiteLLM to manage API keys (#604) 2024-08-29 23:27:44 +02:00
Farkhod Sadykov ab6b475c9d CD pipeline fix (#608) 2024-08-11 01:24:08 +02:00
Farkhod Sadykov b087d73bf1 Minor bug fixes, documentation, release 1.4.4 (#607) 1.4.4 2024-08-11 00:02:01 +02:00
Robin Boone f0d000a728 Docker container improvements (#540)
Co-authored-by: Farkhod Sadykov <Farkhod.Sadykov@gmail.com>
2024-08-10 19:31:43 +02:00
Tijs Zwinkels bbd78d0190 Adopt new function calling that supports Groq and other models (#569)
Co-authored-by: Hejia Zhang <hejiazhang2023@outlook.com>
2024-08-10 19:19:57 +02:00
Xing Yahao 7678afe46f Update README.md function link (#539) 2024-06-20 04:58:39 +02:00
Alisson R. Perez 47d6faad2e Update default model to gpt-4o (#580) 2024-06-20 04:24:23 +02:00
counterapparatus 20405b2ed2 Fix shell identification (#544) 2024-04-23 23:49:50 +02:00
Farkhod Sadykov a5e2afc6db Docker image release action fixes 2024-04-06 20:49:10 +02:00
Farkhod Sadykov 6f9d7f6fd3 Fix version issue in release action, version bump 1.4.3 2024-04-06 18:54:28 +02:00
Farkhod Sadykov 7ee6c7df52 Bump version 1.4.2 2024-04-06 18:47:01 +02:00
Farkhod Sadykov 6b0f59ecc4 Fixing version issue in release action (#536) 2024-04-06 18:42:23 +02:00
Farkhod Sadykov 7b619e1fa5 Release version 1.4.1 (#532) 2024-04-06 18:09:10 +02:00
Farkhod Sadykov 89d6e4ce56 PyPI and GitHub release actions (#535) 2024-04-06 18:05:12 +02:00
save196 be138cbd77 Chat and REPL modes output fix after function calls (#525) 2024-04-01 07:35:16 +02:00
Artspark bb63eba9c5 Keyboard interrupt while streaming (#521) 2024-03-24 20:46:16 +01:00
Keith Thompson b0af9475ed Split config lines on the first equal sign (#504) 2024-03-10 13:47:41 +01:00
Farkhod Sadykov d86d04cd4f Azure integration Wiki page (#491) 2024-02-22 04:21:24 +01:00
Farkhod Sadykov 7c3617a586 Bump release version 1.4.0 1.4.0 2024-02-22 03:47:06 +01:00
Farkhod Sadykov 90f3f4c294 Use OpenAI by default make LiteLLM optional (#488) 2024-02-22 03:43:56 +01:00
Farkhod Sadykov 779749f304 Markdown option and config variable (#481) 2024-02-20 23:55:49 +01:00
Farkhod Sadykov ecb7b26e15 New config variable API_BASE_URL and minor bug fixes (#477) 1.3.1 2024-02-17 02:58:55 +01:00
Jean-Luc Thumm f4dc37f925 Markdown formatting for chat history (#444) 2024-02-11 20:03:50 +01:00
Farkhod Sadykov 1cb61dee0a Ollama integration 🦙 (#463) 1.3.0 2024-02-09 23:18:39 +01:00
Farkhod Sadykov ad6d297b28 Major refactoring and optimisation (#462)
* Major refactoring and optimisation.
* Removed redundant code.
* Removed caching for --chat conversations.
* Fixing mypy typing.
* Printer class to handle LLM output formatting.
* Spinner and better handling when DISABLE_STREAMING is True.
2024-01-31 03:55:39 +01:00
Farkhod Sadykov c48926a4a4 Non-interactive mode for --shell and integration changes (#455)
* Added --interaction that works with --shell option.
* Changed shell integrations to use new --no-interaction option.
* Moved shell integrations into dedicated file integration.py.
* Changed --install-integration logic to install integrations without downloading sh scripts.
* Removed validation for PROMPT argument, empty string by default.
* Fixing an issue when sgpt is being called from non-interactive shell environments.
* Fixed and optimised Dockerfile.
* README.md improvements, and new feature examples.
* New funny demo video.
1.2.0
2024-01-28 05:03:44 +01:00
Farkhod Sadykov 361d1eabf8 Improved tests, REPL stdin, documentation (#452)
* Improved mocked response tests.
* REPL mode can accept stdin as initial prompt.
* Readme and Contributing documentation improvements.
2024-01-19 02:16:46 +01:00
Farkhod Sadykov b77b7d7c2f Improved tests with mocked API responses (#442)
* Changed name of --top-probability parameter to --top-p.
* Fixed bug in --repl --shell when describing shell command.
2024-01-15 05:24:31 +01:00
Farkhod Sadykov 1281fa386c Added FUNDING.yml 2024-01-14 23:16:37 +01:00
Farkhod Sadykov d908d1d370 Few README.md fixes (#441) 2024-01-13 23:59:09 +01:00
Farkhod Sadykov 3147957f08 Improved README.md (#440) 2024-01-13 07:33:18 +01:00
Farkhod Sadykov 25032815c1 Fix issue with stdin and --shell option (#439)
Co-authored-by: Mael Primet <mael.primet@gmail.com>
Co-authored-by: Maximilian Kling <maximilian.b.kling@stud.h-da.de>
2024-01-13 04:10:13 +01:00
Farkhod Sadykov 334580ccf8 GitHub codespaces setup (#65) 2024-01-12 05:49:57 +01:00
Farkhod Sadykov 20ff0f2eeb Added OpenAI function calls (#427) 1.1.0 2024-01-09 02:52:41 +01:00