nst query = new URLSearchParams(location.search).get("q");
        if (query) chat(query);
      }, []);

      return html`
        <div class="mode-${session.value.type}">
          <header>
            <div class="grid-container">
              <div class="grid-item"></div>
              <div class="grid-item"><h1>llama.cpp</h1></div>
              <div class="grid-item"><a class="customlink" href="index-new.html">New UI</a></div>
            </div>
          </header>

          <main id="