Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

mlx: configurable model load timeout (#14796)

frob4f7786d0baa9
diff --git a/x/mlxrunner/client.go b/x/mlxrunner/client.go
index f5f97df9f..31d02f699 100644
--- a/x/mlxrunner/client.go
+++ b/x/mlxrunner/client.go
@@ -70,7 +70,7 @@ func NewClient(modelName string, softContextLength int) (*Client, error) {
// WaitUntilRunning waits for the subprocess to be ready.
func (c *Client) WaitUntilRunning(ctx context.Context) error {
- timeout := time.After(2 * time.Minute)
+ timeout := time.After(envconfig.LoadTimeout())
ticker := time.NewTicker(100 * time.Millisecond)
defer ticker.Stop()