Sets a custom directory path where OpenComic AI models are stored. This is useful when you want to manage models in a different location than the default.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ollm/opencomic-ai-bin/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Parameters
Absolute or relative path to the models directory. The path must exist or an error will be thrown.
Returns
void - This method does not return a value.
Behavior
- The path is resolved to an absolute path automatically
- Validates that the directory exists before setting
- Throws an error if the specified path does not exist
Example
Error handling
Related
- setDirname() - Configure the package root directory
- Model selection - Learn about available models