liter_llm 2.1.2-x86_64-linux → 2.1.4-x86_64-linux

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad8d4625304382e4203ae1f52638766bfdaf02a37b2b452725c35c53aea2cf66
4
- data.tar.gz: 8ac16d0139a3b594103a4056c38f48489bf05f37c95a84e688e54b4dcf62b873
3
+ metadata.gz: d98c78510d56a6723e79f890f4d26a8b81184b9eee4198303d57a10ad4005862
4
+ data.tar.gz: 572cbd5d0328a22dd2ac0de1cec253994b6b3dda7a71be9beb6e0f8cd77663fe
5
5
  SHA512:
6
- metadata.gz: d159bc1b2a5081c87cd1c3c983302366cd49675c6d246ae11c522d6815957e5a511c41beb928015028a71db0357e1c821fc7626414374a9f772b3e20099ebf50
7
- data.tar.gz: fb4a75af7db310df9cc80d65bc47388e82d9199f67bf3ec383d6291b59d99d2620acbb84e021821d4930572aebaad23195e943f7e0b985f4480c6c21c3250926
6
+ metadata.gz: dc38e3e4e2761106f08fd30c4ba6719ee3fbd0167152ccccf0d6f3a5247937ec836791ac4f603744771805a8779ae352aa285c50dfbcfdae319bed7bfc3c0549
7
+ data.tar.gz: f70dc7ca5da447e1457ffe1cdee4fc69499f10439c1c9e5a91ddc7326544861f2e9650fb899592f9186daaef75c7e3fb7f20fb0169ba2ca82641e7ce42adbe56
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <!-- This file is auto-generated by alef — DO NOT EDIT. -->
2
- <!-- alef:hash:bdcf91c6dd61dcdf5cb5a9ed400f53097498b47f4974b6d13171eaeff7d62daa -->
2
+ <!-- alef:hash:7c40d8eb1d087bfcbe645868b4311d50b36fbd38633bc3e137cf5adeb8081fbb -->
3
3
  <!-- To regenerate: alef readme -->
4
4
  <!-- To verify freshness: alef verify -->
5
5
 
@@ -87,7 +87,7 @@
87
87
  </a>
88
88
  </div>
89
89
 
90
- Universal LLM API client for Ruby. Access 165 LLM providers through a single interface with idiomatic Ruby API and native performance.
90
+ Universal LLM API client for Ruby. Access 174 LLM providers through a single interface with idiomatic Ruby API and native performance.
91
91
 
92
92
  ## What This Package Provides
93
93
 
@@ -176,7 +176,7 @@ puts
176
176
 
177
177
  ## Features
178
178
 
179
- ### Supported Providers (165)
179
+ ### Supported Providers (174)
180
180
 
181
181
  Route to any provider using the `provider/model` prefix convention:
182
182
 
@@ -196,7 +196,7 @@ Route to any provider using the `provider/model` prefix convention:
196
196
 
197
197
  ### Key Capabilities
198
198
 
199
- - **Provider Routing** -- Single client for 165 LLM providers via `provider/model` prefix
199
+ - **Provider Routing** -- Single client for 174 LLM providers via `provider/model` prefix
200
200
  - **Local LLMs** — Connect to locally-hosted models via Ollama, LM Studio, vLLM, llama.cpp, and other local inference servers
201
201
  - **Unified API** -- Consistent `chat`, `chat_stream`, `embeddings`, `list_models` interface
202
202
  - **Streaming** -- Real-time token streaming via `chat_stream`
@@ -217,7 +217,7 @@ Built on a compiled Rust core for speed and safety:
217
217
 
218
218
  ## Provider Routing
219
219
 
220
- Route to 165 providers using the `provider/model` prefix convention:
220
+ Route to 174 providers using the `provider/model` prefix convention:
221
221
 
