livellm 1.5.3__py3-none-any.whl → 1.5.5__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.
livellm/livellm.py CHANGED
@@ -880,7 +880,7 @@ class LivellmClient(BaseLivellmClient):
880
880
  with httpx.Client(base_url=self.base_url) as client:
881
881
  for config in self.settings:
882
882
  config: Settings = config
883
- client.delete("providers/config/{config.uid}", headers=self.headers)
883
+ client.delete(f"providers/config/{config.uid}", headers=self.headers)
884
884
  except Exception:
885
885
  # Silently fail - we're in a destructor
886
886
  pass
@@ -9,7 +9,7 @@ from ..common import BaseRequest
9
9
 
10
10
  class AgentRequest(BaseRequest):
11
11
  model: str = Field(..., description="The model to use")
12
- messages: List[Union[TextMessage, BinaryMessage]] = Field(..., description="The messages to use")
12
+ messages: List[Union[TextMessage, BinaryMessage, ToolCallMessage, ToolReturnMessage]] = Field(..., description="The messages to use")
13
13
  tools: List[Union[WebSearchInput, MCPStreamableServerInput]] = Field(default_factory=list, description="The tools to use")
14
14
  gen_config: Optional[dict] = Field(default=None, description="The configuration for the generation")
15
15
  include_history: bool = Field(default=False, description="Whether to include full conversation history in the response")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: livellm
3
- Version: 1.5.3
3
+ Version: 1.5.5
4
4
  Summary: Python client for the LiveLLM Server
5
5
  Project-URL: Homepage, https://github.com/qalby-tech/livellm-client-py
6
6
  Project-URL: Repository, https://github.com/qalby-tech/livellm-client-py
@@ -1,5 +1,5 @@
1
1
  livellm/__init__.py,sha256=p2Szx7PELGYi-PTnSNnRPGVbU438ZBTFXYAQoMToUfE,440
2
- livellm/livellm.py,sha256=d-1PlWKtMkw44575KZlhRr-c7p0B34W78F4PS_rhwUA,34598
2
+ livellm/livellm.py,sha256=8PlM7r6IfGYcTz4P4lz1sOjhVzx1lMhoJcVMJEda1VA,34599
3
3
  livellm/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  livellm/transcripton.py,sha256=WtL2PEFEVQ3RP2WOyjXqQFziQWKJvzJbG3T5cqfJ5qc,4187
5
5
  livellm/models/__init__.py,sha256=4w8yDf_79kNwBfct-jHjAPNPxz4nFzMSWqlIo_7MFwc,1531
@@ -8,13 +8,13 @@ livellm/models/fallback.py,sha256=zGG_MjdbaTx0fqKZTEg3ullej-CJznPfwaon0jEvRvI,11
8
8
  livellm/models/transcription.py,sha256=LQG5u7hgXuw6WyCxS-us0VGh9eky-f16JPpeT3jHULc,1608
9
9
  livellm/models/ws.py,sha256=OCoJwAjQLOz6ErTiTtb-qD22N4wSsEGvi_4JQqCHIPQ,1111
10
10
  livellm/models/agent/__init__.py,sha256=CvP3xzDAiBZ4giQZUBQsqAJd1rWO4cvHhqr2Oh346A0,560
11
- livellm/models/agent/agent.py,sha256=qndsqcnX0MqbnblOA3niUWpU9873FU-PIH0vZkPoqAU,1504
11
+ livellm/models/agent/agent.py,sha256=ICS2AAAhPp5a69P_RNMzuM630GsHz6h_3MV_YVV1Boc,1540
12
12
  livellm/models/agent/chat.py,sha256=VxdHTbJELMffxJJUSTdhT4behFbVq5XNyBLeg75wpsU,1632
13
13
  livellm/models/agent/tools.py,sha256=wVWfx6_jxL3IcmX_Nt_PonZ3RQLtpfqJnszHz32BQiU,1403
14
14
  livellm/models/audio/__init__.py,sha256=sz2NxCOfFGVvp-XQUsdgOR_TYBO1Wb-8LLXaZDEiAZk,282
15
15
  livellm/models/audio/speak.py,sha256=lDITZ7fiLRuDhA-LxCPQ6Yraxr33B6Lg7VyR4CkuGk8,1872
16
16
  livellm/models/audio/transcribe.py,sha256=Leji2lk5zfq4GE-fw-z2dZR8BuijzW8TJ12GHw_UZJY,2085
17
- livellm-1.5.3.dist-info/METADATA,sha256=85S9orp4edINaQyiehmPmluRIgCcSwGQiU-oUAbAuaU,20664
18
- livellm-1.5.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
19
- livellm-1.5.3.dist-info/licenses/LICENSE,sha256=yapGO2C_00ymEx6TADdbU8Oyc1bWOrZY-fjP-agmFL4,1071
20
- livellm-1.5.3.dist-info/RECORD,,
17
+ livellm-1.5.5.dist-info/METADATA,sha256=tHqGf82LtO7r2poTAF3cd1cnP6_WW1cBOdH0yDZ7JtY,20664
18
+ livellm-1.5.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
19
+ livellm-1.5.5.dist-info/licenses/LICENSE,sha256=yapGO2C_00ymEx6TADdbU8Oyc1bWOrZY-fjP-agmFL4,1071
20
+ livellm-1.5.5.dist-info/RECORD,,