janhq / jan

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer. Multiple engine support (llama.cpp, TensorRT-LLM)
https://jan.ai/
GNU Affero General Public License v3.0
22.1k stars 1.27k forks source link

feat: Prompt user to download model, if no models are available #3537

Open dan-homebrew opened 2 weeks ago

dan-homebrew commented 2 weeks ago

Problem

When there are no models available but user still has at least 1 old thread:

Current behavior: We default a cloud model and show API key error, which is not cool.

Expected behavior: We should show that no model is available & recommend users to download one.

Design

Figma: https://www.figma.com/design/DYfpMhf8qiSReKvYooBgDV/Jan-App-(3rd-version)?node-id=8124-71826&t=af5Wyb9D89fwRirc-4

Screenshot 2024-09-12 at 4 20 12 PM

Tasklist

Related Issues

dan-homebrew commented 1 week ago

Merging into https://github.com/janhq/jan/issues/3385

dan-homebrew commented 1 week ago

@imtuyethan I am moving this issue into Sprint 20, as @urmauur may be able to get to it this sprint.

imtuyethan commented 6 days ago

^ Updated the description with new design @dan-homebrew

dan-homebrew commented 3 days ago
image
imtuyethan commented 2 days ago

Updated design: https://www.figma.com/design/DYfpMhf8qiSReKvYooBgDV/Jan-App-(3rd-version)?node-id=8124-71826&t=t7FOVtMEOSg7nFsJ-4

Screenshot 2024-09-17 at 8 28 10 AM

cc @dan-homebrew