mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-07-08 02:11:17 -03:00
- Parse limit.output from model catalog alongside model IDs for per-model max output token limits - Use catalog lookup in chat_completion_json() to set max_tokens; fall back to 4096 for unknown models (e.g. local Ollama) - Remove the JSON retry (response_format → plain text fallback); keep _try_salvage_json as last-resort for truncated responses - Reduce Ollama num_ctx from 32768 to 8192 (sufficient for metadata enrichment, saves VRAM) - Fix stale test comment referencing removed retry
8.0 KiB
8.0 KiB