Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy model switch #210

Merged
merged 30 commits into from
Aug 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
28688fc
model loader external interface changes
noxware Aug 5, 2024
9832f1d
simplify model loader unused error
noxware Aug 5, 2024
ed529c2
allow model loader to be used from other threads
noxware Aug 6, 2024
cd8dbc0
allow model loader to work without file details
noxware Aug 6, 2024
f470215
have access to unloded models when sending messages
noxware Aug 6, 2024
0d829c2
load model when sending message
noxware Aug 6, 2024
c3304d7
save used model immediately
noxware Aug 6, 2024
ac8f590
unused declarations
noxware Aug 6, 2024
62321cf
do not load model on chat change
noxware Aug 6, 2024
54724b1
display chat last used model
noxware Aug 8, 2024
2125fa5
grey out unloaded model
noxware Aug 8, 2024
fe9b454
on model change, record used model but don't load it
noxware Aug 8, 2024
4fa7879
blocking loading and nice error reporting
noxware Aug 9, 2024
078672f
details
noxware Aug 9, 2024
cba8bd6
more imperative update_selected_model_info
noxware Aug 12, 2024
7f83e82
remove unused model loader error wrapper
noxware Aug 12, 2024
b7c0a08
rename model loader load funcs
noxware Aug 12, 2024
a67e23b
revert some borrowing changes
noxware Aug 12, 2024
7dc8971
extract `hex_rgb_color` fn to utils
noxware Aug 12, 2024
2d0dd6e
fix - default to loaded model when no model in chat
noxware Aug 12, 2024
c6f59f6
extract fallback logic of the previous fix
noxware Aug 13, 2024
483c348
restore load model on selector change
noxware Aug 13, 2024
f1865ea
fix - refcell borrow crash when referenced file deleted
noxware Aug 13, 2024
7a69f74
remove "resume chat" visuals
noxware Aug 13, 2024
a0d50bd
show always "chat with model" in downloads table
noxware Aug 13, 2024
ab90163
show always "chat with model" in discover
noxware Aug 13, 2024
b5bfedd
set last used model when clicking "chat with model"
noxware Aug 13, 2024
323018f
optimized always set last used model when load is called
noxware Aug 13, 2024
e2a27af
remove leftover reference to play_arrow.svg
noxware Aug 14, 2024
c9947d0
Merge pull request #216 from moxin-org/remove-resume-chat
jmbejar Aug 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove leftover reference to play_arrow.svg
noxware committed Aug 14, 2024
commit e2a27afc15d8ae357a43c929851fd6b94e222750
1 change: 0 additions & 1 deletion src/my_models/downloaded_files_row.rs
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ live_design! {
import crate::my_models::delete_model_modal::DeleteModelModal;

ICON_START_CHAT = dep("crate://self/resources/icons/start_chat.svg")
ICON_PLAY = dep("crate://self/resources/icons/play_arrow.svg")
ICON_INFO = dep("crate://self/resources/icons/info.svg")
ICON_DELETE = dep("crate://self/resources/icons/delete.svg")
MODEL_CTA_COLOR = #127487