llm_meta_widget 0.8.2 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a3adfcaccf5824c1c15fc457ee01716fa1df373d21f4734b68096ef08effed1
|
|
4
|
+
data.tar.gz: 22c9d53cbfed853404279136f90da67410608c1f87d9a076c999813481965d9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96a6c2e40b6477807230de39d3eb02668353ec1c29d9155ff083d3e2afdd5149ce58a5199d2d912e1f311d87be3d6c4cd1c2c67d5f5c7e36f32b967a2b80f567
|
|
7
|
+
data.tar.gz: ca5587496e4b076f9cb0215f61573d09f26a6068a8c0377b4bc4e542577223c94d0f87a9ac81fcb7d3afff484ed88df8aadec2038ec3b909e9e579527bdf82c2
|
|
@@ -42,7 +42,10 @@ const MARKUP = `
|
|
|
42
42
|
|
|
43
43
|
<div id="llm-meta-widget-chat" class="llm-meta-conversation">
|
|
44
44
|
<div class="lmw-header">
|
|
45
|
-
<span class="lmw-title">
|
|
45
|
+
<span class="lmw-title-group">
|
|
46
|
+
<span class="lmw-title">AI assistant</span>
|
|
47
|
+
<span class="lmw-powered">(powered by <a href="https://chat.aibranch.org/" target="_blank" rel="noopener noreferrer">AIbranch</a>)</span>
|
|
48
|
+
</span>
|
|
46
49
|
<div class="lmw-header-right">
|
|
47
50
|
<button type="button" class="lmw-clear" title="Clear conversation">clear</button>
|
|
48
51
|
<button type="button" class="lmw-hide" title="Hide">−</button>
|
|
@@ -3272,6 +3272,21 @@ var panel_default = `/* The chat panel's own styles. Extracted from _chat_panel.
|
|
|
3272
3272
|
}
|
|
3273
3273
|
#llm-meta-widget-chat .lmw-title { font-weight: 600; color: #1f2937; }
|
|
3274
3274
|
|
|
3275
|
+
/* Attribution back to the service that answers these chats. The header is
|
|
3276
|
+
* \`space-between\` with two children, so the title and the link travel
|
|
3277
|
+
* together in one group \u2014 otherwise the link lands in the middle of the
|
|
3278
|
+
* bar, visually detached from the title it qualifies. */
|
|
3279
|
+
#llm-meta-widget-chat .lmw-title-group {
|
|
3280
|
+
display: flex; align-items: baseline; gap: 6px; min-width: 0;
|
|
3281
|
+
}
|
|
3282
|
+
/* The wrapper is plain text; only the service NAME is clickable, so the
|
|
3283
|
+
* link target is the word a reader would aim at. */
|
|
3284
|
+
#llm-meta-widget-chat .lmw-powered {
|
|
3285
|
+
font-size: 11px; color: #6b7280; white-space: nowrap;
|
|
3286
|
+
}
|
|
3287
|
+
#llm-meta-widget-chat .lmw-powered a { color: inherit; text-decoration: underline; }
|
|
3288
|
+
#llm-meta-widget-chat .lmw-powered a:hover { color: #2563eb; }
|
|
3289
|
+
|
|
3275
3290
|
/* Level-1 model picker \u2014 compact <select> next to the title.
|
|
3276
3291
|
* Populated by JS on widget open from GET /api/llms (anon path
|
|
3277
3292
|
* returns Ollama-only). Hidden entirely if enable_model_picker
|
|
@@ -3557,7 +3572,10 @@ var MARKUP = `
|
|
|
3557
3572
|
|
|
3558
3573
|
<div id="llm-meta-widget-chat" class="llm-meta-conversation">
|
|
3559
3574
|
<div class="lmw-header">
|
|
3560
|
-
<span class="lmw-title">
|
|
3575
|
+
<span class="lmw-title-group">
|
|
3576
|
+
<span class="lmw-title">AI assistant</span>
|
|
3577
|
+
<span class="lmw-powered">(powered by <a href="https://chat.aibranch.org/" target="_blank" rel="noopener noreferrer">AIbranch</a>)</span>
|
|
3578
|
+
</span>
|
|
3561
3579
|
<div class="lmw-header-right">
|
|
3562
3580
|
<button type="button" class="lmw-clear" title="Clear conversation">clear</button>
|
|
3563
3581
|
<button type="button" class="lmw-hide" title="Hide">\u2212</button>
|
|
@@ -89,6 +89,21 @@
|
|
|
89
89
|
}
|
|
90
90
|
#llm-meta-widget-chat .lmw-title { font-weight: 600; color: #1f2937; }
|
|
91
91
|
|
|
92
|
+
/* Attribution back to the service that answers these chats. The header is
|
|
93
|
+
* `space-between` with two children, so the title and the link travel
|
|
94
|
+
* together in one group — otherwise the link lands in the middle of the
|
|
95
|
+
* bar, visually detached from the title it qualifies. */
|
|
96
|
+
#llm-meta-widget-chat .lmw-title-group {
|
|
97
|
+
display: flex; align-items: baseline; gap: 6px; min-width: 0;
|
|
98
|
+
}
|
|
99
|
+
/* The wrapper is plain text; only the service NAME is clickable, so the
|
|
100
|
+
* link target is the word a reader would aim at. */
|
|
101
|
+
#llm-meta-widget-chat .lmw-powered {
|
|
102
|
+
font-size: 11px; color: #6b7280; white-space: nowrap;
|
|
103
|
+
}
|
|
104
|
+
#llm-meta-widget-chat .lmw-powered a { color: inherit; text-decoration: underline; }
|
|
105
|
+
#llm-meta-widget-chat .lmw-powered a:hover { color: #2563eb; }
|
|
106
|
+
|
|
92
107
|
/* Level-1 model picker — compact <select> next to the title.
|
|
93
108
|
* Populated by JS on widget open from GET /api/llms (anon path
|
|
94
109
|
* returns Ollama-only). Hidden entirely if enable_model_picker
|