feat(core): Add observability for KB lookup

Signed-off-by: Richard Palethorpe <io@richiejp.com>
This commit is contained in:
Richard Palethorpe
2025-05-14 12:11:47 +01:00
parent 8849a9ba1b
commit 367832ddb2
2 changed files with 52 additions and 13 deletions

View File

@@ -617,7 +617,7 @@ func (a *Agent) consumeJob(job *types.Job, role string, retries int) {
conv = a.processUserInputs(job, role, conv)
// RAG
conv = a.knowledgeBaseLookup(conv)
conv = a.knowledgeBaseLookup(job, conv)
var pickTemplate string
var reEvaluationTemplate string