openloops 0.7.5 → 0.7.6
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.
|
@@ -154,7 +154,7 @@ async function fetchUrl(value, signal) {
|
|
|
154
154
|
}
|
|
155
155
|
const fetchUrlTool = new import_tool.Tool({
|
|
156
156
|
name: "fetch_url",
|
|
157
|
-
description: "Fetch a
|
|
157
|
+
description: "Fetch a URL (GET) and return its content as text. Prefer plain text or JSON sources that need no key (a public API you know) over regular web pages, which are long and noisy; if you know none, search instead of guessing. No JavaScript: pages built in the browser come back empty, so tell the user instead of retrying. No login, cookies, anti-bot, PDFs or private addresses. Long content is truncated.",
|
|
158
158
|
destructive: false,
|
|
159
159
|
notice: NOTICE,
|
|
160
160
|
parameters: {
|
|
@@ -121,7 +121,7 @@ async function fetchUrl(value, signal) {
|
|
|
121
121
|
}
|
|
122
122
|
const fetchUrlTool = new Tool({
|
|
123
123
|
name: "fetch_url",
|
|
124
|
-
description: "Fetch a
|
|
124
|
+
description: "Fetch a URL (GET) and return its content as text. Prefer plain text or JSON sources that need no key (a public API you know) over regular web pages, which are long and noisy; if you know none, search instead of guessing. No JavaScript: pages built in the browser come back empty, so tell the user instead of retrying. No login, cookies, anti-bot, PDFs or private addresses. Long content is truncated.",
|
|
125
125
|
destructive: false,
|
|
126
126
|
notice: NOTICE,
|
|
127
127
|
parameters: {
|
package/docs/tools.md
CHANGED
|
@@ -98,6 +98,7 @@ What it does:
|
|
|
98
98
|
- It never reaches a private network. Loopback, private ranges, link-local (cloud metadata included) and IPv6 equivalents are refused, for the first URL and for each redirect, and the check runs on the address the connection really uses.
|
|
99
99
|
- The limits are fixed: 15 seconds, 10 MB of body and 50000 characters of text. When a limit cuts the content, `truncated` is `true`.
|
|
100
100
|
- The tool has a `notice`, because the content of a page is untrusted.
|
|
101
|
+
- The description tells the model to prefer a source that returns plain text or JSON and needs no key, such as a public API it knows, over a regular web page, which is long and noisy, and to search when it does not know one instead of guessing a URL.
|
|
101
102
|
|
|
102
103
|
What it does not do:
|
|
103
104
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openloops",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"description": "Open source harness for AI agents: a TypeScript runtime with persistence, tools, MCP trust, approvals and autonomous automations, where the loop is pluggable",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jose Barcos",
|