Files
oh-my-opencode/src/hooks/prometheus-md-only/agent-matcher.ts
T

6 lines
196 B
TypeScript
Raw Normal View History

import { PROMETHEUS_AGENT } from "./constants"
export function isPrometheusAgent(agentName: string | undefined): boolean {
return agentName?.toLowerCase().includes(PROMETHEUS_AGENT) ?? false
}