use html2md on web_fetch (fixes #3) #4

Open
spqrz wants to merge 0 commits from spqrz/consciousness:use-html2md into master
First-time contributor

As explained on #3 this strips HTML markup from the context window, thus allowing more room for actual text, when fetching from a URL by default. If the AI wishes to view the full source code, that's still possible via a curl command in the shell (but POC agreed on IRC that it shouldn't be the default).

As explained on #3 this strips HTML markup from the context window, thus allowing more room for actual text, when fetching from a URL by default. If the AI wishes to view the full source code, that's still possible via a curl command in the shell (but POC agreed on IRC that it shouldn't be the default).
spqrz added 1 commit 2026-04-12 10:14:36 +00:00
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u use-html2md:spqrz-use-html2md
git checkout spqrz-use-html2md

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout master
git merge --no-ff spqrz-use-html2md
git checkout spqrz-use-html2md
git rebase master
git checkout master
git merge --ff-only spqrz-use-html2md
git checkout spqrz-use-html2md
git rebase master
git checkout master
git merge --no-ff spqrz-use-html2md
git checkout master
git merge --squash spqrz-use-html2md
git checkout master
git merge --ff-only spqrz-use-html2md
git checkout master
git merge spqrz-use-html2md
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kent/consciousness#4
No description provided.