Updated the README to include OpenRouter support alongside GPT and Claude. Added functionality in `llm_aio.py` to fetch and cache models from OpenRouter and OpenAI, improving model retrieval efficiency. This change enhances user experience by providing live model updates and reducing API calls.
14 lines
530 B
JavaScript
14 lines
530 B
JavaScript
/* Entry point for all web components */
|
|
// Dynamically inject oshtz-nodes CSS
|
|
const oshtzCssUrl = "/extensions/ComfyUI-oshtz-nodes/css/oshtz-nodes.css";
|
|
const link = document.createElement("link");
|
|
link.rel = "stylesheet";
|
|
link.href = oshtzCssUrl;
|
|
link.type = "text/css";
|
|
link.onload = () => console.log("[oshtz-nodes] CSS loaded:", oshtzCssUrl);
|
|
link.onerror = (e) => console.error("[oshtz-nodes] Failed to load CSS:", oshtzCssUrl, e);
|
|
document.head.appendChild(link);
|
|
|
|
import "./js/lora_switcher.js";
|
|
import "./js/llm_aio.js";
|