@axlsdk/axl 0.21.1 → 0.22.1
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 +12 -1
- package/dist/index.cjs +2859 -233
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +580 -47
- package/dist/index.d.ts +580 -47
- package/dist/index.js +2835 -222
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ agent({ model: 'deepseek:deepseek-reasoner' }); // DEEPSEEK_API_KEY
|
|
|
67
67
|
agent({ model: 'ollama:llama3' }); // local — no key, $0
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
Presets: `openrouter`, `azure`, `xai`, `deepseek`, `mistral`, `groq`, `bedrock`, and self-hosted `ollama` / `vllm` / `lmstudio` / `llamacpp` / `sglang`. The unified `effort` knob and per-call cost tracking work across them. Build your own by cloning a `ProviderProfile
|
|
70
|
+
Presets: `openrouter`, `azure`, `xai`, `deepseek`, `mistral`, `groq`, `bedrock`, and self-hosted `ollama` / `vllm` / `lmstudio` / `llamacpp` / `sglang`. The unified `effort` knob and per-call cost tracking work across them. OpenRouter passes image input through to the selected model/route, but Axl does not claim every catalog model supports images, tools, or transcription. Build your own by cloning a `ProviderProfile`; see [provider details](../../docs/providers.md#openai-compatible-providers--presets) and [multimodal input](../../docs/multimodal-input.md).
|
|
71
71
|
|
|
72
72
|
Each provider also accepts an opt-in `rateLimit` (`{ maxConcurrent?, minIntervalMs?, acquireTimeoutMs? }`) for proactive client-side pacing on top of the automatic 429/503/529 backoff — useful when a large fan-out (e.g. an eval) shares one API key. It caps in-flight request concurrency (not token throughput) for that provider's chat calls. See [Providers → Rate limiting](../../docs/providers.md#rate-limiting-opt-in).
|
|
73
73
|
|
|
@@ -788,6 +788,17 @@ google:gemini-3.1-pro-preview # Google Gemini
|
|
|
788
788
|
|
|
789
789
|
See [docs/providers.md](../../docs/providers.md) for the full model list including reasoning models.
|
|
790
790
|
|
|
791
|
+
### Completed-file transcription
|
|
792
|
+
|
|
793
|
+
Use `ctx.transcribe()` for finite recordings, then explicitly pass
|
|
794
|
+
`Transcript.text` to an agent if analysis is needed. It is separate from chat
|
|
795
|
+
history and chat providers. OpenAI and Gemini use their documented model
|
|
796
|
+
contracts; any nonblank `openrouter-transcription:<vendor/model>` URI can
|
|
797
|
+
dispatch supported bytes/base64 to OpenRouter, where the selected model/route
|
|
798
|
+
decides endpoint compatibility. See [Multimodal input](../../docs/multimodal-input.md)
|
|
799
|
+
for the 25 MiB inline bound, source types, options, transcript redaction,
|
|
800
|
+
temporary Gemini Files cleanup, and live-verification commands.
|
|
801
|
+
|
|
791
802
|
## License
|
|
792
803
|
|
|
793
804
|
[Apache 2.0](../../LICENSE)
|