Glenn 'devalias' Grant
Glenn 'devalias' Grant
Here's a debug patch I put together to get a bit more info about the various extra bits of info we could inspect: ```diff diff --git a/src/plugins/local-llm-rename/llama.ts b/src/plugins/local-llm-rename/llama.ts index 717fc76..fa16eb3...
> I think this could do: > [docs.anthropic.com/en/docs/build-with-claude/tool-use#controlling-claudes-output](https://docs.anthropic.com/en/docs/build-with-claude/tool-use#controlling-claudes-output) Also just saw this page: - https://docs.anthropic.com/en/docs/build-with-claude/tool-use/token-efficient-tool-use - > Token-efficient tool use (beta) > The upgraded Claude 3.7 Sonnet model is capable...
See also: - https://github.com/jehna/humanify/issues/400
I would suspect that there were a lot of name clashes, and this safe rename code is what's doing it: https://github.com/jehna/humanify/blob/7b85f9de6c61afed42f5eebb3a1fefc104af8f2c/src/plugins/local-llm-rename/visit-all-identifiers.ts#L42-L54 Some past discussion related to this feature here as...
It might be worth leaving this issue open as a reminder that we could improve this based on some of the notes above.
Related older issue: - https://github.com/jehna/humanify/issues/181 - > Repeated variable names > In large code bases with many variables, humanify frequently assigns the same name to different variables, leading to confusion...
> seems that openai is still using `node-fetch`, so it might not work - https://github.com/openai/openai-node/blob/212710db8c8c139392c6532c0eccfd13558ef2d4/README.md?plain=1#L1-L5 - > We're actively working on a new alpha version that migrates from `node-fetch` to...
Looks like `openai` v5 is out now, which uses the native `fetch`, and has better support for proxies: > > Here's some updates on the timeline as to when `node-fetch`...
> We should introduce a check to prevent duplication of variable names in the same scope. If a name has already been used, the system could ask for confirmation, ensuring...
Tangentially related: - https://github.com/jehna/humanify/issues/112