mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-26 13:04:49 -07:00
Remove unused code (#15290)
This commit is contained in:
committed by
GitHub
parent
2515b89e2b
commit
edab97997a
@@ -194,9 +194,7 @@ let parentToolRegistry: ToolRegistry;
|
||||
* Type-safe helper to create agent definitions for tests.
|
||||
*/
|
||||
|
||||
export const createTestDefinition = <
|
||||
TOutput extends z.ZodTypeAny = z.ZodUnknown,
|
||||
>(
|
||||
const createTestDefinition = <TOutput extends z.ZodTypeAny = z.ZodUnknown>(
|
||||
tools: Array<string | MockTool> = [LS_TOOL_NAME],
|
||||
runConfigOverrides: Partial<LocalAgentDefinition<TOutput>['runConfig']> = {},
|
||||
outputConfigMode: 'default' | 'none' = 'default',
|
||||
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
/**
|
||||
* DTO for TOML parsing - represents the raw structure of the TOML file.
|
||||
*/
|
||||
export interface TomlAgentDefinition {
|
||||
interface TomlAgentDefinition {
|
||||
name: string;
|
||||
description: string;
|
||||
display_name?: string;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
export type ModelId = string;
|
||||
|
||||
export type TerminalUnavailabilityReason = 'quota' | 'capacity';
|
||||
type TerminalUnavailabilityReason = 'quota' | 'capacity';
|
||||
export type TurnUnavailabilityReason = 'retry_once_per_turn';
|
||||
|
||||
export type UnavailabilityReason =
|
||||
|
||||
Reference in New Issue
Block a user