mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-11 22:51:00 -07:00
init
This commit is contained in:
@@ -44,7 +44,7 @@ export function useApprovalModeIndicator({
|
||||
addItem(
|
||||
{
|
||||
type: MessageType.WARNING,
|
||||
text: 'You cannot enter YOLO mode since it is disabled in your settings.',
|
||||
text: 'You cannot enter YOLO mode since it is disabled by your admin.',
|
||||
},
|
||||
Date.now(),
|
||||
);
|
||||
|
||||
@@ -119,7 +119,7 @@ function startAdminControlsPolling(
|
||||
debugLogger.error('Failed to poll admin controls: ', e);
|
||||
}
|
||||
},
|
||||
5 * 60 * 1000,
|
||||
1 * 60 * 1000,
|
||||
); // 5 minutes
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,8 @@ export interface HttpOptions {
|
||||
headers?: Record<string, string>;
|
||||
}
|
||||
|
||||
export const CODE_ASSIST_ENDPOINT = 'https://cloudcode-pa.googleapis.com';
|
||||
export const CODE_ASSIST_ENDPOINT =
|
||||
'https://staging-cloudcode-pa.sandbox.googleapis.com';
|
||||
export const CODE_ASSIST_API_VERSION = 'v1internal';
|
||||
|
||||
export class CodeAssistServer implements ContentGenerator {
|
||||
|
||||
Reference in New Issue
Block a user