fix(athena): reduce keyword-detector log noise for Athena sessions
Only log keyword skipping when there are actual keywords to skip, not on every Athena message. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
5dfe0a34fc
commit
ef74577ccb
@ -52,10 +52,12 @@ export function createKeywordDetectorHook(ctx: PluginInput, _collector?: Context
|
|||||||
// Use getAgentConfigKey to handle display name remapping ("Athena (Council)" → "athena").
|
// Use getAgentConfigKey to handle display name remapping ("Athena (Council)" → "athena").
|
||||||
const agentConfigKey = currentAgent ? getAgentConfigKey(currentAgent) : undefined
|
const agentConfigKey = currentAgent ? getAgentConfigKey(currentAgent) : undefined
|
||||||
if (agentConfigKey === "athena") {
|
if (agentConfigKey === "athena") {
|
||||||
log(`[keyword-detector] Skipping all keywords for Athena (council orchestrator)`, {
|
if (detectedKeywords.length > 0) {
|
||||||
sessionID: input.sessionID,
|
log(`[keyword-detector] Skipping keywords for Athena (council orchestrator)`, {
|
||||||
skippedTypes: detectedKeywords.map((k) => k.type),
|
sessionID: input.sessionID,
|
||||||
})
|
skippedTypes: detectedKeywords.map((k) => k.type),
|
||||||
|
})
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user