-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script process is running for hours but never calls OpenAI API #18
Comments
Which flags are you using to run humanify? |
Oh, right the verbose output has argv output too. Let me check if that still works on my machine |
|
@jehna Look like it was grinding away with 65,000+ tokens. However, It died.
|
Any comments? |
From #18 (comment)
Googling for that error message led me to this thread, which has at least one potential lead/solution to look into (though seems it can also be caused by other things too, based on a later comment in the thread):
|
I also noticed that this project is using the node Line 22 in 002fd68
The changelog entries only seem to start from There are a few bugfix entries related to handling errors while streaming.. I wonder if that might be helpful? Also some related to tools/functions, eg.
And new model:
We can see that the openai stuff is initially called here, which generates a 'plugin' that is then applied to the code of each of the files extracted with Lines 56 to 71 in 002fd68
With the main logic being implemented here, and the actual SDK call within Lines 14 to 82 in 002fd68
We can also see that it's using the
Edit: Captured the above notes in a new more specific issue: |
So I was able to get a little bit farther just by updating the model's instructions. The whole
But now I'm getting this.
Looks like we are getting null values? Not sure how to debug this. I'm just running this from the CLI and editing the source files with mcedit. I don't normally do Node.js development so I don't have a full Node.js IDE handy. If this was a browser I would just do a console.log() and dump the return variables. I'm hoping to get this working because I need to reverse Closure Compiled file for a whole other client project. |
@JungleGenius Rejected by what part/with what error/etc? Do you think it relates to the SDK being too old to use that, as per my previous thoughts?
@JungleGenius Pretty sure you should be able to do that here as well, and it would write to the terminal output. You could also run the node script with debugging enabled and then connect to it from Chrome's debugger if you wanted something more powerful there: |
See also: |
Hi Jehna,
Thank you for sharing this project.
I'm running this on a Debian Bookworm VM on my Intel Mac.
The script starts and creates the folder named after the output file with the
deobfuscated.js
in it. It also creates several temp files in/tmp/tsx-0
. When I look at the process list call stack I seeesbuild
as the top most process being run. Thetop
command shows it using CPU/memory and the logs show the following:However, When I look at my network traffic from the VM I don't see any connections to OpenAI's API endpoint.
Is it normal for it to run this long (several hours) with no errors being thrown and no API calls??
I'm not a regular node user (JavaScript, but not Node). So I'm not sure how to debug this or if something is amiss.
Is it stuck in a loop?
Thanks
-Daniel
The text was updated successfully, but these errors were encountered: