You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: shellgpt/CHANGELOG.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
5
5
## 0.7.0 - 2026-02-23
6
6
7
7
### Added
8
+
8
9
-**New Configuration System**: Introduced `~/.shellgpt/config.toml` as the primary configuration method.
9
10
-**Multiple Profiles**: Support for multiple API providers with `base_url`, `api_key`, `model`, and custom `headers`. Switch between them using the `-p / --profile` flag.
10
11
-**Flexible Authentication**: Added `api_key_env` to profiles, allowing API keys to be read from environment variables.
@@ -19,6 +20,7 @@ All notable changes to this project will be documented in this file.
19
20
-**Multilingual Docs**: Added `README_zh.md` and `CHANGELOG_zh.md`.
20
21
21
22
### Changed
23
+
22
24
-**Unified Terminology**: Standardized on `role` instead of `system_content` across the entire codebase and CLI (changed `-s` to `--role`).
23
25
-**Backend Unification**: Switched to 100% OpenAI-compatible API handling; legacy native Ollama support has been removed.
24
26
-**Strict Validation**: Resolved profile names and role names must now exist in the configuration, or the program will exit with an error.
@@ -28,10 +30,11 @@ All notable changes to this project will be documented in this file.
28
30
-**Explicit Architecture**: Refactored `LLM` and `ShellGPT` classes to use explicit keyword arguments instead of generic `**kwargs` for better maintainability and clarity.
29
31
-**Robust CI Support**: Improved configuration loading logic to prevent crashes in environments without a config file (like CI/CD runners).
30
32
-**Architecture Refactoring**:
31
-
- Moved initialization logic to `shellgpt/init.py`.
32
-
- Eliminated dependencies on global variables.
33
+
- Moved initialization logic to `shellgpt/init.py`.
34
+
- Eliminated dependencies on global variables.
33
35
34
36
### Fixed
37
+
35
38
-**Process Exit Codes**: Non-REPL mode now correctly exits with a non-zero code on inference errors.
36
39
-**Robust Error Handling**: Added explicit traceback printing for easier troubleshooting.
37
40
-**History Management**: Fixed a bug where AI responses were not saved to history during streaming.
0 commit comments