Add local model asset catalog
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-07-06 20:59:03 +02:00
parent 9e20cc82ae
commit 6e2a8cbdc4
33 changed files with 660 additions and 7 deletions
+24
View File
@@ -404,6 +404,28 @@ export interface DetectionModelsResponse {
models: DetectionModelCapability[]
}
export interface ModelAssetRead {
model_asset_id: string
filename: string
display_name: string
model_path: string
suffix: string
framework: string
task_type: string
size_bytes: number
sha256: string
active: boolean
status: string
limitation_message: string
will_download_models: boolean
}
export interface ModelAssetListResponse {
items: ModelAssetRead[]
total: number
model_directory: string
}
export interface YoloPreflightChecks {
enabled: boolean
dependencies_available?: boolean | null
@@ -428,6 +450,7 @@ export interface YoloPreflightRuntime {
export interface YoloPreflightResponse {
model_id: string
model_asset_id?: string | null
model_path?: string | null
tile_manifest_path?: string | null
status: string
@@ -445,6 +468,7 @@ export interface DetectionRunRequest {
project_id: string
dataset_id: string
model_id: string
model_asset_id?: string | null
confidence_threshold: number
class_filter?: string[] | null
tile_manifest_path?: string | null