Skip to content

Commit eb2e216

Browse files
committed
livekit-protocol, livekit-api: agent thread protos, thread and database clients
Generate agent/livekit_agent_thread.proto (AgentThread, AgentTask) at the current protocol pin. Add LiveKitAPI.threads and LiveKitAPI.databases, served by the LiveKit Cloud Public API. The HTTP layer is generated with OpenAPI Generator (python, asyncio) from the vendored spec in livekit-api/public-api; run generate.sh there to re-vendor and regenerate.
1 parent 60ba761 commit eb2e216

66 files changed

Lines changed: 23146 additions & 5 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"livekit-api": patch
3+
---
4+
5+
Add `LiveKitAPI.threads` and `LiveKitAPI.databases`: agent threads (create, get, list, update, delete, items, tasks) and agent databases (create, get, list, delete, export), served by the LiveKit Cloud Public API. The HTTP layer is generated from the vendored Public API OpenAPI spec (`livekit-api/public-api/generate.sh`).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"livekit-protocol": patch
3+
---
4+
5+
Generate `agent/livekit_agent_thread.proto` as `livekit.protocol.agent_pb.agent_thread`: the `AgentThread` and `AgentTask` messages.

‎.gitattributes‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
**/*.jpg filter=lfs diff=lfs merge=lfs -text
55
livekit-protocol/livekit/protocol/** linguist-generated=true
66
livekit-rtc/livekit/rtc/_proto/** linguist-generated=true
7+
livekit-api/livekit/api/_public_api/** linguist-generated=true

‎livekit-api/livekit/api/__init__.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
"sip_service",
6767
"agent_dispatch_service",
6868
"connector_service",
69+
"thread_service",
70+
"database_service",
6971
"InferenceGrants",
7072
"ObservabilityGrants",
7173
"AgentGrants",

‎livekit-api/livekit/api/_public_api/__init__.py‎

Lines changed: 122 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎livekit-api/livekit/api/_public_api/api/__init__.py‎

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)