Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

.NET: Hyperlight host-tool parameter schemas missing from execute_code descriptions

Aperta
#8,446 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@leilei3167 ci sta già lavorando.

Dal 18/9/2026.

  • #8528 di @leilei3167 — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp

Direzione di ricerca

Inizia in dotnet/src/Microsoft.Agents.AI.Hyperlight/Internal/InstructionBuilder.cs, in BuildExecuteCodeDescription, quindi esamina HyperlightExecuteCodeFunction e HyperlightCodeActProvider e il test esistente del builder. Verifica le descrizioni autonome e quelle restituite dal provider con uno strumento host parametrizzato. Il lavoro è completato quando gli schemi vengono esposti, mentre i comportamenti elencati di no-tool, input-schema, approval, filesystem e network rimangono invariati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

.NET

Parent issue

Sub-issue of #8125. Sibling #8445 is separate and must not close this child or the parent.

Confirmed behavior

At upstream/main 999dda7970fe969c0901d524365ce34ecbda6227, dotnet/src/Microsoft.Agents.AI.Hyperlight/Internal/InstructionBuilder.cs::BuildExecuteCodeDescription emits each host AIFunction name and description but never reads JsonSchema. The model therefore does not receive host-tool parameter names, requiredness, descriptions, enums, or nested shapes through this listing.

Both HyperlightExecuteCodeFunction and HyperlightCodeActProvider use this shared builder. Inspect the standalone function Description or the provider-returned execute-code function description; current BuildInstructions() returns short guidance and is not the correct reproduction accessor.

Acceptance criteria

  • Surface existing host-tool parameter schemas in the model-facing execute-code description for both entry points.
  • Add parameterized-host-tool regression coverage; the current builder test uses a zero-parameter function and misses the defect.
  • Preserve no-tool output, the code-only execute-code input schema, approval behavior, filesystem host-path protection, and network restrictions.
  • Keep the fix focused and document directly affected behavior. Confirm rendering and public API choices separately.

Status

Deferred at the user request and outside the sibling PR. This child does not authorize implementation. Source behavior was independently confirmed; no new build or live-model reproduction was run. The parent includes a contributor offer to help, so coordinate ownership and check for an implementing PR before starting.

Lingua principale
Python
Stelle
13.9k
Fork
2.4k
Merge medio
1g 16h
PR unite (30g)
440

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/agent-framework

Tutte le issue di microsoft/agent-framework

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.