mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-14 23:31:13 -07:00
Inline thinking bubbles with summary/full modes (#18033)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
15
packages/cli/src/ui/utils/inlineThinkingMode.ts
Normal file
15
packages/cli/src/ui/utils/inlineThinkingMode.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2025 Google LLC
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import type { LoadedSettings } from '../../config/settings.js';
|
||||
|
||||
export type InlineThinkingMode = 'off' | 'full';
|
||||
|
||||
export function getInlineThinkingMode(
|
||||
settings: LoadedSettings,
|
||||
): InlineThinkingMode {
|
||||
return settings.merged.ui?.inlineThinkingMode ?? 'off';
|
||||
}
|
||||
Reference in New Issue
Block a user