@@ -183,6 +183,7 @@ func (a *sessionAgent) Run(ctx context.Context, call SessionAgentCall) (*fantasy
183 a.generateTitle(titleCtx, call.SessionID, call.Prompt)
183 a.generateTitle(titleCtx, call.SessionID, call.Prompt)
187 // Add the user message to the session.
188 // Add the user message to the session.
188 _, err = a.createUserMessage(ctx, call)
189 _, err = a.createUserMessage(ctx, call)
@@ -491,7 +492,6 @@ func (a *sessionAgent) Run(ctx context.Context, call SessionAgentCall) (*fantasy
492 return nil, err
493 return nil, err
496 if shouldSummarize {
496 if shouldSummarize {
497 a.activeRequests.Del(call.SessionID)
497 a.activeRequests.Del(call.SessionID)