Fix some typescript issues

This commit is contained in:
2025-10-27 20:36:31 +01:00
parent 7813a5f2be
commit 5b84b64623
4 changed files with 21 additions and 18 deletions

View File

@@ -54,7 +54,7 @@ const ParseCommandDialog: React.FC<ParseCommandDialogProps> = ({
options = await backendsApi.vllm.parseCommand(command);
break;
default:
throw new Error(`Unsupported backend type: ${backendType}`);
throw new Error(`Unsupported backend type: ${String(backendType)}`);
}
onParsed(options);