blaxel 0.1.12rc46__py3-none-any.whl → 0.1.13__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.
blaxel/common/settings.py CHANGED
@@ -62,7 +62,9 @@ class Settings:
62
62
  @property
63
63
  def run_internal_hostname(self) -> str:
64
64
  """Get the run internal hostname."""
65
- return os.environ.get("BL_RUN_INTERNAL_HOSTNAME", "")
65
+ return ''
66
+ # Not working in python
67
+ # return os.environ.get("BL_RUN_INTERNAL_HOSTNAME", "")
66
68
 
67
69
  @property
68
70
  def bl_cloud(self) -> bool:
blaxel/models/__init__.py CHANGED
@@ -5,9 +5,6 @@ from ..client.api.models import get_model
5
5
  from ..client.models import Model
6
6
  from ..common.settings import settings
7
7
 
8
- # This has to be here because livekit plugins must be registered on the main thread
9
- from .livekit import get_livekit_model
10
-
11
8
 
12
9
  class BLModel:
13
10
  models = {}
@@ -60,6 +57,9 @@ class BLModel:
60
57
  return model
61
58
 
62
59
  async def to_livekit(self):
60
+ # This has to be here because livekit plugins must be registered on the main thread
61
+ from .livekit import get_livekit_model
62
+
63
63
  url, type, model = await self._get_parameters()
64
64
  model = await get_livekit_model(url, type, model, **self.kwargs)
65
65
  BLModel.models[f"livekit_{self.model_name}"] = model
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blaxel
3
- Version: 0.1.12rc46
3
+ Version: 0.1.13
4
4
  Summary: Add your description here
5
5
  Author-email: cploujoux <cploujoux@blaxel.ai>
6
6
  License-File: LICENSE
@@ -264,7 +264,7 @@ blaxel/common/autoload.py,sha256=NFuK71-IHOY2JQyEBSjDCVfUaQ8D8PJsEUEryIdG4AU,263
264
264
  blaxel/common/env.py,sha256=wTbzPDdNgz4HMJiS2NCZmQlN0qpxy1PQEYBaZgtvhoc,1247
265
265
  blaxel/common/internal.py,sha256=J-etgnBzelb-ln8uBR9WIWzrEUyDds8rdT9FImjes9g,2390
266
266
  blaxel/common/logger.py,sha256=emqgonfZMBIaQPowpngWOOZxWQieKP-yj_OzGZT8Oe8,1918
267
- blaxel/common/settings.py,sha256=X0g0_hIR19qfjSeWNf8qraxb_UTSbYukVHJeRHKLTn8,2138
267
+ blaxel/common/settings.py,sha256=uVM6pjcovw_JPjiNZQb9WbtvLu3RdVGy7PNBcDGzoWY,2190
268
268
  blaxel/instrumentation/exporters.py,sha256=EoX3uaBVku1Rg49pSNXKFyHhgY5OV3Ih6UlqgjF5epw,1670
269
269
  blaxel/instrumentation/log.py,sha256=4tGyvLg6r4DbjqJfajYbbZ1toUzF4Q4H7kHVqYWFAEA,2537
270
270
  blaxel/instrumentation/manager.py,sha256=jVwVasyMI6tu0zv27DVYOaN57nXYuHFJ8QzJQKaNoK4,8880
@@ -273,7 +273,7 @@ blaxel/instrumentation/span.py,sha256=X2lwfu_dyxwQTMQJT2vbXOrbVSChEhjRLc413QOxQJ
273
273
  blaxel/mcp/__init__.py,sha256=KednMrtuc4Y0O3lv7u1Lla54FCk8UX9c1k0USjL3Ahk,69
274
274
  blaxel/mcp/client.py,sha256=cFFXfpKXoMu8qTUly2ejF0pX2iBQkSNAxqwvDV1V6xY,4979
275
275
  blaxel/mcp/server.py,sha256=GIldtA_NgIc2dzd7ZpPvpbhpIt_7AfKu5yS_YJ0bDGg,7310
276
- blaxel/models/__init__.py,sha256=BawkSR3ociBSHAXr42upBiX8AFJTXFVdvnt8F_CMdpc,3880
276
+ blaxel/models/__init__.py,sha256=HK-k32JXvDBjdHKgQs7ekkE7czP4V3lGuMlgj7pBMjc,3896
277
277
  blaxel/models/crewai.py,sha256=xsp8TmbtDjtqj5std5Gpg-yammhhgdTNL7Vlr1RSPa8,1705
278
278
  blaxel/models/googleadk.py,sha256=I2rH3ZpzdrLnFhNt01XqAC73rGvQ9gnwXjIEagFWBk8,1951
279
279
  blaxel/models/langchain.py,sha256=HIlE1GflXBgHiGIzQBBpOiCGfHQmhQcWR3c-MUk-j4A,2217
@@ -340,7 +340,7 @@ blaxel/tools/llamaindex.py,sha256=-gQ-C9V_h9a11J4ItsbWjXrCJOg0lRKsb98v9rVsNak,71
340
340
  blaxel/tools/openai.py,sha256=GuFXkj6bXEwldyVr89jEsRAi5ihZUVEVe327QuWiGNs,653
341
341
  blaxel/tools/pydantic.py,sha256=CvnNbAG_J4yBtA-XFI4lQrq3FYKjNd39hu841vZT004,1801
342
342
  blaxel/tools/types.py,sha256=YPCGJ4vZDhqR0X2H_TWtc5chQScsC32nGTQdRKJlO8Y,707
343
- blaxel-0.1.12rc46.dist-info/METADATA,sha256=Vls3XAm2xj7jVST-6TS5Hu8ts1dh7SSShn8kp_hZOgo,11776
344
- blaxel-0.1.12rc46.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
345
- blaxel-0.1.12rc46.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
346
- blaxel-0.1.12rc46.dist-info/RECORD,,
343
+ blaxel-0.1.13.dist-info/METADATA,sha256=Tj-4s4B9NAhuurkfhmtgcPorlt3y7b-UrNO4DAMPhPE,11772
344
+ blaxel-0.1.13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
345
+ blaxel-0.1.13.dist-info/licenses/LICENSE,sha256=p5PNQvpvyDT_0aYBDgmV1fFI_vAD2aSV0wWG7VTgRis,1069
346
+ blaxel-0.1.13.dist-info/RECORD,,