nex-code 0.3.19 → 0.3.22
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 +8 -1
- package/dist/nex-code.js +220 -210
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<img src="https://img.shields.io/badge/Ollama_Cloud-supported-brightgreen.svg" alt="Ollama Cloud: supported">
|
|
23
23
|
<img src="https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg" alt="Node >= 18">
|
|
24
24
|
<img src="https://img.shields.io/badge/dependencies-2-green.svg" alt="Dependencies: 2">
|
|
25
|
-
<img src="https://img.shields.io/badge/tests-
|
|
25
|
+
<img src="https://img.shields.io/badge/tests-1855-blue.svg" alt="Tests: 1855">
|
|
26
26
|
</p>
|
|
27
27
|
|
|
28
28
|
---
|
|
@@ -147,6 +147,13 @@ ANTHROPIC_API_KEY=your-key # Anthropic (Claude Sonnet 4.6, Opus 4.6, Haiku 4.
|
|
|
147
147
|
GEMINI_API_KEY=your-key # Google Gemini (3.1 Pro Preview, 2.5 Pro/Flash, 2.0 Flash)
|
|
148
148
|
PERPLEXITY_API_KEY=your-key # Perplexity (optional — enables grounded web search)
|
|
149
149
|
# No key needed for local Ollama — just have it running
|
|
150
|
+
|
|
151
|
+
# Optional tuning
|
|
152
|
+
DEFAULT_PROVIDER=ollama # Active provider on startup
|
|
153
|
+
DEFAULT_MODEL=qwen3-coder:480b # Active model on startup
|
|
154
|
+
FALLBACK_CHAIN=anthropic,openai # Providers tried on failure (comma-separated)
|
|
155
|
+
NEX_STALE_WARN_MS=60000 # Warn if no tokens received for N ms (default: 60000)
|
|
156
|
+
NEX_STALE_ABORT_MS=120000 # Abort and retry stream after N ms of silence (default: 120000)
|
|
150
157
|
```
|
|
151
158
|
|
|
152
159
|
### Verify
|