janhq / jan

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer. Multiple engine support (llama.cpp, TensorRT-LLM)
https://jan.ai/
GNU Affero General Public License v3.0
23.74k stars 1.38k forks source link

fix: api local server max ctx len not update when switch model #4027

Closed urmauur closed 1 week ago

urmauur commented 1 week ago

Describe Your Changes

Issue when on local API server page Jan App, switch model not update max ctx-len

Fixes Issues

Screenshot 2024-11-15 at 15 20 10 Screenshot 2024-11-15 at 15 20 00

Self Checklist

github-actions[bot] commented 1 week ago

Barecheck - Code coverage report

Total: 69.22% Your code coverage diff: 0.00% ▴ ✅ All code changes are covered