MCPcopy Create free account
hub / github.com/anomalyco/opencode / title

Function title

packages/app/src/components/model-tooltip.tsx:47–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 return value
46 }
47 const title = () => {
48 const tags: Array<string> = []
49 if (props.latest) tags.push(language.t("model.tag.latest"))
50 if (props.free) tags.push(language.t("model.tag.free"))
51 const suffix = tags.length ? ` (${tags.join(", ")})` : ""
52 return `${sourceName(props.model)} ${props.model.name}${suffix}`
53 }
54 const inputs = () => {
55 if (props.model.capabilities) {
56 const input = props.model.capabilities.input

Callers 2

TabNavItemFunction · 0.70
ModelTooltipFunction · 0.70

Calls 2

sourceNameFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected