livellm 1.5.2__py3-none-any.whl → 1.5.3__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.
@@ -1,7 +1,7 @@
1
1
  # models for chat messages
2
2
  from pydantic import BaseModel, Field, model_validator, field_serializer
3
3
  from enum import Enum
4
- from typing import Optional, Union
4
+ from typing import Optional, Union, Any, Dict
5
5
 
6
6
  class MessageRole(str, Enum):
7
7
  USER = "user"
@@ -32,10 +32,10 @@ class BinaryMessage(Message):
32
32
  class ToolCallMessage(Message):
33
33
  """Message representing a tool call made by the agent"""
34
34
  tool_name: str = Field(..., description="The name of the tool being called")
35
- args: dict = Field(..., description="The arguments passed to the tool")
35
+ args: Union[Dict[str, Any], str] = Field(..., description="The arguments passed to the tool")
36
36
 
37
37
  class ToolReturnMessage(Message):
38
38
  """Message representing the return value from a tool call"""
39
39
  tool_name: str = Field(..., description="The name of the tool that was called")
40
- content: str = Field(..., description="The return value from the tool")
40
+ content: Any = Field(..., description="The return value from the tool")
41
41
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: livellm
3
- Version: 1.5.2
3
+ Version: 1.5.3
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
@@ -9,12 +9,12 @@ livellm/models/transcription.py,sha256=LQG5u7hgXuw6WyCxS-us0VGh9eky-f16JPpeT3jHU
9
9
  livellm/models/ws.py,sha256=OCoJwAjQLOz6ErTiTtb-qD22N4wSsEGvi_4JQqCHIPQ,1111
10
10
  livellm/models/agent/__init__.py,sha256=CvP3xzDAiBZ4giQZUBQsqAJd1rWO4cvHhqr2Oh346A0,560
11
11
  livellm/models/agent/agent.py,sha256=qndsqcnX0MqbnblOA3niUWpU9873FU-PIH0vZkPoqAU,1504
12
- livellm/models/agent/chat.py,sha256=WOs5h-D7hNsnucw6rxQkDCdHH2R5kiEe5kcmh25ivMU,1599
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.2.dist-info/METADATA,sha256=hg26D85D8M3JpnzeIW-Y-Ey3SkQz9yv9P_7FmzirfH4,20664
18
- livellm-1.5.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
19
- livellm-1.5.2.dist-info/licenses/LICENSE,sha256=yapGO2C_00ymEx6TADdbU8Oyc1bWOrZY-fjP-agmFL4,1071
20
- livellm-1.5.2.dist-info/RECORD,,
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,,