estimateWaitMs

fun estimateWaitMs(excludeTicket: String?): Long?

Estimates the total wait time (in ms) for a ticket by summing the average inference duration of every ticket ahead of it in the queue. Only tickets whose model type has recorded history contribute to the estimate. Returns null if no estimate is possible (no history for any of the queued model types).

Parameters

excludeTicket

The ticket UUID to exclude (the requester's own ticket).