From 2c7cef2024c201fa9c7c406954121de337071689 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 9 Nov 2026 20:53:17 +0100 Subject: chore: GPLv2-only license, docs and source headers --- static/modules/llm.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'static/modules/llm.js') diff --git a/static/modules/llm.js b/static/modules/llm.js index 1465a30..22f8737 100644 --- a/static/modules/llm.js +++ b/static/modules/llm.js @@ -1,3 +1,19 @@ +// deck-it - llm panel +// Copyright (C) 2026 Danilo M. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License version 2 as +// published by the Free Software Foundation. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + const num = (v) => (v == null ? null : Number(v)); const money = (v) => (num(v) == null ? "—" : `$${num(v).toFixed(2)}`); const tokens = (n) => { -- cgit v1.2.3