mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-24 12:04:56 -07:00
Co-authored-by: Yuna Seol <yunaseol@google.com>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
import { useState, useCallback, useRef, useEffect, useMemo } from 'react';
|
||||
import type { Config } from '@google/gemini-cli-core';
|
||||
import { debugLogger, getResponseText } from '@google/gemini-cli-core';
|
||||
import { debugLogger, getResponseText, LlmRole } from '@google/gemini-cli-core';
|
||||
import type { Content } from '@google/genai';
|
||||
import type { TextBuffer } from '../components/shared/text-buffer.js';
|
||||
import { isSlashCommand } from '../utils/commandUtils.js';
|
||||
@@ -110,6 +110,7 @@ export function usePromptCompletion({
|
||||
{ model: 'prompt-completion' },
|
||||
contents,
|
||||
signal,
|
||||
LlmRole.UTILITY_AUTOCOMPLETE,
|
||||
);
|
||||
|
||||
if (signal.aborted) {
|
||||
|
||||
Reference in New Issue
Block a user