Could not load the model because Error: Cannot find adapter that matches the request
- 主要言語
- TypeScript
- スター
- 2.7k
- フォーク
- 172
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I encountered an issue while trying to load a model in Secret Llama. The UI works correctly, but the models fail to initialize. Maybe because they are not linked to the UI. Instead, I get the following error message:
```
Could not load the model because Error: Cannot find adapter that matches the request
```
I couldn't find instructions in the repo on how to link LLMs to the UI?
---
### Steps to Reproduce
1. cloned the repo
2. ran `yarn` and `yarn build-and-preview`
3. opened UI
---
### Expected Behavior
The model should load and be ready for inference after selection.
---
### Observed Behavior
The application displays the error:
```
Could not load the model because Error: Cannot find adapter that matches the request
```
---
### Environment
- **Browser:** Google Chrome Version 131.0.6778.205 (Official Build) (arm64)
- **Operating System:** macOS Sequoia 15.1.1 (24B91)
---
### Additional Information
- I checked the issues page and documentation but couldn't find a solution.
- Is there a specific configuration where I can link the downloaded LLMs?
---
Thank you for your help and cool project!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Look at the model loading and adapter selection logic in the frontend code, likely in a directory like src/ or lib/. Check how models are linked to the UI, possibly in configuration files or initialization scripts. Run the build and preview commands to reproduce the error, then trace where the adapter matching fails. Verify the fix by selecting a model in the UI and ensuring it loads without the error.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, nodejs, typescript
- 領域
- frontend, tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100