12 Commits

Author SHA1 Message Date
Florian G. Hechler 8fbd94f60b Fix --show-chat and --repl to respect --no-md (#513) 2025-02-17 01:17:31 +01:00
Farkhod Sadykov 779749f304 Markdown option and config variable (#481) 2024-02-20 23:55:49 +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 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 b0d43463af REPL multiline documentation and improvements (#401) 2023-12-19 21:59:01 +01:00
arafatsyed f50d544086 Multiline input in REPL (#393) 2023-12-12 23:14:14 +01:00
Farkhod Sadykov 0129e59db6 Option to describe --shell commands when executing (#249) 2023-05-21 19:45:51 +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.
2023-04-16 18:27:49 +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 c8da76a2c4 Native $SHELL commands and better Windows support (#149)
* Native $SHELL command execution instead of default /bin/sh.
* Added dependency pyreadline3 for Windows systems.
* Fixed a bug when sgpt couldn't recognize powershell or cmd on Windows.
* Better integration with powershell and cmd on Windows.
2023-04-07 20:28:31 +02:00
Farkhod Sadykov 096b690e63 REPL mode for chat sessions (#94) 2023-04-03 02:28:34 +02:00