langchain-ai / langchain-ai/langgraph-fullstack-python
Handling Interrupts.
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 156
- フォーク
- 40
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I just can't find a way to change your code to handle interrupts. Could you please help?
I have a react agent, created with create_react_agent, which has the following tool:
def get_customer_name() -> str:
"""Get customer name.
Returns:
str: The customer name.
"""
options: List[str] = ...
selected_customer = interrupt(
{
"text": "Select the customer name: ",
"options": options,
}
)
return selected_customer
What I expect to happen is to somehow read text and options in the frontend. I know this is possible because I managed to do this using CopilotKit.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、get_customer_name ツール内で作成される interrupt と create_react_agent エントリーポイントを追跡し、そのテキストとオプションがどのようにフロントエンドへ到達し得るかを確認します。フロントエンドがそれらの値を読み取り、agent を再開するレスポンスを提供できれば完了です。この issue では、実行するファイルやテストは指定されていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- full-stack
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100