60 Commits

Author SHA1 Message Date
Llama Enjoyer
531c688eeb Make DRY sampling affected by the 'App defaults' button 2025-02-05 21:24:22 +01:00
Llama Enjoyer
5e669e491d feat: Improve model search and add debouncing
- Refined model search box appearance:
  - Set width and adjusted padding.
  - Added space for clear button.
- Added debouncing to model search input for performance optimization.
- Automatically set model name based on directory when creating new models.
- Added general-purpose debounce utility function.
2025-02-05 11:02:27 +01:00
turboderp
6906b144ee Adjust layout 2025-02-04 22:01:47 +01:00
turboderp
ce57e81982 Add DRY settings in chat mode 2025-02-04 22:01:10 +01:00
turboderp
42e4e871e0 Merge remote-tracking branch 'LlamaEnjoyer/read_sampling_params_from_model_config' 2025-02-04 21:23:48 +01:00
turboderp
dd48d472f1 Handle escape key in model search box 2025-02-04 21:20:51 +01:00
Llama Enjoyer
dfe827b864 minor css cleanup 2025-02-04 13:51:08 +01:00
Llama Enjoyer
8a08bd5580 minor css cleanup 2025-02-04 13:39:04 +01:00
Llama Enjoyer
664fb57fa2 fix: don't show the token counter if no model loaded 2025-02-02 22:28:04 +01:00
Llama Enjoyer
477c0ae2ac feat: add token counter and model search
Added /api/count_tokens endpoint to count tokens using model tokenizer
Implemented token counter in chat UI
Added model search functionality
Updated .gitignore to include .vscode/
2025-02-02 11:15:02 +01:00
Llama Enjoyer
8524c8cc43 feat: Add model parameter management and UI controls
Add support for reading generation_config.json for model parameters
Implement model_loaded_callback for parameter updates
Add UI controls to switch between model and app defaults
Add visual highlighting for modified parameters
Add new API endpoints for parameter management
Improve session handling of model parameters
Update UI styling for parameter controls
2025-02-01 00:01:13 +01:00
turboderp
f4d9478812 Merge pull request #64 from Downtown-Case/master
Add DRY and Banned Strings to Notepad
2025-01-24 20:28:43 +01:00
Llama Enjoyer
1f1de65b0d Merge branch 'more_qol_features' into qol_tweaks 2025-01-24 08:39:51 +01:00
Llama Enjoyer
3e0f293e94 Add cancel button to model loading overlay 2025-01-24 08:39:02 +01:00
Llama Enjoyer
7c577b448f Add auto session naming and context tracking qol features. 2025-01-14 22:51:05 +01:00
Downtown-Case
729ebb933a Add DRY and Banned Strings 2024-09-28 02:24:10 -04:00
Llama Enjoyer
6b55c54e00 Add option to copy block of text to clipboard. 2024-09-22 11:57:42 +02:00
turboderp
0d58ca8b31 Add switch to enable TP mode 2024-08-30 20:55:09 +02:00
turboderp
396a56f037 Add Q6 and Q8 cache modes 2024-06-09 21:56:20 +02:00
turboderp
a529749be0 Include MarkedJS 2024-06-01 15:08:22 +02:00
turboderp
81d9638a8f Raise maximum min/max/chunk tokens to 8k 2024-05-17 09:06:44 +02:00
turboderp
73d63761bf Add min tokens and banned strings 2024-05-11 23:21:05 +02:00
turboderp
86b6352461 ctrl+enter shortcut to regenerate last response 2024-03-27 06:55:53 +01:00
turboderp
2a23cb83f0 Add context options: delete-from-here, regenerate, complete 2024-03-27 06:46:24 +01:00
turboderp
a04c201ea8 Add save button to code blocks. 2024-03-26 05:28:25 +01:00
turboderp
84be9a4b4f Escape HTML in user blocks 2024-03-26 04:57:19 +01:00
turboderp
94ba8817d2 Prevent HTML tags from rendering in code blocks 2024-03-26 04:47:36 +01:00
turboderp
0911e76500 Allow abort during prefill 2024-03-20 05:42:47 +01:00
turboderp
8a55747fd8 Add ngram decode setting 2024-03-14 13:08:18 +01:00
turboderp
95acbfed94 Tweak layout 2024-03-08 21:55:55 +01:00
turboderp
75cc4cee4f Add copy button to code blocks 2024-03-08 21:50:31 +01:00
turboderp
adbbe3c04c Add Q4 cache option 2024-03-08 00:14:18 +01:00
turboderp
2d21044cdb Enable spellcheck in notepad mode 2024-03-03 00:26:45 +01:00
turboderp
787e1cf930 Add skew sampling 2024-03-03 00:23:04 +01:00
turboderp
d6a1e3c482 Add quad sampling and temp last options 2024-02-22 20:53:11 +01:00
turboderp
97cf80d9c1 Add Gemma prompt format 2024-02-22 14:20:10 +01:00
turboderp
9d9702e5f4 Add OpenChat prompt format 2024-02-16 23:29:28 +01:00
turboderp
b2454b2231 Remove paste event handler in notepad mode 2024-01-17 07:59:19 +01:00
turboderp
b13e3f2e80 Adjust model page layout 2023-11-26 10:01:32 +01:00
turboderp
c0fffcdf01 Partial updates for token view to speed up very long contexts 2023-11-19 11:00:59 +01:00
turboderp
115f6c2abe Prevent generating with no context, 2023-11-18 08:57:05 +01:00
turboderp
a692269cc1 Add notepad mode 2023-11-18 07:10:35 +01:00
turboderp
29ba6c6faf Notepad initial commit (not functional) 2023-11-16 10:58:13 +01:00
turboderp
d49a508130 Style checkboxes 2023-11-15 01:25:36 +01:00
turboderp
4d5ea87962 Style checkboxes 2023-11-15 01:23:24 +01:00
turboderp
61a47cd06d Fix checkbox in bold theme 2023-11-14 11:40:29 +01:00
turboderp
da403bc7a4 Rework chat history logic 2023-11-13 09:17:36 +01:00
turboderp
9ee67745d9 Add new samplers 2023-11-12 06:50:05 +01:00
turboderp
46c0a8a909 Fix bold theme 2023-11-07 22:26:43 +01:00
turboderp
c86dc65584 Fix display of num_hidden_layers 2023-11-07 20:05:17 +01:00