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

Aperta
#472 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
ai, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Rust
Stelle
6
Fork
2
Merge medio
1g 3h
PR unite (30g)
42

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di elastos/elastos-runtime

Tutte le issue di elastos/elastos-runtime

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.