fix(web): correct Add Provider form to match fleet-settings DTO
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
2026-03-01 14:00:44 -06:00
parent 3607554902
commit 6acd85ea70
3 changed files with 40 additions and 40 deletions

View File

@@ -16,16 +16,13 @@ export interface FleetProvider {
}
export interface CreateFleetProviderRequest {
providerType: "ollama" | "openai" | "claude";
name: string;
displayName: string;
config: {
endpoint?: string;
apiKey?: string;
models?: string[];
timeout?: number;
};
isDefault?: boolean;
isEnabled?: boolean;
type: string;
baseUrl?: string;
apiKey?: string;
apiType?: string;
models?: FleetProviderModel[];
}
export interface UpdateFleetProviderRequest {