Remove unused code (#15290)

This commit is contained in:
Tommaso Sciortino
2025-12-18 15:04:29 -08:00
committed by GitHub
parent 2515b89e2b
commit edab97997a
6 changed files with 4 additions and 22 deletions
@@ -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',
+1 -1
View File
@@ -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 =