llmist 12.1.0 → 12.2.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 +2 -1
- package/dist/index.cjs +8707 -7736
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5293 -5207
- package/dist/index.d.ts +5293 -5207
- package/dist/index.js +9125 -8156
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ console.log(answer);
|
|
|
54
54
|
## Features
|
|
55
55
|
|
|
56
56
|
- **Streaming-first** - Tools execute mid-stream, not after response completes
|
|
57
|
-
- **Multi-provider** - OpenAI, Anthropic, Gemini with unified API
|
|
57
|
+
- **Multi-provider** - OpenAI, Anthropic, Gemini, HuggingFace with unified API
|
|
58
58
|
- **Type-safe** - Full TypeScript inference from Zod schemas
|
|
59
59
|
- **Flexible hooks** - Observers, interceptors, and controllers for deep integration
|
|
60
60
|
- **Built-in cost tracking** - Real-time token counting and cost estimation
|
|
@@ -68,6 +68,7 @@ Set one of these environment variables:
|
|
|
68
68
|
export OPENAI_API_KEY="sk-..."
|
|
69
69
|
export ANTHROPIC_API_KEY="sk-ant-..."
|
|
70
70
|
export GEMINI_API_KEY="..."
|
|
71
|
+
export HF_TOKEN="hf_..."
|
|
71
72
|
```
|
|
72
73
|
|
|
73
74
|
Use model aliases for convenience:
|