[GH-ISSUE #1510] [BUG]: small typo in web-scraping function #968

Closed
opened 2026-02-22 18:22:27 -05:00 by yindo · 1 comment
Owner

Originally created by @Propheticus on GitHub (May 23, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1510

How are you running AnythingLLM?

Docker (local)

What happened?

The web-scraping function description says "url": while the examples below say "uri":

Function name: web-scraping
Function Description: Scrapes the content of a webpage or online resource from a provided URL.
Function parameters in JSON format:
{
    \"url\": {
        \"type\": \"string\",
        \"format\": \"uri\",
        \"description\": \"A complete web address URL including protocol. Assumes https if not provided.\"
    }
}
Query: \"What is useanything.com about?\"
JSON: {\"uri\":\"https://useanything.com\"}
Query: \"Scrape https://example.com\"
JSON: {\"uri\":\"https://example.com\"}

When a model follows the example using uri the call is invalid Invalid function tool call: Invalid argument schema match
When a model follows the parameter definition using url (with an L) the call is valid Valid tool call found - running web-scraping.

Originally created by @Propheticus on GitHub (May 23, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1510 ### How are you running AnythingLLM? Docker (local) ### What happened? The web-scraping function description says "ur**l**": while the examples below say "ur**i**": ``` Function name: web-scraping Function Description: Scrapes the content of a webpage or online resource from a provided URL. Function parameters in JSON format: { \"url\": { \"type\": \"string\", \"format\": \"uri\", \"description\": \"A complete web address URL including protocol. Assumes https if not provided.\" } } Query: \"What is useanything.com about?\" JSON: {\"uri\":\"https://useanything.com\"} Query: \"Scrape https://example.com\" JSON: {\"uri\":\"https://example.com\"} ``` When a model follows the example using `uri` the call is invalid `Invalid function tool call: Invalid argument schema match` When a model follows the parameter definition using `url` (with an L) the call is valid `Valid tool call found - running web-scraping.`
yindo added the possible bug label 2026-02-22 18:22:27 -05:00
yindo closed this issue 2026-02-22 18:22:27 -05:00
Author
Owner

@timothycarambat commented on GitHub (May 23, 2024):

resolved by 961630f7d5

@timothycarambat commented on GitHub (May 23, 2024): resolved by 961630f7d5051766fe76296cc9d3bdc24afbb93f
yindo changed title from [BUG]: small typo in web-scraping function to [GH-ISSUE #1510] [BUG]: small typo in web-scraping function 2026-06-05 14:38:13 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#968