diff --git a/.env.example b/.env.example index 83f29aedc..46a21e892 100644 --- a/.env.example +++ b/.env.example @@ -43,6 +43,12 @@ OPENAI_LIKE_API_KEY= # You only need this environment variable set if you want to use Mistral models MISTRAL_API_KEY= + +# Get LMStudio Base URL from LM Studio Developer Console +# Make sure to enable CORS +# Example: http://localhost:1234 +LMSTUDIO_API_BASE_URL= + # Get your xAI API key # https://x.ai/api # You only need this environment variable set if you want to use xAI models diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index e91254a17..f33114739 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -49,6 +49,9 @@ const ModelSelector = ({ model, setModel, provider, setProvider, modelList, prov +