fix(release): stop shipping native modules built for the wrong runtime
Some checks failed
deploy-site / deploy (push) Failing after 14m16s
Some checks failed
deploy-site / deploy (push) Failing after 14m16s
The released installer could not start: it carried a better-sqlite3 build for the host Node runtime instead of Electron, so the app died immediately with a module version mismatch when it opened its database. Packaging now proves the Electron build of every runtime-sensitive native module before an installer or archive exists, and installers are produced only from that verified tree, so the mistake cannot pass silently. The release pipelines run the same check. The default local model also pointed at a retired model: a *.gguf name that Ollama cannot serve, while the settings, onboarding, and guide screens recommended an older model. All of them now use the model the service code already preferred.
This commit is contained in:
parent
0fbbbc1756
commit
1af3cf75c7
42 changed files with 473 additions and 83 deletions
|
|
@ -723,7 +723,7 @@ export function SettingsModal({ open, initialTab = 0, onClose }: SettingsModalPr
|
|||
: 'Ollama 오프라인 (서버 실행 필요)'}
|
||||
</Typography>
|
||||
<Typography sx={{ fontSize: '11px', color: d3roPalette.text.secondary }}>
|
||||
설치된 모델: {ollamaModels.length}개 | 현재 활성: {config.llmModelId ?? 'gemma2:2b'}
|
||||
설치된 모델: {ollamaModels.length}개 | 현재 활성: {config.llmModelId ?? 'gemma4:e4b'}
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
|
|
@ -800,7 +800,7 @@ export function SettingsModal({ open, initialTab = 0, onClose }: SettingsModalPr
|
|||
<InputLabel>활성 Ollama 모델</InputLabel>
|
||||
<Select
|
||||
label="활성 Ollama 모델"
|
||||
value={config.llmModelId ?? 'gemma2:2b'}
|
||||
value={config.llmModelId ?? 'gemma4:e4b'}
|
||||
onChange={(e) => {
|
||||
const val = e.target.value
|
||||
updateConfig('llmModelId', val)
|
||||
|
|
@ -815,7 +815,7 @@ export function SettingsModal({ open, initialTab = 0, onClose }: SettingsModalPr
|
|||
))}
|
||||
{/* 설치된 모델 목록이 없거나 기본 추천 추가 */}
|
||||
{ollamaModels.length === 0 && (
|
||||
<MenuItem value="gemma2:2b">gemma2:2b (추천)</MenuItem>
|
||||
<MenuItem value="gemma4:e4b">gemma4:e4b (추천)</MenuItem>
|
||||
)}
|
||||
{!ollamaModels.some((m) => m.name === 'llama3.2:3b') && (
|
||||
<MenuItem value="llama3.2:3b">llama3.2:3b</MenuItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue