lollms-client 1.4.1__py3-none-any.whl → 1.7.10__py3-none-any.whl

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.
Files changed (64) hide show
  1. lollms_client/__init__.py +1 -1
  2. lollms_client/llm_bindings/azure_openai/__init__.py +2 -2
  3. lollms_client/llm_bindings/claude/__init__.py +125 -34
  4. lollms_client/llm_bindings/gemini/__init__.py +261 -159
  5. lollms_client/llm_bindings/grok/__init__.py +52 -14
  6. lollms_client/llm_bindings/groq/__init__.py +2 -2
  7. lollms_client/llm_bindings/hugging_face_inference_api/__init__.py +2 -2
  8. lollms_client/llm_bindings/litellm/__init__.py +1 -1
  9. lollms_client/llm_bindings/llamacpp/__init__.py +18 -11
  10. lollms_client/llm_bindings/lollms/__init__.py +151 -32
  11. lollms_client/llm_bindings/lollms_webui/__init__.py +1 -1
  12. lollms_client/llm_bindings/mistral/__init__.py +2 -2
  13. lollms_client/llm_bindings/novita_ai/__init__.py +439 -0
  14. lollms_client/llm_bindings/ollama/__init__.py +309 -93
  15. lollms_client/llm_bindings/open_router/__init__.py +2 -2
  16. lollms_client/llm_bindings/openai/__init__.py +148 -29
  17. lollms_client/llm_bindings/openllm/__init__.py +362 -506
  18. lollms_client/llm_bindings/openwebui/__init__.py +465 -0
  19. lollms_client/llm_bindings/perplexity/__init__.py +326 -0
  20. lollms_client/llm_bindings/pythonllamacpp/__init__.py +3 -3
  21. lollms_client/llm_bindings/tensor_rt/__init__.py +1 -1
  22. lollms_client/llm_bindings/transformers/__init__.py +428 -632
  23. lollms_client/llm_bindings/vllm/__init__.py +1 -1
  24. lollms_client/lollms_agentic.py +4 -2
  25. lollms_client/lollms_base_binding.py +61 -0
  26. lollms_client/lollms_core.py +516 -1890
  27. lollms_client/lollms_discussion.py +55 -18
  28. lollms_client/lollms_llm_binding.py +112 -261
  29. lollms_client/lollms_mcp_binding.py +34 -75
  30. lollms_client/lollms_personality.py +5 -2
  31. lollms_client/lollms_stt_binding.py +85 -52
  32. lollms_client/lollms_tti_binding.py +23 -37
  33. lollms_client/lollms_ttm_binding.py +24 -42
  34. lollms_client/lollms_tts_binding.py +28 -17
  35. lollms_client/lollms_ttv_binding.py +24 -42
  36. lollms_client/lollms_types.py +4 -2
  37. lollms_client/stt_bindings/whisper/__init__.py +108 -23
  38. lollms_client/stt_bindings/whispercpp/__init__.py +7 -1
  39. lollms_client/tti_bindings/diffusers/__init__.py +418 -810
  40. lollms_client/tti_bindings/diffusers/server/main.py +1051 -0
  41. lollms_client/tti_bindings/gemini/__init__.py +182 -239
  42. lollms_client/tti_bindings/leonardo_ai/__init__.py +127 -0
  43. lollms_client/tti_bindings/lollms/__init__.py +4 -1
  44. lollms_client/tti_bindings/novita_ai/__init__.py +105 -0
  45. lollms_client/tti_bindings/openai/__init__.py +10 -11
  46. lollms_client/tti_bindings/stability_ai/__init__.py +178 -0
  47. lollms_client/ttm_bindings/audiocraft/__init__.py +7 -12
  48. lollms_client/ttm_bindings/beatoven_ai/__init__.py +129 -0
  49. lollms_client/ttm_bindings/lollms/__init__.py +4 -17
  50. lollms_client/ttm_bindings/replicate/__init__.py +115 -0
  51. lollms_client/ttm_bindings/stability_ai/__init__.py +117 -0
  52. lollms_client/ttm_bindings/topmediai/__init__.py +96 -0
  53. lollms_client/tts_bindings/bark/__init__.py +7 -10
  54. lollms_client/tts_bindings/lollms/__init__.py +6 -1
  55. lollms_client/tts_bindings/piper_tts/__init__.py +8 -11
  56. lollms_client/tts_bindings/xtts/__init__.py +157 -74
  57. lollms_client/tts_bindings/xtts/server/main.py +241 -280
  58. {lollms_client-1.4.1.dist-info → lollms_client-1.7.10.dist-info}/METADATA +316 -6
  59. lollms_client-1.7.10.dist-info/RECORD +89 -0
  60. lollms_client/ttm_bindings/bark/__init__.py +0 -339
  61. lollms_client-1.4.1.dist-info/RECORD +0 -78
  62. {lollms_client-1.4.1.dist-info → lollms_client-1.7.10.dist-info}/WHEEL +0 -0
  63. {lollms_client-1.4.1.dist-info → lollms_client-1.7.10.dist-info}/licenses/LICENSE +0 -0
  64. {lollms_client-1.4.1.dist-info → lollms_client-1.7.10.dist-info}/top_level.txt +0 -0
@@ -1,9 +1,210 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lollms_client
3
- Version: 1.4.1
3
+ Version: 1.7.10
4
4
  Summary: A client library for LoLLMs generate endpoint
5
5
  Author-email: ParisNeo <parisneoai@gmail.com>
6
- License: Apache Software License
6
+ License: Apache License
7
+ Version 2.0, January 2004
8
+ http://www.apache.org/licenses/
9
+
10
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
11
+
12
+ 1. Definitions.
13
+
14
+ "License" shall mean the terms and conditions for use, reproduction,
15
+ and distribution as defined by Sections 1 through 9 of this document.
16
+
17
+ "Licensor" shall mean the copyright owner or entity authorized by
18
+ the copyright owner that is granting the License.
19
+
20
+ "Legal Entity" shall mean the union of the acting entity and all
21
+ other entities that control, are controlled by, or are under common
22
+ control with that entity. For the purposes of this definition,
23
+ "control" means (i) the power, direct or indirect, to cause the
24
+ direction or management of such entity, whether by contract or
25
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
26
+ outstanding shares, or (iii) beneficial ownership of such entity.
27
+
28
+ "You" (or "Your") shall mean an individual or Legal Entity
29
+ exercising permissions granted by this License.
30
+
31
+ "Source" form shall mean the preferred form for making modifications,
32
+ including but not limited to software source code, documentation
33
+ source, and configuration files.
34
+
35
+ "Object" form shall mean any form resulting from mechanical
36
+ transformation or translation of a Source form, including but
37
+ not limited to compiled object code, generated documentation,
38
+ and conversions to other media types.
39
+
40
+ "Work" shall mean the work of authorship, whether in Source or
41
+ Object form, made available under the License, as indicated by a
42
+ copyright notice that is included in or attached to the work
43
+ (an example is provided in the Appendix below).
44
+
45
+ "Derivative Works" shall mean any work, whether in Source or Object
46
+ form, that is based on (or derived from) the Work and for which the
47
+ editorial revisions, annotations, elaborations, or other modifications
48
+ represent, as a whole, an original work of authorship. For the purposes
49
+ of this License, Derivative Works shall not include works that remain
50
+ separable from, or merely link (or bind by name) to the interfaces of,
51
+ the Work and Derivative Works thereof.
52
+
53
+ "Contribution" shall mean any work of authorship, including
54
+ the original version of the Work and any modifications or additions
55
+ to that Work or Derivative Works thereof, that is intentionally
56
+ submitted to Licensor for inclusion in the Work by the copyright owner
57
+ or by an individual or Legal Entity authorized to submit on behalf of
58
+ the copyright owner. For the purposes of this definition, "submitted"
59
+ means any form of electronic, verbal, or written communication sent
60
+ to the Licensor or its representatives, including but not limited to
61
+ communication on electronic mailing lists, source code control systems,
62
+ and issue tracking systems that are managed by, or on behalf of, the
63
+ Licensor for the purpose of discussing and improving the Work, but
64
+ excluding communication that is conspicuously marked or otherwise
65
+ designated in writing by the copyright owner as "Not a Contribution."
66
+
67
+ "Contributor" shall mean Licensor and any individual or Legal Entity
68
+ on behalf of whom a Contribution has been received by Licensor and
69
+ subsequently incorporated within the Work.
70
+
71
+ 2. Grant of Copyright License. Subject to the terms and conditions of
72
+ this License, each Contributor hereby grants to You a perpetual,
73
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
74
+ copyright license to reproduce, prepare Derivative Works of,
75
+ publicly display, publicly perform, sublicense, and distribute the
76
+ Work and such Derivative Works in Source or Object form.
77
+
78
+ 3. Grant of Patent License. Subject to the terms and conditions of
79
+ this License, each Contributor hereby grants to You a perpetual,
80
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
81
+ (except as stated in this section) patent license to make, have made,
82
+ use, offer to sell, sell, import, and otherwise transfer the Work,
83
+ where such license applies only to those patent claims licensable
84
+ by such Contributor that are necessarily infringed by their
85
+ Contribution(s) alone or by combination of their Contribution(s)
86
+ with the Work to which such Contribution(s) was submitted. If You
87
+ institute patent litigation against any entity (including a
88
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
89
+ or a Contribution incorporated within the Work constitutes direct
90
+ or contributory patent infringement, then any patent licenses
91
+ granted to You under this License for that Work shall terminate
92
+ as of the date such litigation is filed.
93
+
94
+ 4. Redistribution. You may reproduce and distribute copies of the
95
+ Work or Derivative Works thereof in any medium, with or without
96
+ modifications, and in Source or Object form, provided that You
97
+ meet the following conditions:
98
+
99
+ (a) You must give any other recipients of the Work or
100
+ Derivative Works a copy of this License; and
101
+
102
+ (b) You must cause any modified files to carry prominent notices
103
+ stating that You changed the files; and
104
+
105
+ (c) You must retain, in the Source form of any Derivative Works
106
+ that You distribute, all copyright, patent, trademark, and
107
+ attribution notices from the Source form of the Work,
108
+ excluding those notices that do not pertain to any part of
109
+ the Derivative Works; and
110
+
111
+ (d) If the Work includes a "NOTICE" text file as part of its
112
+ distribution, then any Derivative Works that You distribute must
113
+ include a readable copy of the attribution notices contained
114
+ within such NOTICE file, excluding those notices that do not
115
+ pertain to any part of the Derivative Works, in at least one
116
+ of the following places: within a NOTICE text file distributed
117
+ as part of the Derivative Works; within the Source form or
118
+ documentation, if provided along with the Derivative Works; or,
119
+ within a display generated by the Derivative Works, if and
120
+ wherever such third-party notices normally appear. The contents
121
+ of the NOTICE file are for informational purposes only and
122
+ do not modify the License. You may add Your own attribution
123
+ notices within Derivative Works that You distribute, alongside
124
+ or as an addendum to the NOTICE text from the Work, provided
125
+ that such additional attribution notices cannot be construed
126
+ as modifying the License.
127
+
128
+ You may add Your own copyright statement to Your modifications and
129
+ may provide additional or different license terms and conditions
130
+ for use, reproduction, or distribution of Your modifications, or
131
+ for any such Derivative Works as a whole, provided Your use,
132
+ reproduction, and distribution of the Work otherwise complies with
133
+ the conditions stated in this License.
134
+
135
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
136
+ any Contribution intentionally submitted for inclusion in the Work
137
+ by You to the Licensor shall be under the terms and conditions of
138
+ this License, without any additional terms or conditions.
139
+ Notwithstanding the above, nothing herein shall supersede or modify
140
+ the terms of any separate license agreement you may have executed
141
+ with Licensor regarding such Contributions.
142
+
143
+ 6. Trademarks. This License does not grant permission to use the trade
144
+ names, trademarks, service marks, or product names of the Licensor,
145
+ except as required for reasonable and customary use in describing the
146
+ origin of the Work and reproducing the content of the NOTICE file.
147
+
148
+ 7. Disclaimer of Warranty. Unless required by applicable law or
149
+ agreed to in writing, Licensor provides the Work (and each
150
+ Contributor provides its Contributions) on an "AS IS" BASIS,
151
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
152
+ implied, including, without limitation, any warranties or conditions
153
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
154
+ PARTICULAR PURPOSE. You are solely responsible for determining the
155
+ appropriateness of using or redistributing the Work and assume any
156
+ risks associated with Your exercise of permissions under this License.
157
+
158
+ 8. Limitation of Liability. In no event and under no legal theory,
159
+ whether in tort (including negligence), contract, or otherwise,
160
+ unless required by applicable law (such as deliberate and grossly
161
+ negligent acts) or agreed to in writing, shall any Contributor be
162
+ liable to You for damages, including any direct, indirect, special,
163
+ incidental, or consequential damages of any character arising as a
164
+ result of this License or out of the use or inability to use the
165
+ Work (including but not limited to damages for loss of goodwill,
166
+ work stoppage, computer failure or malfunction, or any and all
167
+ other commercial damages or losses), even if such Contributor
168
+ has been advised of the possibility of such damages.
169
+
170
+ 9. Accepting Warranty or Additional Liability. While redistributing
171
+ the Work or Derivative Works thereof, You may choose to offer,
172
+ and charge a fee for, acceptance of support, warranty, indemnity,
173
+ or other liability obligations and/or rights consistent with this
174
+ License. However, in accepting such obligations, You may act only
175
+ on Your own behalf and on Your sole responsibility, not on behalf
176
+ of any other Contributor, and only if You agree to indemnify,
177
+ defend, and hold each Contributor harmless for any liability
178
+ incurred by, or claims asserted against, such Contributor by reason
179
+ of your accepting any such warranty or additional liability.
180
+
181
+ END OF TERMS AND CONDITIONS
182
+
183
+ APPENDIX: How to apply the Apache License to your work.
184
+
185
+ To apply the Apache License to your work, attach the following
186
+ boilerplate notice, with the fields enclosed by brackets "[]"
187
+ replaced with your own identifying information. (Don't include
188
+ the brackets!) The text should be enclosed in the appropriate
189
+ comment syntax for the file format. We also recommend that a
190
+ file or class name and description of purpose be included on the
191
+ same "printed page" as the copyright notice for easier
192
+ identification within third-party archives.
193
+
194
+ Copyright [yyyy] [name of copyright owner]
195
+
196
+ Licensed under the Apache License, Version 2.0 (the "License");
197
+ you may not use this file except in compliance with the License.
198
+ You may obtain a copy of the License at
199
+
200
+ http://www.apache.org/licenses/LICENSE-2.0
201
+
202
+ Unless required by applicable law or agreed to in writing, software
203
+ distributed under the License is distributed on an "AS IS" BASIS,
204
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
205
+ See the License for the specific language governing permissions and
206
+ limitations under the License.
207
+
7
208
  Project-URL: Homepage, https://github.com/ParisNeo/lollms_client
8
209
  Classifier: Programming Language :: Python :: 3
9
210
  Classifier: Programming Language :: Python :: 3.8
@@ -18,15 +219,17 @@ Classifier: Intended Audience :: Science/Research
18
219
  Requires-Python: >=3.7
19
220
  Description-Content-Type: text/markdown
20
221
  License-File: LICENSE
222
+ Requires-Dist: httpx
21
223
  Requires-Dist: requests
22
224
  Requires-Dist: ascii-colors
23
- Requires-Dist: pipmaster
225
+ Requires-Dist: pipmaster>=1.0.5
24
226
  Requires-Dist: pyyaml
25
227
  Requires-Dist: tiktoken
26
228
  Requires-Dist: pydantic
27
229
  Requires-Dist: numpy
28
230
  Requires-Dist: pillow
29
231
  Requires-Dist: sqlalchemy
232
+ Requires-Dist: jsonschema
30
233
  Dynamic: license-file
31
234
 
32
235
  # LoLLMs Client Library
@@ -47,7 +250,8 @@ Whether you're connecting to a remote LoLLMs server, an Ollama instance, the Ope
47
250
  ## Key Features
48
251
 
49
252
  * 🔌 **Versatile Binding System:** Seamlessly switch between different LLM backends (LoLLMs, Ollama, OpenAI, Llama.cpp, Transformers, vLLM, OpenLLM, Gemini, Claude, Groq, OpenRouter, Hugging Face Inference API) using a unified `llm_binding_config` dictionary for all parameters.
50
- * 🗣️ **Multimodal Support:** Interact with models capable of processing images and generate various outputs like speech (TTS), images (TTI), video (TTV), and music (TTM).
253
+ * 🗣️ **Comprehensive Multimodal Support:** Interact with models capable of processing images and generate various outputs like speech (TTS), video (TTV), and music (TTM).
254
+ * 🎨 **Advanced Image Generation and Editing:** A new `diffusers` binding provides powerful text-to-image capabilities. It supports a wide range of models from Hugging Face and Civitai, including specialized models like `Qwen-Image-Edit` for single-image editing and the cutting-edge `Qwen-Image-Edit-2509` for **multi-image fusion, pose transfer, and character swapping**.
51
255
  * 🖼️ **Selective Image Activation:** Control which images in a message are active and sent to the model, allowing for fine-grained multimodal context management without deleting the original data.
52
256
  * 🤖 **Agentic Workflows with MCP:** Empower LLMs to act as sophisticated agents, breaking down complex tasks, selecting and executing external tools (e.g., internet search, code interpreter, file I/O, image generation) through the Model Context Protocol (MCP) using a robust "observe-think-act" loop.
53
257
  * 🎭 **Personalities as Agents:** Personalities can now define their own set of required tools (MCPs) and have access to static or dynamic knowledge bases (`data_source`), turning them into self-contained, ready-to-use agents.
@@ -101,6 +305,7 @@ try:
101
305
  llm_binding_config={
102
306
  "host_address": "http://localhost:9642", # Default port for LoLLMs server
103
307
  # "service_key": "your_lollms_api_key_here" # Get key from LoLLMs UI -> User Settings if security is enabled
308
+ # "verify_ssl_certificate": True #if false the ssl certifcate verification will be ignored (only used when using https in lollms service address)
104
309
  }
105
310
  )
106
311
 
@@ -760,6 +965,7 @@ try:
760
965
  config = {
761
966
  "host_address": "http://localhost:9642",
762
967
  # "service_key": "your_lollms_api_key_here" # Uncomment and replace if security is enabled
968
+ # "verify_ssl_certificate": True #if false the ssl certifcate verification will be ignored (only used when using https in lollms service address)
763
969
  }
764
970
 
765
971
  lc = LollmsClient(
@@ -1098,9 +1304,113 @@ try:
1098
1304
 
1099
1305
  except Exception as e:
1100
1306
  ASCIIColors.error(f"Error initializing Hugging Face Inference API binding: {e}")
1101
- ASCIIColors.info("Please ensure your Hugging Face API token is correctly set and you have access to the specified model.")
1307
+ ASCIIColors.info("Please ensure your Hugging Face API token is correctly set and you have access to the specified model.")```
1308
+ ```
1309
+
1310
+ ---
1311
+
1312
+ ### 4. Local Multimodal and Advanced Bindings
1313
+
1314
+ #### **Diffusers (Local Text-to-Image Generation and Editing)**
1315
+
1316
+ The `diffusers` binding leverages the Hugging Face `diffusers` library to run a vast array of text-to-image models locally on your own hardware (CPU or GPU). It supports models from Hugging Face and Civitai, providing everything from basic image generation to advanced, state-of-the-art image editing.
1317
+
1318
+ **Prerequisites:**
1319
+ * `torch` and `torchvision` must be installed. For GPU acceleration, it's critical to install the version that matches your CUDA toolkit.
1320
+ * The binding will attempt to auto-install other requirements like `diffusers`, `transformers`, and `safetensors`.
1321
+
1322
+ **Usage:**
1323
+
1324
+ **Example 1: Basic Text-to-Image Generation**
1325
+ This example shows how to generate an image from a simple text prompt using a classic Stable Diffusion model.
1326
+
1327
+ ```python
1328
+ from lollms_client import LollmsClient
1329
+ from ascii_colors import ASCIIColors
1330
+ from pathlib import Path
1331
+
1332
+ try:
1333
+ # Initialize the client with the diffusers TTI binding
1334
+ # Let's use a classic Stable Diffusion model for this example
1335
+ lc = LollmsClient(
1336
+ tti_binding_name="diffusers",
1337
+ tti_binding_config={
1338
+ "model_name": "runwayml/stable-diffusion-v1-5",
1339
+ # Other options: "device", "torch_dtype_str", "enable_xformers"
1340
+ }
1341
+ )
1342
+
1343
+ prompt = "A high-quality photograph of an astronaut riding a horse on Mars."
1344
+ ASCIIColors.yellow(f"Generating image for prompt: '{prompt}'")
1345
+
1346
+ # Generate the image. The result is returned as bytes.
1347
+ image_bytes = lc.generate_image(prompt, width=512, height=512)
1348
+
1349
+ if image_bytes:
1350
+ output_path = Path("./astronaut_on_mars.png")
1351
+ with open(output_path, "wb") as f:
1352
+ f.write(image_bytes)
1353
+ ASCIIColors.green(f"Image saved successfully to: {output_path.resolve()}")
1354
+ else:
1355
+ ASCIIColors.error("Image generation failed.")
1356
+
1357
+ except Exception as e:
1358
+ ASCIIColors.error(f"An error occurred with the Diffusers binding: {e}")
1359
+ ASCIIColors.info("Please ensure torch is installed correctly for your hardware (CPU/GPU).")
1102
1360
  ```
1103
1361
 
1362
+ **Example 2: Advanced Multi-Image Fusion with Qwen-Image-Edit-2509**
1363
+ This example demonstrates a cutting-edge capability: using a specialized model to fuse elements from multiple input images based on a text prompt. Here, we'll ask the model to take a person from one image and place them in the background of another.
1364
+
1365
+ ```python
1366
+ from lollms_client import LollmsClient
1367
+ from ascii_colors import ASCIIColors
1368
+ from pathlib import Path
1369
+
1370
+ # --- IMPORTANT ---
1371
+ # Replace these with actual paths to your local images
1372
+ path_to_person_image = "./path/to/your/person.jpg"
1373
+ path_to_background_image = "./path/to/your/background.jpg"
1374
+
1375
+ if not Path(path_to_person_image).exists() or not Path(path_to_background_image).exists():
1376
+ ASCIIColors.warning("Input images not found. Skipping multi-image fusion example.")
1377
+ ASCIIColors.warning(f"Please update 'path_to_person_image' and 'path_to_background_image'.")
1378
+ else:
1379
+ try:
1380
+ # Initialize with the advanced Qwen multi-image editing model
1381
+ lc = LollmsClient(
1382
+ tti_binding_name="diffusers",
1383
+ tti_binding_config={
1384
+ "model_name": "Qwen/Qwen-Image-Edit-2509",
1385
+ "torch_dtype_str": "bfloat16" # Recommended for this model
1386
+ }
1387
+ )
1388
+
1389
+ # The prompt guides how the images are combined
1390
+ prompt = "Place the person from the first image into the scenic background of the second image."
1391
+ ASCIIColors.yellow(f"Fusing images with prompt: '{prompt}'")
1392
+
1393
+ # The edit_image method can accept a list of image paths for fusion
1394
+ fused_image_bytes = lc.edit_image(
1395
+ images=[path_to_person_image, path_to_background_image],
1396
+ prompt=prompt,
1397
+ num_inference_steps=50
1398
+ )
1399
+
1400
+ if fused_image_bytes:
1401
+ output_path = Path("./fused_image_result.png")
1402
+ with open(output_path, "wb") as f:
1403
+ f.write(fused_image_bytes)
1404
+ ASCIIColors.green(f"Fused image saved successfully to: {output_path.resolve()}")
1405
+ else:
1406
+ ASCIIColors.error("Multi-image editing failed.")
1407
+
1408
+ except Exception as e:
1409
+ ASCIIColors.error(f"An error occurred during multi-image fusion: {e}")
1410
+ ```
1411
+
1412
+ This powerful feature allows for complex creative tasks like character swapping, background replacement, and style transfer directly through the `lollms_client` library.
1413
+
1104
1414
  ### Listing Available Models
1105
1415
 
1106
1416
  You can query the active LLM binding to get a list of models it supports or has available. The exact information returned depends on the binding (e.g., Ollama lists local models, OpenAI lists all its API models).
@@ -1121,7 +1431,7 @@ try:
1121
1431
  )
1122
1432
 
1123
1433
  ASCIIColors.yellow("\nListing available models for the current binding:")
1124
- available_models = lc.listModels()
1434
+ available_models = lc.list_models()
1125
1435
 
1126
1436
  if isinstance(available_models, list):
1127
1437
  for model in available_models:
@@ -0,0 +1,89 @@
1
+ lollms_client/__init__.py,sha256=3yVS8TMBA1psPxDAF-_Uj4eqsBS48uzSFSYfrEQUyXE,1147
2
+ lollms_client/lollms_agentic.py,sha256=ljalnmeSU-sbzH19-c9TzrJ-HhEeo4mxXmpJGkXj720,14094
3
+ lollms_client/lollms_base_binding.py,sha256=5nVnj7idw9nY1et_qXL9gg8qHvr4kpZF92HUJlvlitE,2019
4
+ lollms_client/lollms_config.py,sha256=goEseDwDxYJf3WkYJ4IrLXwg3Tfw73CXV2Avg45M_hE,21876
5
+ lollms_client/lollms_core.py,sha256=JAyVDYQeyQE6e-p9M8bzyKb1fHWK7lQrapuryds60PU,240436
6
+ lollms_client/lollms_discussion.py,sha256=inOi01jyqWCwkoiu0Z9e4lEYIQGnIaSH2ucYzD7cLP8,124726
7
+ lollms_client/lollms_js_analyzer.py,sha256=01zUvuO2F_lnUe_0NLxe1MF5aHE1hO8RZi48mNPv-aw,8361
8
+ lollms_client/lollms_llm_binding.py,sha256=WOacWKgJJyvVDbZCzPBePyD26AcXqZY1ctkqdR7qz0A,17234
9
+ lollms_client/lollms_mcp_binding.py,sha256=UZZwU_V1JpRY7iVwhTp46nCvw3AnopS5TnaI2gSTb1g,7632
10
+ lollms_client/lollms_mcp_security.py,sha256=FhVTDhSBjksGEZnopVnjFmEF5dv7D8bBTqoaj4BiF0E,3562
11
+ lollms_client/lollms_personality.py,sha256=kGuFwmgA9QDLcQlLQ9sKeceMujdEo0Aw28fN5H8MpjI,8847
12
+ lollms_client/lollms_python_analyzer.py,sha256=7gf1fdYgXCOkPUkBAPNmr6S-66hMH4_KonOMsADASxc,10246
13
+ lollms_client/lollms_stt_binding.py,sha256=S08uuDuXbGmBJXuOnBa8vMuSFQj-SqQHYgUZaNpGcoA,6646
14
+ lollms_client/lollms_tti_binding.py,sha256=aV5x2RCoLCrKDY3mGd62JqfrArc5Zm1Q-wqx6avkv94,7782
15
+ lollms_client/lollms_ttm_binding.py,sha256=VX6waikDVg9WV0btTMKbz2u5kVrftFKZVWEOK-t2qNY,3638
16
+ lollms_client/lollms_tts_binding.py,sha256=3lOT04vCnqZVstQGmv86TUq4Fv_EUMAWfPz-kxz1_Xk,5618
17
+ lollms_client/lollms_ttv_binding.py,sha256=6lqSZLxBExjXwbv7wtlRh2bd-_4XZPEq7gdDiWG6PTo,3636
18
+ lollms_client/lollms_types.py,sha256=FuN7BPhsz9tzCwOkoLt_MvC_t4VkeU3elNA6ooGy_t4,3593
19
+ lollms_client/lollms_utilities.py,sha256=3DAsII2X9uhRzRL-D0QlALcEdRg82y7OIL4yHVF32gY,19446
20
+ lollms_client/assets/models_ctx_sizes.json,sha256=jFDLW4GoT431544QXXyi9fA5tqIBmTrwaIA1_syoZ-Y,14972
21
+ lollms_client/llm_bindings/__init__.py,sha256=9sWGpmWSSj6KQ8H4lKGCjpLYwhnVdL_2N7gXCphPqh4,14
22
+ lollms_client/llm_bindings/azure_openai/__init__.py,sha256=bTb_JdG060RZB5rWLPKyvTUA0I-_XAx2FDWg4y3Eyi8,16503
23
+ lollms_client/llm_bindings/claude/__init__.py,sha256=tb7Ogev0PH9UYgDhod67Zwhxh2-mEsvSW_cZriAgh1Q,30260
24
+ lollms_client/llm_bindings/gemini/__init__.py,sha256=CblEpmGTVJDrbRFVNQBuUTMj6j5RpI9h5M3KUjMUKxk,25910
25
+ lollms_client/llm_bindings/grok/__init__.py,sha256=fqrCfG3M4sagtNvaiRlKV9rgw6fs8PauWhJIjmzbylw,25581
26
+ lollms_client/llm_bindings/groq/__init__.py,sha256=JQCbvMUOWelHPxKX8PYAtqJgb4UzuTtp_qdMILn8zm8,12122
27
+ lollms_client/llm_bindings/hugging_face_inference_api/__init__.py,sha256=szA1NRa7urNfFG3JrRU0FtJsyde24rciZhGaLlJyKWs,13940
28
+ lollms_client/llm_bindings/litellm/__init__.py,sha256=zVIlYW7DyIWnEIyt1E7m0N7lEL0AHIz2rZ-1vDpvm_0,12757
29
+ lollms_client/llm_bindings/llamacpp/__init__.py,sha256=bDlcrfKMDwX7O_d2HST2TwkR3PVcvgQ96-kwWFWz4Ao,63039
30
+ lollms_client/llm_bindings/lollms/__init__.py,sha256=wRkj-aw7SokjALsD6tjQ8afNASm2Brj3lQQj6Ui2m7M,30025
31
+ lollms_client/llm_bindings/lollms_webui/__init__.py,sha256=nGIGv9sS3hdlNIcxYvOtq1_oSbPWX2RlCvA7bTRmwkE,17754
32
+ lollms_client/llm_bindings/mistral/__init__.py,sha256=S_6skFAhGKNcr5IVWlqoaZ4gfWd94vzIuGcmF3nAeyg,14135
33
+ lollms_client/llm_bindings/novita_ai/__init__.py,sha256=7t6D43hT-SCLgBor08VQTxRJQq27puS5CHRlAeYsczc,21492
34
+ lollms_client/llm_bindings/ollama/__init__.py,sha256=v7GXpDsTmAw8P54osSriq4uwoBbN3WEw_IoNbWjllAc,57381
35
+ lollms_client/llm_bindings/open_router/__init__.py,sha256=fEVjNW1Q3rpXT659KLkMeaN7mHeas8Q0LxcXoiJvVKM,14917
36
+ lollms_client/llm_bindings/openai/__init__.py,sha256=wno0j62kQ2joDjpeKQLvckxJIJSJCOiFrKTKKc550bw,31342
37
+ lollms_client/llm_bindings/openllm/__init__.py,sha256=N6MAyZtcIpGpLDVhoqyLPFDXGQOzCB_hMldlEMUc7jA,15799
38
+ lollms_client/llm_bindings/openwebui/__init__.py,sha256=yWyEF8ZnS0IAxgiexwS9yP1mk4HuxltTzNrfPv1FaD8,19429
39
+ lollms_client/llm_bindings/perplexity/__init__.py,sha256=Zz5e4Cz5Y96WMuhFftn7oci4Dv-aAWF6FM1t7n7-2Yo,15008
40
+ lollms_client/llm_bindings/pythonllamacpp/__init__.py,sha256=O6Bf6nEMTzD7elCQCGbQyxnUWjVW0GmUz5LCccGu7fc,31810
41
+ lollms_client/llm_bindings/tensor_rt/__init__.py,sha256=s-l3MVdllI69rnFtJ3UrFvRpcIVnsSCBJvHTVn9ou6c,32024
42
+ lollms_client/llm_bindings/transformers/__init__.py,sha256=ig0m1Pbrkv0yqZkGEDA2Z5WhJ2ifLBJQLLNX5SrYMkU,23183
43
+ lollms_client/llm_bindings/vllm/__init__.py,sha256=ft6WVyG3Hzud6OLKT1RPz9ff0_CMPc7WgmmxTSbFKJM,32722
44
+ lollms_client/mcp_bindings/local_mcp/__init__.py,sha256=S_hEilM3WLt0u2uluhuJXMNAzTAnWC8FWteBP92V_2g,14336
45
+ lollms_client/mcp_bindings/local_mcp/default_tools/file_writer/file_writer.py,sha256=2pkt1JcEKj61lIA5zuW3s6qkdpQN5rKfooo7bnebx24,3061
46
+ lollms_client/mcp_bindings/local_mcp/default_tools/generate_image_from_prompt/generate_image_from_prompt.py,sha256=THtZsMxNnXZiBdkwoBlfbWY2C5hhDdmPtnM-8cSKN6s,9488
47
+ lollms_client/mcp_bindings/local_mcp/default_tools/internet_search/internet_search.py,sha256=PLC31-D04QKTOTb1uuCHnrAlpysQjsk89yIJngK0VGc,4586
48
+ lollms_client/mcp_bindings/local_mcp/default_tools/python_interpreter/python_interpreter.py,sha256=McDCBVoVrMDYgU7EYtyOY7mCk1uEeTea0PSD69QqDsQ,6228
49
+ lollms_client/mcp_bindings/remote_mcp/__init__.py,sha256=YpSclbNJDYVUe2W0H5Xki4gs_qqAqE95uCl_RYZsxPA,20406
50
+ lollms_client/mcp_bindings/standard_mcp/__init__.py,sha256=wJQofr4zS5RIS9V5_WuMMFsJxSDJgXDW3PQPX1hlx6g,31519
51
+ lollms_client/stt_bindings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
+ lollms_client/stt_bindings/lollms/__init__.py,sha256=9Vmn1sQQZKLGLe7nZnc-0LnNeSY8r9xw3pYZF-wVtPo,5889
53
+ lollms_client/stt_bindings/whisper/__init__.py,sha256=OCF5ncriFN0ukFz47dJhQoJxQ2NMA7kZ81sVdBtQBKo,19191
54
+ lollms_client/stt_bindings/whispercpp/__init__.py,sha256=5YQKFy3UaN-S-HGZiFCIcuPGTJTELPgqqct1AcTqz-Q,21595
55
+ lollms_client/tti_bindings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
+ lollms_client/tti_bindings/diffusers/__init__.py,sha256=X0XnmYH9hBLKVdmvODaz1y392F28gOgEfhGbDiDNXHI,21305
57
+ lollms_client/tti_bindings/diffusers/server/main.py,sha256=IrL2JpwTy4_cxXk8RWLcA4-1ikaM3rPhKxpUCiRf3e4,52820
58
+ lollms_client/tti_bindings/gemini/__init__.py,sha256=_9MifhHOi2uNoW8vqmMIPHvjiF6fJq28Cq3Ckg309tA,13184
59
+ lollms_client/tti_bindings/leonardo_ai/__init__.py,sha256=rO6FFLfXFMqgirDdO2J2lelpYrhyaj_Uhu2NK-gBd7g,6075
60
+ lollms_client/tti_bindings/lollms/__init__.py,sha256=J_EH-A13Zj4G2pEbOjSCT9Hw4oSHGl7n6FEBBQODn20,8983
61
+ lollms_client/tti_bindings/novita_ai/__init__.py,sha256=qBan-YaLvzzjEmEa5_a7lAw-vKbAW-U6hOSckMMGkB8,5021
62
+ lollms_client/tti_bindings/openai/__init__.py,sha256=1mg2aBOUs4xvfvKgVHlFHNSmGwdFJuFkaRIlK8OjVkg,5199
63
+ lollms_client/tti_bindings/stability_ai/__init__.py,sha256=XpAXhSAAkktEq3L2Ju1hthk8uRWm7ZGl8U0TN3OITK0,8214
64
+ lollms_client/ttm_bindings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
+ lollms_client/ttm_bindings/audiocraft/__init__.py,sha256=VhFSQNztJnhX0Ve8p_heA-QFpmTHGmVqR_EDRZFj0Rg,14014
66
+ lollms_client/ttm_bindings/beatoven_ai/__init__.py,sha256=Kztrpb0iaW7kv83HMWDKLupoV1IHuD_c_yUTFJPAyjQ,5817
67
+ lollms_client/ttm_bindings/lollms/__init__.py,sha256=0Ke3vE6Qx1kS16IRY0YuyMmNZ7-R5OI46gjU3SmFJzc,2472
68
+ lollms_client/ttm_bindings/replicate/__init__.py,sha256=KYZnnCEDpJ2p2lCiFZZtvxUePzwhHC5mU79Q1BCrRPE,5079
69
+ lollms_client/ttm_bindings/stability_ai/__init__.py,sha256=5IosSAUvaP7W6IMmeYFOL_cJB5NylvhovgNPLO8Xfsc,5729
70
+ lollms_client/ttm_bindings/topmediai/__init__.py,sha256=deABhnEi-fdlQqyRFgcbRAYFKddZ1IHThkbrP8w43RI,3863
71
+ lollms_client/tts_bindings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
72
+ lollms_client/tts_bindings/bark/__init__.py,sha256=PsQ89OSxE07rWcnKKYT-RCbIrOhWKDWEHSDLZkM5gJI,4690
73
+ lollms_client/tts_bindings/bark/server/install_bark.py,sha256=y9VhplwOqPwCVx_ex2MzkkBKMaUtzwPiUKg93_1LJzo,2221
74
+ lollms_client/tts_bindings/bark/server/main.py,sha256=jUpjFzbndq4kl8KPykRHG0DdVhUjrAn2GOt6iMt-lIY,12922
75
+ lollms_client/tts_bindings/lollms/__init__.py,sha256=7CRlD6hK7ZfZV4jCv5QPKBtZc8QJDsYRwf0qRL-e41I,7300
76
+ lollms_client/tts_bindings/piper_tts/__init__.py,sha256=Atd1WmtvbJ5XJrh4R8JRr_5pZY77xlzG38WuN9Otd4Q,4900
77
+ lollms_client/tts_bindings/piper_tts/server/install_piper.py,sha256=g71Ne2T18wAytOPipfQ9DNeTAOD9PrII5qC-vr9DtLA,3256
78
+ lollms_client/tts_bindings/piper_tts/server/main.py,sha256=DMozfSR1aCbrlmOXltRFjtXhYhXajsGcNKQjsWgRwZk,17402
79
+ lollms_client/tts_bindings/piper_tts/server/setup_voices.py,sha256=UdHaPa5aNcw8dR-aRGkZr2OfSFFejH79lXgfwT0P3ss,1964
80
+ lollms_client/tts_bindings/xtts/__init__.py,sha256=2h28VPQR6oM4l_sHS2wJ91Ux6RXeMYFL5-saCyoU9XM,8171
81
+ lollms_client/tts_bindings/xtts/server/main.py,sha256=feTAX4eAo2HY6PpcDTrgRMak5AXocO7UIhKPuGuWpxY,12303
82
+ lollms_client/tts_bindings/xtts/server/setup_voices.py,sha256=UdHaPa5aNcw8dR-aRGkZr2OfSFFejH79lXgfwT0P3ss,1964
83
+ lollms_client/ttv_bindings/__init__.py,sha256=UZ8o2izQOJLQgtZ1D1cXoNST7rzqW22rL2Vufc7ddRc,3141
84
+ lollms_client/ttv_bindings/lollms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
85
+ lollms_client-1.7.10.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
86
+ lollms_client-1.7.10.dist-info/METADATA,sha256=vxkqsuLbmkkCCFzLOLm5Fk_dfYKWoIgrQPHaxNS-b8c,77177
87
+ lollms_client-1.7.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
88
+ lollms_client-1.7.10.dist-info/top_level.txt,sha256=Bk_kz-ri6Arwsk7YG-T5VsRorV66uVhcHGvb_g2WqgE,14
89
+ lollms_client-1.7.10.dist-info/RECORD,,