fix(agent): use runtime event kind for LLM retry

This commit is contained in:
Hoshina
2026-05-04 15:06:34 +08:00
parent be67aed4dc
commit 057683d94c
+1 -1
View File
@@ -292,7 +292,7 @@ func (p *Pipeline) CallLLM(
if isNetworkError && retry < maxRetries {
backoff := time.Duration(retry+1) * time.Duration(backoffSecs) * time.Second
al.emitEvent(
EventKindLLMRetry,
runtimeevents.KindAgentLLMRetry,
ts.eventMeta("runTurn", "turn.llm.retry"),
LLMRetryPayload{
Attempt: retry + 1,