Merge pull request #2764 from alexhoshina/main

fix(agent): use runtime event kind for LLM retry
This commit is contained in:
美電球 2026-05-04 15:48:11 +08:00 committed by GitHub
commit 71c49812ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,