Skip to content

Commit 258fa3a

Browse files
committed
release
1 parent a59dfdc commit 258fa3a

File tree

1 file changed

+4
-35
lines changed

1 file changed

+4
-35
lines changed

CHANGELOG.md

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,12 @@
22

33
<!-- do not remove -->
44

5-
## 0.1.1
5+
## 1.0.0
66

7-
### Bugs Squashed
7+
### New Features
88

9-
- AttributeError: module 'cosette' has no attribute 'contents' with cosette 0.2.0 ([#53](https://github.com/AnswerDotAI/shell_sage/issues/53))
10-
- ## Bug Report
11-
12-
### Environment
13-
- shell-sage version: 0.1.0
14-
- cosette version: 0.2.0 (installed by default)
15-
- Python version: 3.10
16-
17-
### Problem
18-
When running `ssage` after installation, it fails with:
19-
```
20-
AttributeError: module 'cosette' has no attribute 'contents'
21-
```
22-
23-
### Root Cause
24-
Line 252 in `shell_sage/core.py` tries to access `cos.contents`:
25-
```python
26-
conts = {'anthropic': cla.contents, 'openai': cos.contents}
27-
```
28-
29-
However, cosette 0.2.0 appears to have removed the `contents` attribute.
30-
31-
### Workaround
32-
Install with cosette 0.1.0:
33-
```bash
34-
uv tool uninstall shell-sage
35-
uv tool install shell-sage --with cosette==0.1.0
36-
```
37-
38-
### Suggested Fix
39-
Either:
40-
1. Pin cosette to `<0.2.0` in dependencies, or
41-
2. Update code to work with cosette 0.2.0's new API
9+
- Rewrite shell sage to use lisette ([#56](https://github.com/AnswerDotAI/shell_sage/pull/56)), thanks to [@ncoop57](https://github.com/ncoop57)
10+
- This PR is a major rewrite of shell sage to now use lisette which make it easier to use other llm providers. Additionally, we have done away with command and agent mode and having the default mode subsume these. Added additional tools and web search as well.
4211

4312

4413
## 0.1.1

0 commit comments

Comments
 (0)