MCPcopy Create free account
hub / github.com/continuedev/continue / getRuleId

Function getRuleId

core/llm/rules/getSystemMessageWithRules.ts:328–330  ·  view source on GitHub ↗
(rule: RuleMetadata)

Source from the content-addressed store, hash-verified

326};
327
328export function getRuleId(rule: RuleMetadata): string {
329 return rule.slug ?? rule.sourceFile ?? rule.name ?? rule.source;
330}
331
332export const getSystemMessageWithRules = ({
333 baseSystemMessage,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected