2587fcf050
fix translation title: add original title + translated into language to new window
2025-07-11 16:35:49 -04:00
5477c2d6a5
fix ui.js buffer variable conflict: rename stream buffer to avoid redeclaration
2025-07-11 16:32:44 -04:00
10de872c6c
fix variable conflict: rename stream buffer to avoid const redeclaration error
2025-07-11 16:31:17 -04:00
54f05b0af0
implement proportional token buffer: use 1.5x input tokens instead of fixed 2048
2025-07-11 16:29:11 -04:00
21349b9fcc
fix openTranslateModal error: use window.openTranslateModal and remove duplicate import
2025-07-11 16:25:54 -04:00
a991ca4626
improve UX: close button closes settings panel first, then modal on second click
2025-07-11 16:16:48 -04:00
f304b6f634
standardize modal dropdown ID: use 'modal-model-selection' consistently
2025-07-11 15:56:44 -04:00
f939d1c782
fix model endpoint routing: properly route custom endpoint models to custom API with correct credentials
2025-07-11 15:52:08 -04:00
047d1e7856
add debug logging to track custom endpoint detection issue
2025-07-11 15:41:49 -04:00
559dd59522
fix CI pipeline: handle JSDOM dependency gracefully for modal tests
2025-07-11 15:39:08 -04:00
04e7e71e2e
fix model refresh: include custom endpoint in model fetching when checkbox is checked regardless of current model routing
2025-07-11 15:36:23 -04:00
8b0fe6d2ac
apply 2048 token buffer to all upstream API requests: translation and TTS now calculate available tokens properly
2025-07-11 15:25:02 -04:00
3a4952087d
increase token buffer to 2048 for safer margin
2025-07-11 15:15:23 -04:00
96f8edc2e7
fix token limit calculation: use available tokens instead of model max to prevent context overflow
2025-07-11 15:04:29 -04:00
f7ddf32fff
track package-lock.json for reproducible builds
2025-07-11 14:59:05 -04:00
cc03367fb1
update gitignore: add node_modules and package-lock.json
2025-07-11 14:58:29 -04:00
527fbfad1b
remove jest dependencies and old test files: clean migration to custom test framework
2025-07-11 14:57:22 -04:00
133daabd77
add jest-free testing framework: comprehensive integration, modal, and simple test suites with improved error handling
2025-07-11 14:56:57 -04:00
ca9c994bfe
fix model endpoint routing: use model's registered endpoint over custom when available, add page title to translate modal tab
2025-07-11 14:56:02 -04:00
2363944fa6
update src files with latest changes
2025-07-11 14:30:44 -04:00
affa6f5ca8
modified: journal.rst
2025-07-11 07:28:18 -04:00
595ac0a597
add model count feedback to refresh button: shows loading state and final count
2025-07-11 01:24:01 -04:00
cd218cc4a1
fix refresh models button: include custom API config in cache key to properly bust cache
2025-07-11 01:08:57 -04:00
02e614d733
add detailed logging for custom API model fetching to debug blog site issue
2025-07-11 01:05:35 -04:00
0af7efc863
fix model selection: add missing ID to modal model dropdown
2025-07-11 00:37:02 -04:00
525c4c315f
add debug logging to getSelectedModel to trace model selection issue
2025-07-11 00:34:03 -04:00
98592efb8d
Revert "fix model mismatch: validate selected model exists on custom API, fallback to default if not"
...
This reverts commit f4f6ae6a9c .
2025-07-11 00:32:45 -04:00
f4f6ae6a9c
fix model mismatch: validate selected model exists on custom API, fallback to default if not
2025-07-11 00:31:52 -04:00
fd4cf9684b
add dynamic max_tokens to all chat functions: regular chat, custom history, and intro generation
2025-07-11 00:27:28 -04:00
1b571b4ed6
add dynamic max_tokens support: capture from /v1/models API and use in translation
2025-07-11 00:24:33 -04:00
461194ee83
use base URL as endpoint ID and remove model name input field - models now selected from dropdown
2025-07-11 00:14:51 -04:00
81a4062b19
fix custom API models registry: use endpointsToFetch instead of VLLM_ENDPOINTS for lookup
2025-07-11 00:11:14 -04:00
c96a09c1f1
add custom API models to refresh: fetch /v1/models from custom endpoint when configured
2025-07-11 00:09:05 -04:00
dc95e4c535
add !important to grid styles in PicoCSS override to force 2-column layout
2025-07-11 00:05:48 -04:00
35157b052b
revert dynamic import: put getAPIConfig back to static import
2025-07-11 00:03:57 -04:00
be508bcfb1
fix module caching issue: dynamically import getAPIConfig in ui.js to prevent blog site button failure
2025-07-11 00:02:45 -04:00
e9a1acf546
add detailed error logging for API failures to help debug custom endpoint issues
2025-07-10 23:52:25 -04:00
83c6ac9a2c
patch all API calls: translate and intro generation now use custom API when configured
2025-07-10 23:50:20 -04:00
4259e6774c
add console logging to verify custom API configuration is working
2025-07-10 23:42:23 -04:00
96082cf750
implement custom API endpoint support: centralized config function intercepts all chat API calls
2025-07-10 23:38:05 -04:00
8560ea43ce
update useCustomAPI translations across all languages
2025-07-10 23:34:32 -04:00
d557ffcfbe
remove labels from API configuration inputs and update placeholders
2025-07-10 23:28:48 -04:00
ebc574db25
remove unused translation keys from all language files
2025-07-10 23:21:03 -04:00
2284c4e7cb
remove section labels from settings panel for cleaner UI
2025-07-10 23:16:44 -04:00
0c6277536c
add mobile responsive override for settings grid to stack on small screens
2025-07-10 23:12:37 -04:00
d12428c267
restructure settings panel with two columns and add model name field to API config
2025-07-10 23:09:47 -04:00
10c5352739
move quick actions to top of settings panel
2025-07-10 23:06:51 -04:00
68b2c85966
add API configuration UI to settings panel with grid layout
2025-07-10 23:04:55 -04:00
988349b67e
fix: remove hardcoded English from alerts and pass errors verbatim
...
- Replace English wrapper text in error alerts with direct error.message
- Use existing translation keys where available (pleaseEnterTranslateText, pleaseSelectFile)
- Remove unnecessary alerts for modal failures and operation errors
- All error messages now passed through verbatim without English text
2025-07-10 22:45:19 -04:00
f87f59c194
fix: reset heading styles to prevent blog site CSS interference
...
- Add CSS rules to reset all padding and margin for h1-h6 inside our modals
- Prevents blog site heading styles like 'padding-top: 30px' from breaking modal layouts
- Applied to all three modals: uncloseai-embedded-modal, tts-modal, translate-modal
2025-07-10 22:20:50 -04:00