Open coolaj86 opened 1 month ago
Hello, is this issue still active, if so could i work on it?
@MichalTirpak Yes. Go ahead. I just updated the list.
Use this branch rather than main as the basis for your work: https://github.com/webinstall/webi-installers/pull/909
(or if that's merged by the time you get to it, just use main)
(that's now in main)
As a matter of cleanup, we'd like to drop the
@root/request
dependency. Here's the list of files that still use it:This is a task that will need human verification, but can reliably be done via LLM (ChatGPT 4o or o1, Claude, etc) by pasting in the block of code that uses request and giving a promp similar to the following:
Example Prompt Sequence
1. Original Prompt
Reply from ChatGPT 4o (NOT Correct)
Note: This is NOT correct. It ignores headers and
2. Second Prompt
note: we provide a larger block with more context for how
resp
is used, and clarify thatrequest
is@root/request
:Reply from ChatGPT 4o (Correct, and had good comments)
3. A Different Approach
This is the documentation for @root/request:
Write a single
request
function that wrapsfetch
in a way that works similarly to@root/request
in this scenario:GPT 4o Response (Good)
4. On Second Thought...
The LLM business is taking longer than just doing it the normal way.
Probably just better to use normal intelligence on this one, with cues from how
fetch
is already being used.