AsyncTools can't continuously update the user while also treating tool output as a normal output
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
調査の方向性
No source files or tests are named in the issue. Start by reading the AsyncTool documentation and the API or implementation for ctx.update() and ctx.with_filler(), then trace how tool output is handled after execution. Done means a long-running tool can keep updating the user during execution and its returned output is also spoken as a normal result.
索引モデルが issue の本文から書いたものです。
説明
Bug Description
I have noticed that Livekit AsyncTools can't continuously keep updating the user during tool execution while at the same time return the tool output as a normal return/output. I see that the agent is able to either update the agent during tool execution, but not treat the tool output as a normal tool output. Or it can return the tool output as a normal output, but then it can't continuously keep updating the user during execution. It looks like these two things mutually exclusive and that we can't have both.
For more info on this, have a look at this post in Livekit community
Expected Behavior
My expectation is that a Livekit agent that has an AsyncTool should be able to continuously keep updating the agent during tool execution using ctx.update() and ctx.with_filler(). And when a tool output is returned, it should treat the tool output as a normal output and speak the result to the user.
Reproduction Steps
1. Create an AsyncTool that performs a long executing worfklow.
2. Implement ctx.update(), ctx.with_filler() and the tool output in the tool
Operating System
macOs
Models Used
Amazon Nova Sonic
Package Versions
Python 3.14
livekit 1.1.17
livekit-agents 1.8.0
livekit-api 1.2.1
livekit-plugins-aws 1.8.0
Session/Room/Call IDs
No response
Proposed Solution
AsyncTools should be able to continuously keep updating the agent during tool execution using ctx.update() and ctx.with_filler(). And when a tool output is returned, it should treat the tool output as a normal output and speak the result to the user.
Additional Context
Check this post in the Livekit community.
Screenshots and Recordings
No response
- 主要言語
- Python
- スター
- 14.6k
- フォーク
- 3.9k
- 平均マージ
- 3日 1時間
- マージ済み PR(30日)
- 166
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
livekit/agents のほかの issue
-
Agent state stays "speaking" after a realtime reply in sessions without audio output対応中かも @Luke-salinero が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
Assistant markup is stripped from chat history when expressive mode is off対応中かも @ShivamSharma43 が 9 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
docs: openai.LLM vs openai.responses.LLM for HTTP OpenAI-compat hosts再び着手できるかも @AbarnaaSree が 49 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
livekit/agents#7022 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Google LLM plugin leaves Gemini thinking tokens out of completion_tokens対応中かも @ninglinLiu が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 38/100
メンテナーはふだん 1 日以内に返信
-
OpenAI realtime: a text user turn queued during a tool-output push deletes the function_call_output from the server conversation対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ok-oldking/ok-wuthering-waves#1785 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
healthchecks/healthchecks#1349 ·
-
deployment release-lag
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
nolte/kamerplanter#2374 ·
メンテナーはふだん 1 日以内に返信
-
bug v1 v2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
modelcontextprotocol/python-sdk#3725 ·
メンテナーはふだん 1 日以内に返信
-
batchterms() drops queries without a similar() clause, misaligning results with inputs対応中かも @MohammadHijjawi97 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信