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

Transcripts don't keep text from tool rounds in place

Aperta
#291 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
swift
Ambito
ai

Direzione di ricerca

Start by tracing how tool calls, tool outputs, and response text are added to the transcript across rounds, then compare that with the restored ordering described for an Anthropic turn. Decide how per-round text should be represented for all providers, and verify that reasoning, text, tool-use, and tool-result entries replay in their original order.

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

Descrizione

When a model writes text in the same turn as a tool call, the transcript doesn't record it where it happened. Tool calls and their outputs are added round by round, but the session adds all of the response's text once, after the last round, as one response entry (#265 combines earlier rounds' text into it). So an Anthropic turn like [thinking, text, tool_use] replays from a restored transcript as [thinking, tool_use], then the tool result, then the text.

With reasoning entries (#290), the order matters more: the model sees its earlier explanation after the tool result instead of before it. Recording a response entry for each round's text would keep the original order, but it changes what a transcript looks like for every provider, so it's worth deciding on its own.

Lingua principale
Swift
Stelle
948
Fork
99
Merge medio
18h 38m
PR unite (30g)
56

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 huggingface/AnyLanguageModel

Tutte le issue di huggingface/AnyLanguageModel

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.