Elffuss BraidHub

kikocis/continue public

main · 743 BRawPermalink
1import { Box, Text } from "ink";
2import React from "react";
3
4interface ModelCapabilityWarningProps {
5 modelName: string;
6}
7
8const ModelCapabilityWarning: React.FC<ModelCapabilityWarningProps> = ({
9 modelName,
10}) => {
11 return (
12 <Box flexDirection="column" paddingX={0}>
13 <Box flexDirection="row" alignItems="center">
14 <Text bold color="white">
15 {/* spaces in brackets to prevent prettier from fixing to 1 space */}
16 ⚠️{" "}Model Capability Warning
17 </Text>
18 </Box>
19 <Text color="gray">
20 The model "{modelName}" is not recommended for use with cn due to
21 limited reasoning and tool calling capabilities
22 </Text>
23 </Box>
24 );
25};
26
27export { ModelCapabilityWarning };