mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-14 15:21:01 -07:00
refactor(ide): replace DetectedIde enum with IDE_DEFINITIONS object (#8698)
This commit is contained in:
@@ -31,7 +31,7 @@ import { MessageType, StreamingState } from './types.js';
|
||||
import {
|
||||
type EditorType,
|
||||
type Config,
|
||||
type DetectedIde,
|
||||
type IdeInfo,
|
||||
type IdeContext,
|
||||
type UserTierId,
|
||||
DEFAULT_GEMINI_FLASH_MODEL,
|
||||
@@ -717,7 +717,7 @@ Logging in with Google... Please restart Gemini CLI to continue.
|
||||
]);
|
||||
|
||||
const [idePromptAnswered, setIdePromptAnswered] = useState(false);
|
||||
const [currentIDE, setCurrentIDE] = useState<DetectedIde | null>(null);
|
||||
const [currentIDE, setCurrentIDE] = useState<IdeInfo | null>(null);
|
||||
|
||||
useEffect(() => {
|
||||
const getIde = async () => {
|
||||
|
||||
Reference in New Issue
Block a user