cascade-ai 0.48.1 → 0.49.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/README.md +23 -2
- package/dist/cli.cjs +1875 -49
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1875 -49
- package/dist/cli.js.map +1 -1
- package/dist/desktop-core.cjs +1812 -45
- package/dist/index.cjs +1812 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -0
- package/dist/index.d.ts +87 -0
- package/dist/index.js +1812 -45
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -381,11 +381,15 @@ cascade doctor # confirms detection
|
|
|
381
381
|
"apiKey": "...",
|
|
382
382
|
"baseUrl": "https://YOUR_RESOURCE.openai.azure.com",
|
|
383
383
|
"deploymentName": "gpt-4o",
|
|
384
|
-
"apiVersion": "2024-08-01-preview"
|
|
384
|
+
"apiVersion": "2024-08-01-preview",
|
|
385
|
+
"region": "global"
|
|
385
386
|
}]
|
|
386
387
|
}
|
|
387
388
|
```
|
|
388
389
|
|
|
390
|
+
`region` selects the right price sheet — Azure charges ~10% more for `us` and
|
|
391
|
+
`eu` deployments than for `global` ones. Defaults to the global rates.
|
|
392
|
+
|
|
389
393
|
### OpenAI-compatible endpoints (Groq, Together, etc.)
|
|
390
394
|
|
|
391
395
|
```jsonc
|
|
@@ -394,11 +398,28 @@ cascade doctor # confirms detection
|
|
|
394
398
|
"type": "openai-compatible",
|
|
395
399
|
"apiKey": "...",
|
|
396
400
|
"baseUrl": "https://api.groq.com/openai/v1",
|
|
397
|
-
"model": "llama-3.1-70b-versatile"
|
|
401
|
+
"model": "llama-3.1-70b-versatile",
|
|
402
|
+
"local": false
|
|
398
403
|
}]
|
|
399
404
|
}
|
|
400
405
|
```
|
|
401
406
|
|
|
407
|
+
### Is this endpoint free? (`local`)
|
|
408
|
+
|
|
409
|
+
An OpenAI-compatible endpoint is either your own hardware — llama.cpp, LM
|
|
410
|
+
Studio, vLLM — where inference genuinely costs nothing, or somebody's paid API.
|
|
411
|
+
The same is true of Ollama, which is usually local but can be pointed at a
|
|
412
|
+
rented box. `local` says which:
|
|
413
|
+
|
|
414
|
+
| `local` | Meaning |
|
|
415
|
+
|-----------|--------------------------------------------------------------------|
|
|
416
|
+
| `true` | Self-hosted. Calls cost **$0**, and Cascade reports $0. |
|
|
417
|
+
| `false` | Hosted. Cascade prices calls from its pricing dataset; a model it can't price reports **"cost not tracked"**, never $0.00. |
|
|
418
|
+
| *(unset)* | Inferred: Ollama is local; an OpenAI-compatible endpoint is local when `baseUrl` points at localhost or your LAN. |
|
|
419
|
+
|
|
420
|
+
Set it explicitly whenever the default guesses wrong — a hosted endpoint
|
|
421
|
+
mistaken for a local one is how real spend gets reported as free.
|
|
422
|
+
|
|
402
423
|
---
|
|
403
424
|
|
|
404
425
|
## Tools
|