This commit is contained in:
anthrodjear 2026-05-04 12:49:18 +03:00
commit 07107384cb

View file

@ -292,7 +292,7 @@ func (p *Pipeline) CallLLM(
if isNetworkError && retry < maxRetries { if isNetworkError && retry < maxRetries {
backoff := time.Duration(retry+1) * time.Duration(backoffSecs) * time.Second backoff := time.Duration(retry+1) * time.Duration(backoffSecs) * time.Second
al.emitEvent( al.emitEvent(
EventKindLLMRetry, runtimeevents.KindAgentLLMRetry,
ts.eventMeta("runTurn", "turn.llm.retry"), ts.eventMeta("runTurn", "turn.llm.retry"),
LLMRetryPayload{ LLMRetryPayload{
Attempt: retry + 1, Attempt: retry + 1,