Skip to content

Commit 7d32912

Browse files
committed
fix: add missing isLoadingGateways prop and remove duplicate gatewayId in initialValues
- Add isLoadingGateways to LLMConfigSectionProps interface - Remove duplicate gatewayId property from initialValues object Fixes TypeScript compilation errors.
1 parent 12894ca commit 7d32912

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/pages/agents/create/schemas.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,4 @@ export const initialValues: FormValues = {
160160
systemPrompt: '',
161161
serviceAccountName: '',
162162
subagents: [],
163-
gatewayId: '',
164163
};

frontend/src/components/ui/ai-agent/llm-config-section.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export interface LLMConfigSectionProps {
5555
showBaseUrl?: boolean;
5656
showMaxIterations?: boolean;
5757
hasGatewayDeployed?: boolean;
58+
isLoadingGateways?: boolean;
5859
availableGateways?: Array<{ id: string; displayName: string; description?: string }>;
5960
}
6061

0 commit comments

Comments
 (0)