pi-ollama-cloud 0.5.0 → 0.6.0
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/CHANGELOG.md +6 -0
- package/index.ts +1 -1
- package/models.generated.ts +710 -926
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.6.0] - 2026-06-05
|
|
6
|
+
|
|
7
|
+
- Fix `apiKey` registered as a literal string instead of an environment variable reference. Changed `apiKey: "OLLAMA_API_KEY"` to `apiKey: "$OLLAMA_API_KEY"` in `registerProvider`, resolving the deprecation warning emitted by pi v0.77.0+ and making the `OLLAMA_API_KEY` env var work alongside `auth.json` (env var takes priority, falls back to `auth.json`). Thanks @mandusm (#21).
|
|
8
|
+
- Make `scripts/generate-models.ts` produce a stable output: sort models by `id` and each object's keys alphabetically (with `id` and `name` first), so regenerating the catalog produces minimal diffs. Thanks @shyim for the idea (#22).
|
|
9
|
+
- Exclude models announced for retirement (effective 2026-06-16) from the generated `GENERATED_MODELS` list: `kimi-k2-thinking`, `kimi-k2:1t`, `minimax-m2`, `glm-4.6`, `qwen3-next:80b`, `qwen3-vl:235b`, `qwen3-vl:235b-instruct`, `cogito-2.1:671b`. See https://docs.ollama.com/cloud#deprecations. `/ollama-cloud-refresh` will still register them from the live API until Ollama removes them.
|
|
10
|
+
|
|
5
11
|
## [0.5.0] - 2026-05-22
|
|
6
12
|
|
|
7
13
|
- Update `peerDependencies` and imports to the new `@earendil-works/*` packages.
|
package/index.ts
CHANGED
|
@@ -46,7 +46,7 @@ function registerProvider(pi: ExtensionAPI, models: ProviderModelConfig[]) {
|
|
|
46
46
|
pi.registerProvider("ollama-cloud", {
|
|
47
47
|
name: "Ollama Cloud",
|
|
48
48
|
baseUrl: `${OLLAMA_BASE}/v1`,
|
|
49
|
-
apiKey: "OLLAMA_API_KEY",
|
|
49
|
+
apiKey: "$OLLAMA_API_KEY",
|
|
50
50
|
api: "openai-completions",
|
|
51
51
|
models,
|
|
52
52
|
});
|