Eine Zahl des laufenden Modells. Der Tooltip sagt, aus welcher Anfrage sie kommt.
(props: { name: string; label: string; value: string; source: string })
| 168 | |
| 169 | /** Eine Zahl des laufenden Modells. Der Tooltip sagt, aus welcher Anfrage sie kommt. */ |
| 170 | function Fact(props: { name: string; label: string; value: string; source: string }): JSX.Element { |
| 171 | return ( |
| 172 | <div className="atlas-settings-fact" data-testid="atlas-settings-fact" data-fact={props.name}> |
| 173 | <dt className="atlas-settings-fact-label">{props.label}</dt> |
| 174 | <Hint name={`settings-fact-${props.name}`} text={messages.llm.readFrom(props.source)}> |
| 175 | <dd |
| 176 | className="atlas-settings-fact-value" |
| 177 | data-testid="atlas-settings-fact-value" |
| 178 | data-source={props.source} |
| 179 | > |
| 180 | {props.value} |
| 181 | </dd> |
| 182 | </Hint> |
| 183 | </div> |
| 184 | ); |
| 185 | } |
| 186 | |
| 187 | /** Eine Zeile mit einer Auswahl aus wenigen Werten. */ |
| 188 | function Choice<T extends string | number | boolean>(props: { |
nothing calls this directly
no outgoing calls
no test coverage detected