Mac source-built Home skips the model provider when llama-server has no checksum, and the log hides why

Abierto
#472 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
52/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
rust
Área
ai, backend

Línea de trabajo

Start by reading the failure path at setup.rs:2237-2251 and server_infra.rs:1034, 1135, then trace how the missing llama-server checksum affects the local engine bundle and provider startup. Check scripts/build-and-setup-source-home.sh and the release integrity checks for the source Home setup. Done means the startup reason appears in logs and System, hosted model startup works without a local engine, and an installed Mac Home test covers that case.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

A Mac Home built from source with the default setup (scripts/build-and-setup-source-home.sh without SETUP_SOURCE_HOME_INSTALL_LLAMA_SERVER=1) leaves the llama-server darwin-arm64 entry in components.json with no checksum.

  • What happens: the Runtime can't resolve the local engine's sandbox bundle (setup.rs:2237-2251, local_model_engine_confinement_bundle), so model-provider startup fails (server_infra.rs:1034).
  • Why nobody can tell: the gateway logs only "Skipping model-provider because startup failed"; the error is dropped at server_infra.rs:1135. The Assistant and hosted models are then unavailable with no stated reason.
  • Packaged releases are not affected (from a code read): release preparation fills the darwin checksum, and release checks refuse a missing one (prepare-release-platform.sh:293,310-330, components-release-integrity-check.py:203-214).

Found while preparing the #85 installed proof (20 Oct).

Done means

  • The startup failure names its reason in the log and in System.
  • A Mac source Home without a local engine still starts the model provider, so hosted models work. Test: a source Home built with the default setup reaches model-provider capsule from ….
  • A test covers an installed Mac Home without local AI starting the model provider.
Lenguaje dominante
Rust
Estrellas
6
Forks
2
Merge medio
1 d 3 h
PR fusionados (30 d)
42

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de elastos/elastos-runtime

Todos los issues de elastos/elastos-runtime

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.