Merge pull request #2764 from alexhoshina/main
fix(agent): use runtime event kind for LLM retry
This commit is contained in:
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user