livekit-plugins-anthropic 1.0.19__py3-none-any.whl → 1.0.20__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.
@@ -12,6 +12,10 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+ """Anthropic plugin for LiveKit Agents
16
+
17
+ See https://docs.livekit.io/agents/integrations/llm/anthropic/ for more information.
18
+ """
15
19
 
16
20
  from .llm import LLM, LLMStream
17
21
  from .log import logger
@@ -182,7 +182,7 @@ class LLM(llm.LLM):
182
182
  self,
183
183
  anthropic_stream=stream,
184
184
  chat_ctx=chat_ctx,
185
- tools=tools,
185
+ tools=tools or [],
186
186
  conn_options=conn_options,
187
187
  )
188
188
 
@@ -194,7 +194,7 @@ class LLMStream(llm.LLMStream):
194
194
  *,
195
195
  anthropic_stream: Awaitable[anthropic.AsyncStream[anthropic.types.RawMessageStreamEvent]],
196
196
  chat_ctx: llm.ChatContext,
197
- tools: list[FunctionTool] | None,
197
+ tools: list[FunctionTool],
198
198
  conn_options: APIConnectOptions,
199
199
  ) -> None:
200
200
  super().__init__(llm, chat_ctx=chat_ctx, tools=tools, conn_options=conn_options)
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "1.0.19"
15
+ __version__ = "1.0.20"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: livekit-plugins-anthropic
3
- Version: 1.0.19
3
+ Version: 1.0.20
4
4
  Summary: Agent Framework plugin for services from Anthropic
5
5
  Project-URL: Documentation, https://docs.livekit.io
6
6
  Project-URL: Website, https://livekit.io/
@@ -19,12 +19,14 @@ Classifier: Topic :: Multimedia :: Video
19
19
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
20
20
  Requires-Python: >=3.9.0
21
21
  Requires-Dist: anthropic>=0.34
22
- Requires-Dist: livekit-agents>=1.0.19
22
+ Requires-Dist: livekit-agents>=1.0.20
23
23
  Description-Content-Type: text/markdown
24
24
 
25
- # LiveKit Plugins Anthropic
25
+ # Anthropic plugin for LiveKit Agents
26
26
 
27
- Agent Framework plugin for services from Anthropic.
27
+ Support for the Claude family of LLMs from Anthropic.
28
+
29
+ See [https://docs.livekit.io/agents/integrations/llm/anthropic/](https://docs.livekit.io/agents/integrations/llm/anthropic/) for more information.
28
30
 
29
31
  ## Installation
30
32
 
@@ -0,0 +1,10 @@
1
+ livekit/plugins/anthropic/__init__.py,sha256=oZc3LY5BrjXy-hYMb0wyvXgqXRW-ikAlo5xGh2gM0Nc,1304
2
+ livekit/plugins/anthropic/llm.py,sha256=Q0U5ZIufGtR5abMdfMkZrANz7Ri4RxZLQYocDZOhK1Y,12884
3
+ livekit/plugins/anthropic/log.py,sha256=fG1pYSY88AnT738gZrmzF9FO4l4BdGENj3VKHMQB3Yo,72
4
+ livekit/plugins/anthropic/models.py,sha256=wyTr2nl6SL4ylN6s4mHJcqtmgV2mjJysZo89FknWdhI,213
5
+ livekit/plugins/anthropic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ livekit/plugins/anthropic/utils.py,sha256=Nfl9dGCZGDEJAHj_f-TmePr8bKJrc8IwM6Houjev4DE,5158
7
+ livekit/plugins/anthropic/version.py,sha256=t4KmPVTpEy1pOJ2GRCA-GNJfCQq_-zHNDBxGj4GKfVk,601
8
+ livekit_plugins_anthropic-1.0.20.dist-info/METADATA,sha256=OGg0IoDOMj45bmKp1uSGGSPCBG8eZH5iaHGOQsBdPyw,1433
9
+ livekit_plugins_anthropic-1.0.20.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ livekit_plugins_anthropic-1.0.20.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- livekit/plugins/anthropic/__init__.py,sha256=1WCyNEaR6qBsX54qJQM0SeY-QHIucww16PLXcSnMqRo,1175
2
- livekit/plugins/anthropic/llm.py,sha256=0O0ed5GZsTrEy_tWgrVadbA9IaEZfBm-oKjicT69l34,12885
3
- livekit/plugins/anthropic/log.py,sha256=fG1pYSY88AnT738gZrmzF9FO4l4BdGENj3VKHMQB3Yo,72
4
- livekit/plugins/anthropic/models.py,sha256=wyTr2nl6SL4ylN6s4mHJcqtmgV2mjJysZo89FknWdhI,213
5
- livekit/plugins/anthropic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- livekit/plugins/anthropic/utils.py,sha256=Nfl9dGCZGDEJAHj_f-TmePr8bKJrc8IwM6Houjev4DE,5158
7
- livekit/plugins/anthropic/version.py,sha256=UDC8ahmGgRkv-qMQUY3QibuuVevGMQ9Fd4yIhcQBZwA,601
8
- livekit_plugins_anthropic-1.0.19.dist-info/METADATA,sha256=eWTyhq4DMU9MdTcKvPw7K5WKrkt9JXa7ZT_4S9JfPFo,1273
9
- livekit_plugins_anthropic-1.0.19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- livekit_plugins_anthropic-1.0.19.dist-info/RECORD,,