[Feature]: 对于长shell ,不用反复轮询

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

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
rust, shell

調査の方向性

The payload names no files, tests or entry points, so the first step is to find where the agent runtime runs shell commands and how it handles subagent exit notifications. The issue asks for a design decision: whether a background shell's exit should resume the session, and how that fits the existing turn loop. Done would need an agreed design from the maintainers before any code is written.

索引モデルが issue の本文から書いたものです。

説明

Problem / opportunity

有时候会遇到超长的shell的场景,此时普遍的模型做法是轮询。可能受限于提示词或者是模型本身的行为,但是这种做法是及其浪费上下文的

Proposed behavior

希望默认使用后台运行的方式,通过shell 开启->退出(监听到)然后返回的方式,类似于subagent的退出监听,或者是可以通过shell 的退出激活当前的会话,而不需要浪费上下文在监听上。
以一种更异步的方法和非人操作的方法激活当前会话的新round

Product surface

Desktop app

Details, examples, or constraints

No response

主要言語
Rust
スター
2.3k
フォーク
236
平均マージ
13時間 23分
マージ済み PR(30日)
333

環境構築

はじめの一歩

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

GCWing/OpenBitFun のほかの issue

GCWing/OpenBitFun の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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