summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_tools/ai-summary.js6
-rw-r--r--humans.txt11
-rw-r--r--llms.txt3
3 files changed, 11 insertions, 9 deletions
diff --git a/_tools/ai-summary.js b/_tools/ai-summary.js
index 2284418..bd8bbfb 100644
--- a/_tools/ai-summary.js
+++ b/_tools/ai-summary.js
@@ -98,7 +98,7 @@ export default {
{ role: "user", content: questsion }
]
- const answer = await env.AI.run('@cf/google/gemma-3-12b-it', {
+ const answer = await env.AI.run('@cf/meta/llama-4-scout-17b-16e-instruct', {
messages,
stream: true,
});
@@ -175,7 +175,7 @@ export default {
}
]
- const stream = await env.AI.run('@cf/google/gemma-3-12b-it', {
+ const stream = await env.AI.run('@cf/meta/llama-4-scout-17b-16e-instruct', {
messages,
stream: true,
});
@@ -235,7 +235,7 @@ export default {
}
]
- const answer = await env.AI.run('@cf/google/gemma-3-12b-it', {
+ const answer = await env.AI.run('@cf/meta/llama-4-scout-17b-16e-instruct', {
messages,
stream: false,
});
diff --git a/humans.txt b/humans.txt
index d235ff1..4f13d2b 100644
--- a/humans.txt
+++ b/humans.txt
@@ -2,10 +2,13 @@
---
/* AUTHOR */
- Name: Mayx
- Contact: mayx@outlook.com
- GitHub: Mabbs
- From: China
+ Name: Mayx
+ Contact: mayx@outlook.com
+ GitHub: Mabbs
+ From: China
+
+/* THANKS */
+ Built with: Jekyll (https://jekyllrb.com)
/* SITE */
Last update: {{ site.time | date: "%F" }}
diff --git a/llms.txt b/llms.txt
index d0db157..60e8492 100644
--- a/llms.txt
+++ b/llms.txt
@@ -6,5 +6,4 @@
## Posts:
{% for post in site.posts %}
-- [{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}]({{ post.url }}): {% assign ai_cache = site.data.ai-cache[post.url] %}{% if ai_cache %}{{ ai_cache | strip_html }}{% elsif post.excerpt %}{{ post.excerpt | strip_html }}{% else %}Just a Post.{% endif %}
-{% endfor %} \ No newline at end of file
+- [{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}]({{ post.url }}): {% assign ai_cache = site.data.ai-cache[post.url] %}{% if ai_cache %}{{ ai_cache | strip_html | strip_newlines }}{% elsif post.excerpt %}{{ post.excerpt | strip_html | strip_newlines }}{% else %}Just a Post.{% endif %}{% endfor %} \ No newline at end of file