livekit-plugins-anthropic 0.2.9__tar.gz → 0.2.10__tar.gz
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-0.2.9 → livekit_plugins_anthropic-0.2.10}/PKG-INFO +12 -2
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit/plugins/anthropic/llm.py +8 -2
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit/plugins/anthropic/version.py +1 -1
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit_plugins_anthropic.egg-info/PKG-INFO +12 -2
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/README.md +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit/plugins/anthropic/__init__.py +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit/plugins/anthropic/log.py +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit/plugins/anthropic/models.py +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit/plugins/anthropic/py.typed +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit_plugins_anthropic.egg-info/SOURCES.txt +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit_plugins_anthropic.egg-info/dependency_links.txt +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit_plugins_anthropic.egg-info/requires.txt +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/livekit_plugins_anthropic.egg-info/top_level.txt +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/pyproject.toml +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/setup.cfg +0 -0
- {livekit_plugins_anthropic-0.2.9 → livekit_plugins_anthropic-0.2.10}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: livekit-plugins-anthropic
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.10
|
4
4
|
Summary: Agent Framework plugin for services from Anthropic
|
5
5
|
Home-page: https://github.com/livekit/agents
|
6
6
|
License: Apache-2.0
|
@@ -21,6 +21,16 @@ Requires-Python: >=3.9.0
|
|
21
21
|
Description-Content-Type: text/markdown
|
22
22
|
Requires-Dist: livekit-agents>=0.12.3
|
23
23
|
Requires-Dist: anthropic>=0.34
|
24
|
+
Dynamic: classifier
|
25
|
+
Dynamic: description
|
26
|
+
Dynamic: description-content-type
|
27
|
+
Dynamic: home-page
|
28
|
+
Dynamic: keywords
|
29
|
+
Dynamic: license
|
30
|
+
Dynamic: project-url
|
31
|
+
Dynamic: requires-dist
|
32
|
+
Dynamic: requires-python
|
33
|
+
Dynamic: summary
|
24
34
|
|
25
35
|
# LiveKit Plugins Anthropic
|
26
36
|
|
@@ -39,7 +39,7 @@ from livekit.agents import (
|
|
39
39
|
llm,
|
40
40
|
utils,
|
41
41
|
)
|
42
|
-
from livekit.agents.llm import ToolChoice
|
42
|
+
from livekit.agents.llm import LLMCapabilities, ToolChoice
|
43
43
|
from livekit.agents.llm.function_context import (
|
44
44
|
_create_ai_function_info,
|
45
45
|
_is_optional_type,
|
@@ -82,7 +82,13 @@ class LLM(llm.LLM):
|
|
82
82
|
``api_key`` must be set to your Anthropic API key, either using the argument or by setting
|
83
83
|
the ``ANTHROPIC_API_KEY`` environmental variable.
|
84
84
|
"""
|
85
|
-
|
85
|
+
|
86
|
+
super().__init__(
|
87
|
+
capabilities=LLMCapabilities(
|
88
|
+
requires_persistent_functions=True,
|
89
|
+
supports_choices_on_int=True,
|
90
|
+
)
|
91
|
+
)
|
86
92
|
|
87
93
|
# throw an error on our end
|
88
94
|
api_key = api_key or os.environ.get("ANTHROPIC_API_KEY")
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: livekit-plugins-anthropic
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.10
|
4
4
|
Summary: Agent Framework plugin for services from Anthropic
|
5
5
|
Home-page: https://github.com/livekit/agents
|
6
6
|
License: Apache-2.0
|
@@ -21,6 +21,16 @@ Requires-Python: >=3.9.0
|
|
21
21
|
Description-Content-Type: text/markdown
|
22
22
|
Requires-Dist: livekit-agents>=0.12.3
|
23
23
|
Requires-Dist: anthropic>=0.34
|
24
|
+
Dynamic: classifier
|
25
|
+
Dynamic: description
|
26
|
+
Dynamic: description-content-type
|
27
|
+
Dynamic: home-page
|
28
|
+
Dynamic: keywords
|
29
|
+
Dynamic: license
|
30
|
+
Dynamic: project-url
|
31
|
+
Dynamic: requires-dist
|
32
|
+
Dynamic: requires-python
|
33
|
+
Dynamic: summary
|
24
34
|
|
25
35
|
# LiveKit Plugins Anthropic
|
26
36
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|