(ctx context.Context, response *responses.Response)
| 185 | } |
| 186 | |
| 187 | func (i *responsesInterceptionBase) recordModelThoughts(ctx context.Context, response *responses.Response) { |
| 188 | for _, t := range i.extractModelThoughts(response) { |
| 189 | _ = i.recorder.RecordModelThought(ctx, &recorder.ModelThoughtRecord{ |
| 190 | InterceptionID: i.ID().String(), |
| 191 | Content: t.Content, |
| 192 | Metadata: t.Metadata, |
| 193 | }) |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | func (i *responsesInterceptionBase) recordNonInjectedToolUsage(ctx context.Context, response *responses.Response) { |
| 198 | if response == nil { |
no test coverage detected