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

オープン
#472 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
ai, backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Rust
スター
6
フォーク
2
平均マージ
1日 3時間
マージ済み PR(30日)
42

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

elastos/elastos-runtime のほかの issue

elastos/elastos-runtime の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。