Expose session state keys on the Go todo and agent-mode providers
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
まず todo.Provider と agentmode.Provider の型から始め、それぞれが agent.Session に状態を保存するために使う非公開のキーを見つけてください。agent/harness/filememory/filememory.go の StateKeys() メソッドをパターンとして使ってください。両方のプロバイダーが、自身のキーを含む新しいスライスを返し、状態を書き込み、報告されたキーで消去し、返されたスライスを変更しても後続の呼び出しに影響しないことを確認するテストがあれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The Go todo.Provider and agentmode.Provider each store state in an agent.Session. A host that wants to clear one provider’s state currently has to hardcode its private storage key. Go’s file-memory provider already exposes StateKeys() []string for this purpose. Go file-memory implementation
I propose adding StateKeys() []string to both concrete providers. Each method would return a caller-owned slice containing the key the provider already uses, so existing sessions would continue to work. This matches the public behavior of the corresponding .NET providers. .NET TodoProvider · .NET AgentModeProvider
I’d like to take this on. I have a local implementation with tests that write provider state through the public API, clear it using the reported key, and verify that modifying the returned slice leaves subsequent calls unaffected.
- 主要言語
- Go
- スター
- 683
- フォーク
- 70
- 平均マージ
- 17時間 50分
- マージ済み PR(30日)
- 64
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/agent-framework-go のほかの issue
-
agentic-workflows
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
microsoft/agent-framework-go#1414 ·
メンテナーはふだん 1 日以内に返信
-
openaiprovider: Chat tool continuation drops reasoning_content from the originating assistant message対応中かも @nicksin-leroux が 1 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 74/100
microsoft/agent-framework-go#1409 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
microsoft/agent-framework-go#1408 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
microsoft/agent-framework-go#1406 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows
難易度 3/5 半日 初心者へのやさしさ 28/100
microsoft/agent-framework-go#1398 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
microsoft/agent-framework-go の issue をすべて見る
似ている issue
-
hive size:simple
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nwverse/persona#12800 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
karmada-io/karmada#8110 ·
メンテナーはふだん 1 日以内に返信
-
add CLI flag to hide animation対応中かも @prdai が今日担当しました。 オープンfeature request
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
ollama/ollama#19828 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:webapp bug finding
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信