222
222
  ```text
223
223
  openai/gpt-4o
@@ -253,7 +253,7 @@ To use the MCP server inside a coding agent, install the **liter-llm plugin** fr
253
253
 
254
254
  - **[Documentation](https://docs.liter-llm.xberg.io)** -- Full docs and API reference
255
255
  - **[GitHub Repository](https://github.com/xberg-io/liter-llm)** -- Source, issues, and discussions
256
- - **[Provider Registry](https://github.com/xberg-io/liter-llm/blob/main/schemas/providers.json)** -- 165 supported providers
256
+ - **[Provider Registry](https://github.com/xberg-io/liter-llm/blob/main/schemas/providers.json)** -- 174 supported providers
257
257
 
258
258
  ## Part of Xberg.io
259
259
 
@@ -261,7 +261,7 @@ To use the MCP server inside a coding agent, install the **liter-llm plugin** fr
261
261
  - [Xberg Enterprise](https://github.com/xberg-io/xberg-enterprise) — managed extraction API with SDKs, dashboards, and observability.
262
262
  - [crawlberg](https://github.com/xberg-io/crawlberg) — web crawling and scraping with HTML→Markdown and headless-Chrome fallback.
263
263
  - [html-to-markdown](https://github.com/xberg-io/html-to-markdown) — fast, lossless HTML→Markdown engine.
264
- - [liter-llm](https://github.com/xberg-io/liter-llm) — universal LLM API client with native bindings for 14 languages and 165 providers.
264
+ - [liter-llm](https://github.com/xberg-io/liter-llm) — universal LLM API client with native bindings for 14 languages and 174 providers.
265
265
  - [tree-sitter-language-pack](https://github.com/xberg-io/tree-sitter-language-pack) — tree-sitter grammars and code-intelligence primitives.
266
266
  - [alef](https://github.com/xberg-io/alef) — the polyglot binding generator that produces every per-language binding across the 5 polyglot repos.
267
267
  - [Discord](https://discord.gg/xt9WY3GnKR) — community, roadmap, announcements.
@@ -1,10 +1,10 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:835c72f66a33857e5cde5ce9bf834c4e062a440d6f44fbef5ea1e6ce8572a293
2
+ # alef:hash:ec4b9fddcab939ec9af3ee75ea79f76247e89cb4488bdb821150c16ebeb362c4
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify
5
5
  # frozen_string_literal: true
6
6
 
7
7
  module LiterLlm
8
8
  ## The version string for this package.
9
- VERSION = "2.1.2"
9
+ VERSION = "2.1.4"
10
10
  end
data/lib/liter_llm_rb.so CHANGED
Binary file
data/sig/types.rbs CHANGED
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:7da61d9dc1d0d9879fe5db611ee4b5a2abf07cd3f806331e8137f8385bba9527
2
+ # alef:hash:3ecfb5f1cc485b2ce1056911e2946e2b5473b5d5383da6a90dd8d1772fb73f3e
3
3
  # To regenerate: alef generate
4
4
  # To verify freshness: alef verify
5
5
 
@@ -277,31 +277,31 @@ module LiterLlm
277
277
  end
278
278
 
279
279
  class DefaultClient
280
- def chat: (ChatCompletionRequest req) -> ChatCompletionResponse
280
+ def chat_async: (ChatCompletionRequest req) -> ChatCompletionResponse
281
281
  def chat_stream: (ChatCompletionRequest req) -> Enumerator[ChatCompletionChunk]
282
- def embed: (EmbeddingRequest req) -> EmbeddingResponse
283
- def list_models: () -> ModelsListResponse
284
- def image_generate: (CreateImageRequest req) -> ImagesResponse
285
- def speech: (CreateSpeechRequest req) -> String
286
- def transcribe: (CreateTranscriptionRequest req) -> TranscriptionResponse
287
- def moderate: (ModerationRequest req) -> ModerationResponse
288
- def rerank: (RerankRequest req) -> RerankResponse
289
- def search: (SearchRequest req) -> SearchResponse
290
- def ocr: (OcrRequest req) -> OcrResponse
291
- def create_file: (CreateFileRequest req) -> FileObject
292
- def retrieve_file: (String file_id) -> FileObject
293
- def delete_file: (String file_id) -> DeleteResponse
294
- def list_files: (?FileListQuery query) -> FileListResponse
295
- def file_content: (String file_id) -> String
296
- def create_batch: (CreateBatchRequest req) -> BatchObject
297
- def retrieve_batch: (String batch_id) -> BatchObject
298
- def list_batches: (?BatchListQuery query) -> BatchListResponse
299
- def cancel_batch: (String batch_id) -> BatchObject
300
- def fetch_batch_for_polling: (String batch_id) -> BatchObject
301
- def wait_for_batch: (String batch_id, WaitForBatchConfig config) -> BatchObject
302
- def create_response: (CreateResponseRequest req) -> ResponseObject
303
- def retrieve_response: (String response_id) -> ResponseObject
304
- def cancel_response: (String response_id) -> ResponseObject
282
+ def embed_async: (EmbeddingRequest req) -> EmbeddingResponse
283
+ def list_models_async: () -> ModelsListResponse
284
+ def image_generate_async: (CreateImageRequest req) -> ImagesResponse
285
+ def speech_async: (CreateSpeechRequest req) -> String
286
+ def transcribe_async: (CreateTranscriptionRequest req) -> TranscriptionResponse
287
+ def moderate_async: (ModerationRequest req) -> ModerationResponse
288
+ def rerank_async: (RerankRequest req) -> RerankResponse
289
+ def search_async: (SearchRequest req) -> SearchResponse
290
+ def ocr_async: (OcrRequest req) -> OcrResponse
291
+ def create_file_async: (CreateFileRequest req) -> FileObject
292
+ def retrieve_file_async: (String file_id) -> FileObject
293
+ def delete_file_async: (String file_id) -> DeleteResponse
294
+ def list_files_async: (?FileListQuery query) -> FileListResponse
295
+ def file_content_async: (String file_id) -> String
296
+ def create_batch_async: (CreateBatchRequest req) -> BatchObject
297
+ def retrieve_batch_async: (String batch_id) -> BatchObject
298
+ def list_batches_async: (?BatchListQuery query) -> BatchListResponse
299
+ def cancel_batch_async: (String batch_id) -> BatchObject
300
+ def fetch_batch_for_polling_async: (String batch_id) -> BatchObject
301
+ def wait_for_batch_async: (String batch_id, WaitForBatchConfig config) -> BatchObject
302
+ def create_response_async: (CreateResponseRequest req) -> ResponseObject
303
+ def retrieve_response_async: (String response_id) -> ResponseObject
304
+ def cancel_response_async: (String response_id) -> ResponseObject
305
305
  end
306
306
 
307
307
  class DeleteResponse
@@ -1041,6 +1041,7 @@ module LiterLlm
1041
1041
 
1042
1042
  class LiterLlmErrorInfo
1043
1043
  def status_code: () -> Integer
1044
+ def retry_after: () -> Integer?
1044
1045
  def transient?: () -> bool
1045
1046
  def error_type: () -> String
1046
1047
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liter_llm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.4
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Na'aman Hirschfeld
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-30 00:00:00.000000000 Z
11
+ date: 2026-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sorbet-runtime