Repository navigation
Forge tool fixes: scraper, search tools, weather and datetime - #486
Merged
Merged
Conversation
Conflicts with #418 in both scraper copies: _fetch_webpage now returns the decoded text from #418 together with the final response URL from #412. Four tests from #418, #442 and #458 are adapted to that return value and to absolute image URLs: test_section_content mocks a (html, url) pair, test_webpage_encodings reads the text element, and test_content_candidates expects the image URL resolved against the page.
Merged
Eigenwise
added a commit
that referenced
this pull request
Nov 17, 2026
* Refresh the codebase map for the batched core, forge and TUI fixes Covers what #485, #486 and #487 changed in documented behavior: MCP discovery follows negotiated capabilities, routing-name collisions get an mcp_ prefix, tuple and dict-size constraints, history round-trips by field name, generic schema docstrings, text-only count_text, provider usage in tracing, the scraper's decoding and link resolution, and the tool explorer's worker. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * Prepare v2.16.2 release Patch release for the fixes merged in #485, #486 and #487. Checked on this tree: a generic schema specialization keeps its docstring, a history with an aliased field reloads, count_text('') returns 0 for gpt-4, and max_context_tokens=0 fails validation. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Kenny Vaneetvelde <kenny@eigenwise.io> Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Twelve reviewed fixes to forge tools from @Afloat16, merged head by head so each keeps its own commits. Each one was checked the same way: its new tests fail on main's source and pass with the change, and the trigger is something a user can reach.
Webpage scraper (forge tool and the deep-research copy)
<article><header>are kept.main-contentelement no longer wins over the real article.Search tools
social media, the name SearXNG uses.failureslist instead of looking like an empty result.X-Api-Keyheader can't be forwarded to another host.submittedDate:orjr:are sent as written.Other tools
Integration notes
_fetch_webpagenow returns the decoded text from Honor HTML encodings in webpage scraping #418 together with the final URL from Resolve scraped links against the final page URL #412.Checks on this branch (Windows): every forge tool's test suite passes, 885 tests, except the one
bocha_searchtest that needs a real key and fails the same way on main. Black and Flake8 clean.Merge with a merge commit so the source pull requests close as merged.
🤖 Generated with Claude Code