()
| 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 |
no test coverage detected