lollms-client 0.28.0__py3-none-any.whl → 0.29.1__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.

Potentially problematic release.


This version of lollms-client might be problematic. Click here for more details.

examples/text_gen.py CHANGED
@@ -1,7 +1,7 @@
1
1
  from lollms_client import LollmsClient
2
2
 
3
3
  # Initialize the LollmsClient instance
4
- #lc = LollmsClient("lollms")
4
+ #lc = LollmsClient("lollms", service_key="your service key")
5
5
  #lc = LollmsClient("ollama", model_name="mistral-nemo:latest")
6
6
  lc = LollmsClient("llamacpp", models_path=r"E:\drumber", model_name="llava-v1.6-mistral-7b.Q3_K_XS.gguf")
7
7
  # Generate Text
lollms_client/__init__.py CHANGED
@@ -8,7 +8,7 @@ from lollms_client.lollms_utilities import PromptReshaper # Keep general utiliti
8
8
  from lollms_client.lollms_mcp_binding import LollmsMCPBinding, LollmsMCPBindingManager
9
9
  from lollms_client.lollms_llm_binding import LollmsLLMBindingManager
10
10
 
11
- __version__ = "0.28.0" # Updated version
11
+ __version__ = "0.29.1" # Updated version
12
12
 
13
13
  # Optionally, you could define __all__ if you want to be explicit about exports
14
14
  __all__ = [
@@ -11,6 +11,7 @@ import time
11
11
  from pathlib import Path
12
12
  from typing import Optional, Callable, List, Union, Dict, Any, Set
13
13
  import base64
14
+ from lollms_client.lollms_discussion import LollmsDiscussion
14
15
  import requests # For HTTP client
15
16
  from lollms_client.lollms_llm_binding import LollmsLLMBinding
16
17
  from lollms_client.lollms_types import MSG_TYPE, ELF_COMPLETION_FORMAT