Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

AsyncTools can't continuously update the user while also treating tool output as a normal output

オープン
#7,215 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

livekit/agents のほかの issue

livekit/agents の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。