llm_meta_widget 0.8.0 → 0.8.1
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 +4 -4
- data/README.md +11 -1
- data/lib/llm_meta_widget/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f2938c7c0624169deea0320e4e0805c55555febd2eacbfb31be883dcb51b204
|
|
4
|
+
data.tar.gz: 4fc357cf41c9f420272babb65d9f85bf7eef3d7ea7f992de94f173ce0dba92df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c297b01c8588c9cdeafd6f58ba7b8f3c8898178c0110ed4d86403ee214e4fdb79023ed1622c037ba13ab4450d46e2bd1803391faf6f89187b208e67633ec73c7
|
|
7
|
+
data.tar.gz: da4ece5000dde3ce73b709a1648a01844d7c2b60ceef35c723e950ed2395dc85d018f24f2193f2f21a47eea5eeaf49c4b6c0f14c93d4717cfcdabf27896bd45c
|
data/README.md
CHANGED
|
@@ -124,7 +124,7 @@ that is not Rails needs no gem, no template engine and no asset pipeline — two
|
|
|
124
124
|
lines of HTML:
|
|
125
125
|
|
|
126
126
|
```html
|
|
127
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/@aibranch/llm-meta-widget@0.
|
|
127
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aibranch/llm-meta-widget@0.8"></script>
|
|
128
128
|
<llm-meta-widget llm-url="https://your-meta-server.example"
|
|
129
129
|
model="qwen3-6-35b-fast"
|
|
130
130
|
greeting="Hi — ask me anything about this page."></llm-meta-widget>
|
|
@@ -135,6 +135,16 @@ instead of ERB. Both produce the same widget, so the advice in that section
|
|
|
135
135
|
— CORS, a reachable `llm_url`, the hub's name for the model — applies here
|
|
136
136
|
too.
|
|
137
137
|
|
|
138
|
+
**`@0.8` is a range, and it stops at 0.8.x on purpose.** You get patches without
|
|
139
|
+
touching your page, and you do not get a breaking release by surprise. The cost
|
|
140
|
+
is that moving to 0.9 is a deliberate edit: read [CHANGELOG.md](CHANGELOG.md)
|
|
141
|
+
first, because a major-or-minor bump here is where the page's own contract can
|
|
142
|
+
change — 0.8.0 changed the shape of `window.aiState`, and a page that followed
|
|
143
|
+
the new documentation while still loading `@0.7` would have had every state
|
|
144
|
+
value silently replaced by an error string. Rails hosts are protected from that
|
|
145
|
+
mismatch by the Gemfile constraint; a CDN embed has no such guard, so the
|
|
146
|
+
version in that URL is the guard.
|
|
147
|
+
|
|
138
148
|
Nothing else is needed: the stylesheets and the markdown renderer are bundled
|
|
139
149
|
in, and the element injects its own styles. The host serves no CSS and no JS.
|
|
140
150
|
|