pi-set-model 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# pi-set-model
|
|
2
2
|
|
|
3
|
-
Remembers Pi's selected model and thinking level for each project folder. Requires pi `>=0.
|
|
3
|
+
Remembers Pi's selected model and thinking level for each project folder. Requires pi `>=0.81.1`.
|
|
4
4
|
|
|
5
5
|
After selecting a model and thinking level, explicitly save that combination for the current working directory with `/set-model set`. New Pi sessions opened in that directory restore it, rather than retaining the model selected in another project. Later `/model` or thinking changes do not modify the saved preference unless you run `/set-model set` again.
|
|
6
6
|
|
|
@@ -32,3 +32,12 @@ Autocomplete completes `/setm...` to `/set-model` without adding a trailing spac
|
|
|
32
32
|
The folder is Pi's current working directory. Run Pi from the project root when you want one preference for the whole project. The setting is saved at `<cwd>/.pi/set-model.json`.
|
|
33
33
|
|
|
34
34
|
If the saved model is unavailable or has no configured API key, Pi keeps the active model and shows a warning. Thinking levels are restored after the model and are clamped to that model's supported levels by Pi. When the session ends, the model and thinking level that were active before the project preference was applied are restored.
|
|
35
|
+
|
|
36
|
+
## Issues and feedback
|
|
37
|
+
|
|
38
|
+
Found a bug or have a feature request? Please report it on
|
|
39
|
+
[GitHub Issues](https://github.com/hknet/pi-extensions/issues).
|
|
40
|
+
|
|
41
|
+
For security vulnerabilities, please use
|
|
42
|
+
[GitHub's private vulnerability reporting](https://github.com/hknet/pi-extensions/security/advisories/new)
|
|
43
|
+
instead of opening a public issue.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-set-model",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Pi extension that remembers model and thinking level per project folder",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"homepage": "https://github.com/hknet/pi-extensions/tree/main/packages/pi-set-model#readme",
|
|
17
17
|
"files": ["set-model.ts", "README.md"],
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@earendil-works/pi-coding-agent": ">=0.
|
|
20
|
-
"@earendil-works/pi-tui": ">=0.
|
|
19
|
+
"@earendil-works/pi-coding-agent": ">=0.81.1",
|
|
20
|
+
"@earendil-works/pi-tui": ">=0.81.1"
|
|
21
21
|
},
|
|
22
22
|
"pi": { "extensions": ["./set-model.ts"] }
|
|
23
23
|
}
|