MCPcopy Create free account
hub / github.com/Noumena-Network/code / hasUltrathinkKeyword

Function hasUltrathinkKeyword

src/utils/thinking.ts:31–33  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

29 * Check if text contains the "ultrathink" keyword.
30 */
31export function hasUltrathinkKeyword(text: string): boolean {
32 return /\bultrathink\b/i.test(text)
33}
34
35/**
36 * Find positions of "ultrathink" keyword in text (for UI highlighting/notification)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected