[Bug]: Action HTTP response-header timeout is selected by a hardcoded engine name, so only Ollama gets the long client
Los mantenedores suelen responder en 5 días
Evaluación
Este issue todavía no se ha evaluado.
Descripción
PAIR version or commit
0.91.7 (nvpair-engine-manager 0.17.4, linux/arm64). The code paths below are also present on main.
Affected component
Go services — nvpair-engine-manager
Environment
NVIDIA DGX Spark (GB10, aarch64), Ubuntu 24.04.4 LTS, driver 580.173.02, 10-node PAIR cluster. Reproduced against stock binaries with no local modifications.
Steps to reproduce
- Configure an engine other than Ollama.
- Issue an
engine:actionwhose HTTP call needs more than 30 seconds to return response headers. The realistic case is achataction against a large model with a long prompt, where prefill alone can exceed 30s before the first header is written. - Observe the action fail with a transport timeout.
Expected behavior
The per-action timeout should be a property of the action or the manifest rather than of the engine's name, so an engine author can declare that a given action may be slow.
Actual behavior
executor.go defines two clients:
engineResponseHeaderTimeout = 30 * time.Second
ollamaLoadResponseHeaderTimeout = 10 * time.Minute
and actions.go chooses between them with a literal engine-name comparison:
client := e.client
if engine == "ollama" && action == "run_model" && e.ollamaLoadClient != nil {
client = e.ollamaLoadClient
}
Every other engine therefore gets 30 seconds for every action, and no manifest field can change it.
By code inspection this is not limited to third-party engines. The shipped lmstudio.json declares a chat action (POST /v1/chat/completions) that uses the 30s client, and the vLLM manifest proposed in #9 declares a chat action as well, so a first-class vLLM engine would inherit the same ceiling.
The failure also presents badly: net/http: timeout awaiting response headers reads as a broken or hung engine rather than a client-side limit.
Sanitized logs or screenshots
action "run_model": Post "http://127.0.0.1:8800/v1/chat/completions":
net/http: timeout awaiting response headers [30s]
Scope of what I actually observed, to be precise: I hit this with an engine registered through a user manifest in <appdir>/engines/, driving engine-manager over its stdio JSON-RPC. It reproduced consistently while the model was cold and stopped once I pre-warmed the model during load, which is what isolated it to the response-header timeout rather than to the engine itself. I have not reproduced a 30s chat failure on LM Studio directly; that exposure is read from its manifest and the selection logic above.
Suggested fix
An optional per-action timeout_s in the manifest, defaulting to the current 30s, would cover this and would let the Ollama exception move into ollama.json instead of living in Go — removing the engine-name comparison entirely.
- Lenguaje dominante
- Go
- Estrellas
- 1.6k
- Forks
- 266
- Merge medio
- 3 d 6 h
- PR fusionados (30 d)
- 22
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/Personal-AI-Router
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
NVIDIA/Personal-AI-Router#165 ·
Los mantenedores suelen responder en 5 días
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 46/100
NVIDIA/Personal-AI-Router#164 ·
Los mantenedores suelen responder en 5 días
-
enhancement
Dificultad 4/5 Más de una semana Aptitud para principiantes 12/100
NVIDIA/Personal-AI-Router#162 ·
Los mantenedores suelen responder en 5 días
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
NVIDIA/Personal-AI-Router#154 · 1 comentario ·
Los mantenedores suelen responder en 5 días
-
[Feature]: [Ollama] Alert the user about model pull failuresPosiblemente ocupada @ckelseynv la tomó hace 3 días. Abiertoenhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
NVIDIA/Personal-AI-Router#152 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 5 días
Todos los issues de NVIDIA/Personal-AI-Router
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
SocialGouv/iterion#2369 ·
Los mantenedores suelen responder en 1 día
-
area/ci bug priority/p3
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
📖 docs: Docker Compose quick start doesn't mention editing the project values in src/hive.yamlAbiertodocumentation help wanted needs-triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 75/100
hivecommons/hive#11606 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[docs] `/docs/identity-security/usage/alerts/`: docs reference a date that has already passedAbiertodocumentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
gravitational/teleport#69869 ·
-
category:agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
LanternOps/breeze#8493 ·
Los mantenedores suelen responder en 1 día