Show model in history (#13034)

This commit is contained in:
Tommaso Sciortino
2025-11-13 19:11:06 -08:00
committed by GitHub
parent 0fcbff506e
commit ab11b2c27f
10 changed files with 96 additions and 6 deletions
@@ -0,0 +1,21 @@
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type React from 'react';
import { Text, Box } from 'ink';
import { theme } from '../../semantic-colors.js';
interface ModelMessageProps {
model: string;
}
export const ModelMessage: React.FC<ModelMessageProps> = ({ model }) => (
<Box marginLeft={3}>
<Text color={theme.ui.comment} italic>
responding with {model}
</Text>
</Box>
);