86 Commits

Author SHA1 Message Date
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
Farkhod Sadykov 4b670cf8af Added OpenAI SDK dependency (#414) 2023-12-23 04:05:34 +01:00
Farkhod Sadykov 482ec9dbaa ShellGPT release 1.0.1 1.0.1 2023-12-22 01:46:26 +01:00
Farkhod Sadykov c8e279c512 REPL conversation bug fix and minor improvements (#410) 2023-12-22 01:38:29 +01:00
Farkhod Sadykov 7ac1f98a8b New demo video and release ShellGPT v1.0.0 (#403) 1.0.0 2023-12-20 05:39:34 +01:00
Farkhod Sadykov d9a2e377b5 Minor default role improvements (#402) 2023-12-19 23:26:31 +01:00
Farkhod Sadykov b0d43463af REPL multiline documentation and improvements (#401) 2023-12-19 21:59:01 +01:00
Farkhod Sadykov 3eac96b5d7 Render markdown for default output (#400)
Co-authored-by: Jaycen Horton <jaycen@nori.com>
2023-12-19 21:29:21 +01:00
Farkhod Sadykov c0fc39dc4f System role optimisations for GPT4+ models (#398) 2023-12-19 16:53:15 +01:00
Ismail Bennani 0a6fbe561c Handle API authenticating response (#395) 2023-12-19 03:37:37 +01:00
arafatsyed f50d544086 Multiline input in REPL (#393) 2023-12-12 23:14:14 +01:00
Navidur Rahman e61caf5c46 Show sgpt version command line option (#394) 2023-12-12 22:47:48 +01:00
Moritz Tim W f3413c0c47 Fixing config file empty line crash (#386) 2023-12-12 10:08:53 +01:00
Oussama Messabih a9bebab778 Fixing home directory issue in Dockerfile (#382) 2023-12-11 21:41:05 +01:00
Farkhod Sadykov 1c58566488 Added option to run sgpt with LocalAI (#307) 0.9.4 2023-07-19 03:13:44 +02:00
Steven 4aed53b968 Improve the documentation on the chat mode and REPL mode (#284) 2023-06-26 22:35:06 +02:00
Dan Arthur d2a43c6723 Add option to disable response streaming (#290) 2023-06-21 00:06:27 +02:00
Steven 30fad64b4d Minor shell command example fix in README.md (#280) 2023-06-18 04:44:24 +02:00
Yaroslav Halchenko 3e493e80e2 Adding codespell checks and workflow (#287) 2023-06-18 04:39:12 +02:00
Farkhod Sadykov 15b85989fe Removing date stricted models, release 0.9.3 (#285) 0.9.3 2023-06-14 17:03:06 +02:00
William C. Wright fd210e9cb6 Adding new GPT models (#263) 2023-06-14 16:37:46 +02:00
Farkhod Sadykov cb9782b74d Simple shell Integrations (#267) 0.9.2 2023-06-05 01:38:28 +02:00
Farkhod Sadykov 0129e59db6 Option to describe --shell commands when executing (#249) 0.9.1 2023-05-21 19:45:51 +02:00
Philipp Jovanovic 904f2cbe4a Adding filtering of comments in the .sgptrc config file (#226) 2023-05-21 14:06:09 +02:00
konstantin-goldman b8b87e6517 Configuration parameter to execute shell commands by default (#246) 2023-05-20 19:10:20 +02:00
Chinar Joshi 39b5b18079 Describe shell command option (#195) 2023-05-16 18:19:14 +02:00
eitamal 5b5b321648 Update default temperature range (#223) 2023-05-05 16:10:57 +02:00
Cosmo 00b69e950e Fix spelling error in README.md (#115) 2023-05-02 19:21:06 +02:00
Cosmo 1abedc6aae Hide API key from Rich tracebacks (#221) 2023-05-02 19:18:56 +02:00
Farkhod Sadykov a054a90095 Custom roles (#183)
* Implementing custom roles.
* Implementing system role messages.
* Small stdin change with new lines at the end.
* Small option name fix --list-chats.
* Refactoring module imports.
* Adding tests for roles.
0.9.0
2023-04-16 18:27:49 +02:00
Farkhod Sadykov 4786191950 Update README.md 0.8.9 2023-04-15 01:24:01 +02:00
Farkhod Sadykov 12134c2c95 Migrating to TOML new linting and stricted typing (#165)
* pyproject.toml
* sdist and bdist specific files.
* CONTRIBUITNG.md.
* New linters and CI/CD.
* Mypy stricted types.
* Shell scripts to run linters and tests.
2023-04-15 01:22:23 +02:00
Farkhod Sadykov 239f39a54b Update README.md new demo video 2023-04-12 21:53:12 +02:00
Farkhod Sadykov b613327cb0 Update README.md 2023-04-10 17:23:49 +02:00
Farkhod Sadykov 3c5361b3c5 Accept prompt from stdin (#163) 0.8.8 2023-04-10 17:11:46 +02:00
Farkhod Sadykov 8fe43f562d Option to change completion color (#157)
* Optimized config module with Config class.
* Added config option to change OpenAI completion color in terminal.
0.8.7
2023-04-10 12:18:21 +02:00
Farkhod Sadykov 2b7067f7fa Model choice option to support GPT-4 (#151)
* Model choice option to support GPT-4
* Added default model to config file
---------
Co-authored-by: Levi Purdy <lpurdy01@gmail.com>
0.8.6
2023-04-09 19:16:19 +02:00
Farkhod Sadykov d12d72b20e Fixing shell command output stream (#150) 0.8.5 2023-04-08 00:01:20 +02:00