mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
env var to set default model, display model on lower right (#110)
This commit is contained in:
parent
79710375e3
commit
a7fba66832
3 changed files with 6 additions and 2 deletions
|
|
@ -7,14 +7,17 @@
|
|||
import React from 'react';
|
||||
import { Box, Text } from 'ink';
|
||||
import { Colors } from '../colors.js';
|
||||
import { Config } from '@gemini-code/server';
|
||||
|
||||
interface FooterProps {
|
||||
config: Config;
|
||||
queryLength: number;
|
||||
debugMode: boolean;
|
||||
debugMessage: string;
|
||||
}
|
||||
|
||||
export const Footer: React.FC<FooterProps> = ({
|
||||
config,
|
||||
queryLength,
|
||||
debugMode,
|
||||
debugMessage,
|
||||
|
|
@ -46,7 +49,7 @@ export const Footer: React.FC<FooterProps> = ({
|
|||
|
||||
{/* Right Section: Gemini Label */}
|
||||
<Box>
|
||||
<Text color={Colors.AccentBlue}>Gemini</Text>
|
||||
<Text color={Colors.AccentBlue}> {config.getModel()} </Text>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue