mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-07-06 17:31:16 -03:00
fix(agent): call _format_base_models via self. to prevent NameError
The bare call inside _build_prompt_context would raise NameError because class methods don't close over class-level scope. Use instead to trigger attribute lookup. Update enrich_hf_metadata prompt.md clue locations for better LLM accuracy. Update baseline report to v2 (mean 69.0, 46 models, +2.2pp vs baseline 71.1%). Consolidate README snapshots into baselines/readmes/.
This commit is contained in:
@@ -416,7 +416,7 @@ class AgentService:
|
||||
|
||||
try:
|
||||
raw_models = await list_base_models()
|
||||
context["base_models"] = _format_base_models(raw_models)
|
||||
context["base_models"] = self._format_base_models(raw_models)
|
||||
except Exception as exc:
|
||||
logger.debug("Failed to list base models: %s", exc)
|
||||
context["base_models"] = "</not available>"
|
||||
|
||||
Reference in New Issue
Block a user