MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / labelLineLen

Function labelLineLen

cli/src/components/freebuff-model-selector.tsx:215–216  ·  view source on GitHub ↗
(m: FreebuffModelOption)

Source from the content-addressed store, hash-verified

213 // same width. When taglines are hidden (limited tier), line 1 is just
214 // "indicator name" with no separator.
215 const labelLineLen = (m: FreebuffModelOption) =>
216 2 + m.displayName.length + (showTagline ? 3 + m.tagline.length : 0)
217 const detailsLineLen = (m: FreebuffModelOption) => {
218 const parts: number[] = []
219 if (m.warning) parts.push(m.warning.length)

Callers 1

FreebuffModelSelectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected