mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
feat: add setting to include trigger words in LoRA syntax, update UI and functionality, fixes #268
This commit is contained in:
@@ -555,12 +555,6 @@ export class BaseModelApiClient {
|
||||
|
||||
async fetchModelRoots() {
|
||||
try {
|
||||
// For checkpoints, use the specific method that considers modelType
|
||||
// if (this.modelType === 'checkpoints') {
|
||||
// const pageState = this.getPageState();
|
||||
// return await this.fetchModelRoots(pageState.modelType || 'checkpoint');
|
||||
// }
|
||||
|
||||
const response = await fetch(this.apiConfig.endpoints.roots);
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to fetch ${this.apiConfig.config.displayName} roots`);
|
||||
|
||||
Reference in New Issue
Block a user