uncloseai.com/src
Russell Ballestrini 41ba59db1b use API-provided max completion tokens instead of hardcoding
Fetch and store maxCompletionTokens from models endpoint to respect
each model's specific output limits. This fixes 400 errors from
Groq models that have different completion limits than context windows.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 07:36:31 -04:00
..
languages fix syntax errors: remove double commas from translation files 2025-07-11 16:50:57 -04:00
chat.js implement proportional token buffer: use 1.5x input tokens instead of fixed 2048 2025-07-11 16:29:11 -04:00
config.js fix model endpoint routing: properly route custom endpoint models to custom API with correct credentials 2025-07-11 15:52:08 -04:00
content.js feat(ui): add comprehensive language localization system 2025-07-03 11:09:10 -04:00
file-upload.js fix: remove hardcoded English from alerts and pass errors verbatim 2025-07-10 22:45:19 -04:00
language-detection.js refactor: extract UI translations, themes, and language detection into separate modules 2025-07-03 12:12:30 -04:00
models.js use API-provided max completion tokens instead of hardcoding 2025-07-12 07:36:31 -04:00
page-reader.js fix: complete tooltip implementation and remove DOM status element 2025-07-10 20:04:25 -04:00
storage.js update src files with latest changes 2025-07-11 14:30:44 -04:00
token_estimator.js auto-detect and cache endpoints without tokenization support 2025-07-11 21:52:24 -04:00
translate-modal.js fix duplicate const declaration of getSelectedModel 2025-07-11 21:42:46 -04:00
translation.js use API-provided max completion tokens instead of hardcoding 2025-07-12 07:36:31 -04:00
tts-modal.js refactor: replace all inline styles with CSS classes for better maintainability 2025-07-09 21:32:55 -04:00
tts.js implement proportional token buffer: use 1.5x input tokens instead of fixed 2048 2025-07-11 16:29:11 -04:00
ui-themes.js fix: remove enforceModalTextColors function and set black text directly on textarea and dropdowns 2025-07-03 21:36:13 -04:00
ui-translations.js fix: connect UI refresh functions for complete auto-refresh support 2025-07-03 13:31:11 -04:00
ui.js fix ui.js buffer variable conflict: rename stream buffer to avoid redeclaration 2025-07-11 16:32:44 -04:00
uncloseai-embed-modal.js improve UX: close button closes settings panel first, then modal on second click 2025-07-11 16:16:48 -04:00
uncloseai-modal-builtin.css fix translate modal: 3 columns layout and always open remote translations in new window 2025-07-11 19:19:38 -04:00
uncloseai-modal-pico.css fix translate modal: 3 columns layout and always open remote translations in new window 2025-07-11 19:19:38 -04:00
widget-library.js fix translation title: add original title + translated into language to new window 2025-07-11 16:35:49 -04:00