Skip to content

fix(app): show setup wizard when configured Ollama model is missing - #46

Merged
comppaz merged 2 commits into
mainfrom
fix/ollama-model-check
Dec 17, 2025
Merged

fix(app): show setup wizard when configured Ollama model is missing#46
comppaz merged 2 commits into
mainfrom
fix/ollama-model-check

Conversation

@comppaz

@comppaz comppaz commented Dec 17, 2025

Copy link
Copy Markdown
Collaborator

Summary

Fixes #44

When Ollama is already installed but the configured chat model (e.g., llama3.2) isn't downloaded, the app now properly shows the setup wizard to download the required models.

Changes

  • App.tsx: Check if the configured model is actually available before skipping the setup wizard
  • SetupWizard.tsx:
    • Check for chat model (not just embedding) when wizard runs
    • Show user-friendly download status instead of raw layer hashes (e.g., "Downloading model..." instead of "pulling dde5aa3fc5ff")

Test plan

  • Have Ollama installed and running, but without llama3.2 model
  • Launch Think app with think_ai_setup_complete already set in localStorage
  • Verify the setup wizard appears and downloads the missing model
  • Verify friendly status messages are shown during download
  • Verify chat works after setup completes

Antonio Maiolo added 2 commits December 17, 2025 17:49
Fixes #44

- Check if the configured chat model exists before skipping setup wizard
- Also check for chat model (not just embedding) when wizard runs
- Show user-friendly download status instead of raw layer hashes
@comppaz
comppaz merged commit b0072ec into main Dec 17, 2025
@comppaz
comppaz deleted the fix/ollama-model-check branch December 17, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: application does not download llama3.2 in case ollama is already installed

1 participant