summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--htroot/AILab.html4
-rw-r--r--htroot/ToolsConfig_p.html (renamed from htroot/SkillsConfig_p.html)19
-rw-r--r--htroot/env/templates/submenuAI.template2
-rw-r--r--source/net/yacy/htroot/ToolsConfig_p.java (renamed from source/net/yacy/htroot/SkillsConfig_p.java)9
4 files changed, 15 insertions, 19 deletions
diff --git a/htroot/AILab.html b/htroot/AILab.html
index b3462048c..1b52b4817 100644
--- a/htroot/AILab.html
+++ b/htroot/AILab.html
@@ -318,14 +318,14 @@
<span class="meta-arrow" aria-hidden="true">→</span>
<span class="status-pill">Needs setup</span>
</div>
- <h3>Enable/Disable Sills</h3>
+ <h3>Enable/Disable Tools</h3>
<p>Superpowers for the YaCy Chat</p>
<div class="quest-body">
<div class="quest-visual">
<img src="env/grafics/AILab_Matrix.png" alt="Tools configuration" width="128" height="128" />
</div>
<div class="quest-actions">
- <a class="btn btn-info btn-sm" href="SkillsConfig_p.html">Open skills configuration</a><br />
+ <a class="btn btn-info btn-sm" href="ToolsConfig_p.html">Open tools configuration</a><br />
<span class="quest-note">Tune descriptions and set maxCallsPerTurn per tool (0 disables a tool).</span>
</div>
</div>
diff --git a/htroot/SkillsConfig_p.html b/htroot/ToolsConfig_p.html
index 3b8d5a52f..69f4f863a 100644
--- a/htroot/SkillsConfig_p.html
+++ b/htroot/ToolsConfig_p.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>YaCy '#[clientname]#': Skills Config</title>
+ <title>YaCy '#[clientname]#': Tools Config</title>
#%env/templates/metas.template%#
<style type="text/css">
.tool-card {
@@ -69,13 +69,12 @@
}
</style>
</head>
- <body id="SkillsConfig">
+ <body id="ToolsConfig">
#%env/templates/header.template%#
#%env/templates/submenuAI.template%#
- <h2>Skills</h2>
- <p>Add superpowers to the YaCy Chat. Skills may be disabled by setting maxCallsPerTurn to 0.</p>
- <!-- Technical naming note: internally these are called tools; in the user experience they are shown as skills. -->
+ <h2>Tools</h2>
+ <p>Add superpowers to the YaCy Chat. Tools may be disabled by setting maxCallsPerTurn to 0.</p>
#(status)#
::<div class="alert alert-success">Tool settings were saved.</div>
@@ -84,10 +83,10 @@
::<div class="alert alert-warning">#[status_invalidMaxCalls]# invalid maxCallsPerTurn value(s) were reset to the previous values.</div>
#(/status_hasInvalidMaxCalls)#
- <form action="SkillsConfig_p.html" method="post" accept-charset="UTF-8">
+ <form action="ToolsConfig_p.html" method="post" accept-charset="UTF-8">
<input type="hidden" name="save" value="1" />
- <h3>Basic Skills</h3>
+ <h3>Basic Tools</h3>
<div class="skills-grid">
#{basic_tools}#
<div class="tool-card">
@@ -104,7 +103,7 @@
#{/basic_tools}#
</div>
- <h3>Visualization Skills</h3>
+ <h3>Visualization Tools</h3>
<div class="skills-grid">
#{visualization_tools}#
<div class="tool-card">
@@ -121,7 +120,7 @@
#{/visualization_tools}#
</div>
- <h3>Data Retrieval Skills</h3>
+ <h3>Data Retrieval Tools</h3>
<div class="skills-grid">
#{retrieval_tools}#
<div class="tool-card">
@@ -137,7 +136,7 @@
</div>
#{/retrieval_tools}#
</div>
- <button type="submit" class="btn btn-primary">Save Skills Configuration</button>
+ <button type="submit" class="btn btn-primary">Save Tools Configuration</button>
</form>
<script type="text/javascript">
diff --git a/htroot/env/templates/submenuAI.template b/htroot/env/templates/submenuAI.template
index 22e67ad6a..8265b9ff0 100644
--- a/htroot/env/templates/submenuAI.template
+++ b/htroot/env/templates/submenuAI.template
@@ -4,7 +4,7 @@
<li><a href="AILab.html" class="MenuItemLink">AI Lab</a></li>
<li><a href="LLMSelection_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">LLM Selection</a></li>
<li><a href="RAGConfig_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">RAG Config</a></li>
- <li><a href="SkillsConfig_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Skills Config</a></li>
+ <li><a href="ToolsConfig_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Tools Config</a></li>
<li><a href="AIShield_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">AI Shield</a></li>
<li><a href="yacychat.html" class="MenuItemLink">Chat</a></li>
</ul>
diff --git a/source/net/yacy/htroot/SkillsConfig_p.java b/source/net/yacy/htroot/ToolsConfig_p.java
index 11e1adea9..7ba746507 100644
--- a/source/net/yacy/htroot/SkillsConfig_p.java
+++ b/source/net/yacy/htroot/ToolsConfig_p.java
@@ -1,5 +1,5 @@
/**
- * SkillsConfig_p
+ * ToolsConfig_p
* Copyright 2026 by Michael Peter Christen
* First released 08.02.2026 at https://yacy.net
*
@@ -29,7 +29,7 @@ import net.yacy.search.Switchboard;
import net.yacy.server.serverObjects;
import net.yacy.server.serverSwitch;
-public class SkillsConfig_p {
+public class ToolsConfig_p {
private static final String CONFIG_PREFIX = "ai.tools.";
private static final String DESCRIPTION_SUFFIX = ".description";
@@ -38,6 +38,7 @@ public class SkillsConfig_p {
public static serverObjects respond(@SuppressWarnings("unused") final RequestHeader header, final serverObjects post, final serverSwitch env) {
final Switchboard sb = (Switchboard) env;
final serverObjects prop = new serverObjects();
+ sb.setConfig("ui.ToolsConfig_p.visited", "true");
sb.setConfig("ui.SkillsConfig_p.visited", "true");
int invalidMaxCalls = 0;
@@ -72,10 +73,6 @@ public class SkillsConfig_p {
return prop;
}
- /*
- * Naming note: internally these are called "tools", but in the UI we call
- * them "skills". Both terms refer to the same feature set.
- */
private static void putToolGroup(final serverObjects prop, final String keyPrefix, final List<ToolConfig> tools) {
int row = 0;
for (final ToolConfig tool : tools) {