Jesse Luoto

Results 177 comments of Jesse Luoto

If it's the former, I'd love to refactor the code to make it easier to approach! On pseudocode level humanify works about like this: ``` const ast = parse(minifiedCode) for...

Sounds really good! I wonder if Claude api has a way to [force output to a structured format like OpenAI does](https://github.com/jehna/humanify/blob/79dc271c8b03fcce2cb0786fd0ac39bcaaa0cf1f/src/plugins/openai/openai-rename.ts#L62)? I think it's quite essential for the tool to...

Hmm . I think this could do: https://docs.anthropic.com/en/docs/build-with-claude/tool-use#controlling-claudes-output

Do you have an unreliable internet? Would setting a proxy help in this case?

I'm pretty sure that you can use `HTTP_PROXY` and `HTTPS_PROXY` environment variables to set the http proxy. Current undici [seems to support it](https://github.com/nodejs/undici/pull/2994) and I'd assume the underlying openai library...

Hmm, seems that openai is still using node-fetch, so it might not work: https://github.com/openai/openai-node/blob/f4066e1af907586946a5e6befee9459268425680/README.md?plain=1#L2-L5

Might be possible, what's your use case?

What's your `node --version `

How much GPU memory does your NVIDIA RTX A500 have? Humanify should run with 7gb GPU memory pretty well, but no guarantees for a system with less memory than that....

Seems that you've found a bug! I'll create a patch for that, thank you for sending good debug info