continue-custom/src/ui/ModelCapabilityWarning.tsx
2025-08-14 13:16:26 -07:00

27 lines
743 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { Box, Text } from "ink";
import React from "react";
interface ModelCapabilityWarningProps {
modelName: string;
}
const ModelCapabilityWarning: React.FC<ModelCapabilityWarningProps> = ({
modelName,
}) => {
return (
<Box flexDirection="column" paddingX={0}>
<Box flexDirection="row" alignItems="center">
<Text bold color="white">
{/* spaces in brackets to prevent prettier from fixing to 1 space */}
⚠️{" "}Model Capability Warning
</Text>
</Box>
<Text color="gray">
The model "{modelName}" is not recommended for use with cn due to
limited reasoning and tool calling capabilities
</Text>
</Box>
);
};
export { ModelCapabilityWarning };