addyosmani / chatty

ChattyUI - your private AI chat for running LLMs in the browser
https://chattyui.com
MIT License
497 stars 41 forks source link

support dynamic model overrides #50

Open mikestaub opened 3 months ago

mikestaub commented 3 months ago

As a user, I want to control the chat configuration dynamically.

Depending on the machine specs, the sliding_window_size and attention_sink_size may be needed to avoid a 'max window length exceeded' error for example.

Reference: https://github.com/mlc-ai/web-llm/blob/main/src/config.ts#L66