OpenAI tool-call compatibility issue in flare that kills agentic loops
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start by locating the completion stream code that raises “model called unregistered tool” for newly generated calls; the issue names no source file or test. Compare that path with the accepted history case, then trace how tool calls and recoverable errors reach clients. Done means an unregistered generated call can be handled by the client and the turn can continue; add coverage for that recovery path.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens: when the model emits a tool_call whose function name isn't in the request's tools schema (e.g. run_commands instead of run_command), flare aborts the completion with model called unregistered tool …. Clients are designed to receive that call, return a "no such tool" result, and let the model correct itself in the same turn — the Open WebUI maintainer confirmed its loop does exactly that. Flare terminates the stream first, so the recovery never runs and the whole turn/agent loop dies. Seen live in OWUI: the loop just stops on that error.
Evidence:
The error is flare's own: model called unregistered tool … sits in the engine binary at offsets ~1127283/1127296 (/usr/local/bin/flare).
Control: the same unregistered name placed in history (assistant tool_calls + tool-role error result) is accepted — HTTP 200, model recovers and calls run_command correctly. So the rejection fires only on newly generated calls.
Black-box forcing didn't work (the model refuses to emit invalid names when instructed; 30 samples at temp 1.5, all run_command), but the check is deterministic once a bad name is generated — a canned invalid generation feeds straight into it.
vLLM/SGLang pass emitted tool calls through verbatim; name routing is the client's contract. That's why this never appeared before.
Suggested fix: don't hard-fail on an emitted name that isn't in the schema — either pass the call through as-is (client dispatches or errors), or surface it as a recoverable error event/tool-call so the client's own recovery can run.
- Lenguaje dominante
- Rust
- Estrellas
- 800
- Forks
- 106
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 100
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin 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/hyperflare-inference
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NVIDIA/hyperflare-inference#268 ·
Los mantenedores suelen responder en 1 día
-
break out engram wait timeAbiertoarea:caching area:engram enhancement performance triage:design-review
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/hyperflare-inference#230 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
NVIDIA/hyperflare-inference#278 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
NVIDIA/hyperflare-inference#276 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
NVIDIA/hyperflare-inference#271 ·
Los mantenedores suelen responder en 1 día
Todos los issues de NVIDIA/hyperflare-inference
Issues similares
-
bug UI
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
wardian-app/Wardian#1746 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
jlcodes99/cockpit-tools#3125 ·
Los mantenedores suelen responder en 2 días
-
bug user-sprint
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Vondor/KassenSturz#967 ·
Los mantenedores suelen responder en 1 día
-
area/ci
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
[BUG] Incremental sync warns "no stored highest_uid" on every round for folders with no new mailAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
rustmailer/bichon#411 ·