feat: add configurable AgentRouter AI provider
This commit is contained in:
@@ -687,6 +687,11 @@ func (t EvidenceTools) Execute(_ context.Context, name string, arguments json.Ra
|
||||
}
|
||||
}
|
||||
}
|
||||
for _, item := range t.analysis.Evidence.Events {
|
||||
if item.EvidenceID == args.EvidenceID {
|
||||
return []byte(`{"state":"UNAVAILABLE","reason":"NO_PLAYBOOK"}`), nil
|
||||
}
|
||||
}
|
||||
}
|
||||
return nil, errorsNewUnknownEvidence()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user