mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-05 18:40:50 +00:00
fixed finding model libs
This commit is contained in:
@@ -177,6 +177,20 @@ void llmodel_setThreadCount(llmodel_model model, int32_t n_threads);
|
||||
*/
|
||||
int32_t llmodel_threadCount(llmodel_model model);
|
||||
|
||||
/**
|
||||
* Set llmodel implementation search path.
|
||||
* Default is "."
|
||||
* @param path The path to the llmodel implementation shared objects.
|
||||
*/
|
||||
void llmodel_set_implementation_search_path(const char *path);
|
||||
|
||||
/**
|
||||
* Get llmodel implementation search path.
|
||||
* @return The current search path; lifetime ends on next set llmodel_set_implementation_search_path() call.
|
||||
*/
|
||||
const char *llmodel_get_implementation_search_path();
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user