merlyn/frontend
Sean Hatfield 0b18ac6577
Model context limit auto-detection for LM Studio and Ollama LLM Providers (#4468)
* auto model context limit detection for ollama llm provider

* auto model context limit detection for lmstudio llm provider

* Patch Ollama to function and sync context windows like Foundry

* normalize how model context windows are cached from endpoint service
todo: move this into global utility class with MODEL_MAP
eager load models on boot to pre-cache them
add performance model improvements into ollama agent as well as apply n_ctx

* remove debug log

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-10-02 11:54:19 -07:00
..
public Update embed (#3728) 2025-04-27 16:46:57 -07:00
scripts Enable editing and setting of meta-tag information (#1892) 2024-07-19 15:58:43 -07:00
src Model context limit auto-detection for LM Studio and Ollama LLM Providers (#4468) 2025-10-02 11:54:19 -07:00
.env.example chore: rename Github to GitHub (#3199) 2025-02-13 10:45:43 -08:00
.gitignore Icon Button Tooltips (#1451) 2024-05-18 23:29:23 -05:00
.nvmrc bump node version requirement 2023-06-08 10:29:17 -07:00
index.html Update references to new domain (#1916) 2024-07-22 11:05:34 -07:00
jsconfig.json [FEAT] Agent skills UI redesign (#1565) 2024-06-12 10:52:32 -07:00
package.json Mobile sync support (#4173) 2025-07-31 12:28:03 -07:00
postcss.config.js inital commit 2023-06-03 19:28:07 -07:00
tailwind.config.js Publish system prompts to hub (#3976) 2025-06-16 09:59:38 -07:00
vite.config.js Add piperTTS in-browser text-to-speech (#2052) 2024-08-07 11:09:51 -07:00
yarn.lock Mobile sync support (#4173) 2025-07-31 12:28:03 -07:00