mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-15 00:21:09 -07:00
feat(core): experimental in-progress steering hints (2 of 2) (#19307)
This commit is contained in:
@@ -9,6 +9,7 @@ import type { BaseLlmClient } from '../core/baseLlmClient.js';
|
||||
import type { ModelConfigKey } from '../services/modelConfigService.js';
|
||||
import { debugLogger } from './debugLogger.js';
|
||||
import { getResponseText } from './partUtils.js';
|
||||
import { getErrorMessage } from './errors.js';
|
||||
|
||||
export const DEFAULT_FAST_ACK_MODEL_CONFIG_KEY: ModelConfigKey = {
|
||||
model: 'fast-ack-helper',
|
||||
@@ -192,7 +193,7 @@ export async function generateFastAckText(
|
||||
return responseText;
|
||||
} catch (error) {
|
||||
debugLogger.debug(
|
||||
`[FastAckHelper] Generation failed: ${error instanceof Error ? error.message : String(error)}`,
|
||||
`[FastAckHelper] Generation failed: ${getErrorMessage(error)}`,
|
||||
);
|
||||
return fallbackText;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user