livekit-plugins-anthropic 1.0.19__py3-none-any.whl → 1.0.21__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.
- livekit/plugins/anthropic/__init__.py +4 -0
- livekit/plugins/anthropic/llm.py +2 -2
- livekit/plugins/anthropic/version.py +1 -1
- {livekit_plugins_anthropic-1.0.19.dist-info → livekit_plugins_anthropic-1.0.21.dist-info}/METADATA +7 -5
- livekit_plugins_anthropic-1.0.21.dist-info/RECORD +10 -0
- livekit_plugins_anthropic-1.0.19.dist-info/RECORD +0 -10
- {livekit_plugins_anthropic-1.0.19.dist-info → livekit_plugins_anthropic-1.0.21.dist-info}/WHEEL +0 -0
@@ -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
|
livekit/plugins/anthropic/llm.py
CHANGED
@@ -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]
|
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)
|
{livekit_plugins_anthropic-1.0.19.dist-info → livekit_plugins_anthropic-1.0.21.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: livekit-plugins-anthropic
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.21
|
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/
|
@@ -18,13 +18,15 @@ Classifier: Topic :: Multimedia :: Sound/Audio
|
|
18
18
|
Classifier: Topic :: Multimedia :: Video
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
20
20
|
Requires-Python: >=3.9.0
|
21
|
-
Requires-Dist: anthropic>=0.
|
22
|
-
Requires-Dist: livekit-agents>=1.0.
|
21
|
+
Requires-Dist: anthropic>=0.41
|
22
|
+
Requires-Dist: livekit-agents>=1.0.21
|
23
23
|
Description-Content-Type: text/markdown
|
24
24
|
|
25
|
-
# LiveKit
|
25
|
+
# Anthropic plugin for LiveKit Agents
|
26
26
|
|
27
|
-
|
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=5lzQkS1jEPqreexacwMd18b2EOx7R5m8AQMKtQRBgC4,601
|
8
|
+
livekit_plugins_anthropic-1.0.21.dist-info/METADATA,sha256=rIoyCx6K80PL0vlgu7JQeGMIJfkFfH-nbaYpdixun0E,1433
|
9
|
+
livekit_plugins_anthropic-1.0.21.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
10
|
+
livekit_plugins_anthropic-1.0.21.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,,
|
{livekit_plugins_anthropic-1.0.19.dist-info → livekit_plugins_anthropic-1.0.21.dist-info}/WHEEL
RENAMED
File without changes
|