[dotnet-port-api] Port TodoCompletion and BackgroundTaskCompletion loop evaluators (placement decision)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- backend-api-design
Direzione di ricerca
The issue is about porting two .NET loop evaluators to Go. First, understand the existing loop package structure and the todo and agentmode providers. Review the .NET reference implementations for TodoCompletionLoopEvaluator and BackgroundTaskCompletionLoopEvaluator. The main decision is where to place the new evaluators: either in the loop package (adding dependencies) or in the todo package (keeping loop clean). Start by examining the agent/harness/loop directory and the todo provider. 'Done' means the evaluators are implemented and placed according to maintainer guidance.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Following #1162 (AI-judge loop evaluator), the remaining .NET loop evaluators Go still lacks are TodoCompletionLoopEvaluator and BackgroundTaskCompletionLoopEvaluator (DelegateLoopEvaluator is already covered by Go's loop.EvaluatorFunc). Filing issue-first because there is a real placement/coupling decision.
The gap
TodoCompletionLoopEvaluator keeps re-invoking the agent until a TodoProvider has no remaining todos (optionally only while in one of a configured set of agent modes), continuing with feedback listing the remaining items ({remaining_todos}).
The Go design question
.NET resolves the TodoProvider (and AgentModeProvider for the mode gate) at evaluation time from the agent via GetService<T>(). Go has no equivalent — loop.Context exposes InitialMessages, LastResponse, Options, Iteration; the session is reachable via agent.GetOption(ctx.Options, agent.WithSession), but there is no provider-resolution mechanism. So the Go evaluator must take an explicit *todo.Provider (and, for modes, an *agentmode.Provider).
That raises a placement decision, because agent/harness/loop currently imports no sibling harness package:
- In
loop— mirrors .NET's namespace, but introducesloop→todo(andloop→agentmode) dependencies. - In
todo— keepsloopdependency-free;todoimports theloop.Evaluator/Evaluationtypes (no cycle, sinceloopdoes not importtodo). Arguably more idiomatic for Go.
I lean toward option 2 (evaluator lives in todo, e.g. todo.NewCompletionLoopEvaluator(p, ...)), keeping the loop package free of harness-specific deps, but this is the maintainers' call. Happy to implement whichever placement you prefer — the logic itself (remaining-todos check + {remaining_todos} feedback + optional mode gate) is straightforward and I have the .NET reference. Same question applies to BackgroundTaskCompletionLoopEvaluator.
- Lingua principale
- Go
- Stelle
- 659
- Fork
- 67
- Merge medio
- 18h 49m
- PR unite (30g)
- 81
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/agent-framework-go
-
[aw] Upgrade availableApertaagentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
microsoft/agent-framework-go#1350 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/agent-framework-go#1348 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
microsoft/agent-framework-go#1327 ·
I maintainer di solito rispondono entro 1 giorno
-
Add a per-run limit for tool callsForse già presa @Lokesh118 l’ha presa 10 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
microsoft/agent-framework-go#1202 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
microsoft/agent-framework-go#1164 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/agent-framework-go
Issue simili
-
bug os:ios
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hajimehoshi/ebiten#4039 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
open-telemetry/opentelemetry-go-compile-instrumentation#1713 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
JakeChampion/lang#14392 ·
I maintainer di solito rispondono entro 1 giorno
-
agent-butler-finding bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 84/100
jordansmall/spindrift#6557 ·
I maintainer di solito rispondono entro 1 giorno