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

Aberta
#472 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
52/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
ai, backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
Rust
Estrelas
6
Forks
2
Merge médio
1d 3h
PRs com merge (30d)
42

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de elastos/elastos-runtime

Todas as issues de elastos/elastos-runtime

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.