fix(web): correct Add Provider form DTO field mapping (#623)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #623.
This commit is contained in:
2026-03-01 19:19:04 +00:00
committed by jason.woltje
parent 99a4567e32
commit 861eff4686
3 changed files with 50 additions and 37 deletions

View File

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