jackschedel / KoalaClient

The best LLM API Playground Interface (for me)
https://client.koaladev.io/
Creative Commons Zero v1.0 Universal
26 stars 8 forks source link

Model config fix #80

Closed cheeseonamonkey closed 10 months ago

cheeseonamonkey commented 10 months ago

Fixes this bug:

Bug - Using the new ModelSelect in the top bar allows settings to be above maximum

Reproduction steps:

  1. Change the model to turbo-16k
  2. raise the max_token above 4,000
  3. Change the model back to turbo-16k
  4. Notice:
    • the value now is above the maximum
    • sending the message will cause an error
jackschedel commented 10 months ago

Thanks for the PR.