-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
When SlideDeck AI is run in offline mode, the Ollama model name has to be specified manually. An optional default model name may be provided to improve the user experience.
Introduce a new environment variable, DEFAULT_OFFLINE_MODEL_NAME
. In the application, under the RUN_IN_OFFLINE_MODE
block, add new code to retrieve the value of the env variable and, if defined or not empty, set the model name.
Tests
With default model name
- Set
DEFAULT_OFFLINE_MODEL_NAME=gemma3:1b
in.env
. - Run the app in offline mode.
- The default model name should be visible in the app.
- Create a PPT with text inputs to verify that it's working.
Without default model name
- Remove
DEFAULT_OFFLINE_MODEL_NAME
from.env
. - Run the app in offline mode.
- No default model name should be visible in the app.
- Set
gemma3:1b
as the model name. - Create a PPT with text inputs to verify that it's working.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers