3 ms·
The "framework effect" seems to be a thing these days, not only with SPAs using the newest JS framework. When I stumbled across an HN article describing a CLI
by lynx23 3y ago
The "framework effect" seems to be a thing these days, not only with SPAs using the newest JS framework.
When I stumbled across an HN article describing a CLI app for the OpenAI API, I thought that is just what I was waiting for. Unfortunately, when I tried it, it didn't work for me. After a debugging session, I found a bug in the openai python package which led to my key not being used if I have ~/.netrc exists. Pretty much a demonstration of the "framework effect". The simplest things, read CLI tools, become buggy in subtle ways because you inherit every bug deep down in the dependency chain. I ended up implementing my own OpenAI API CLI client in just a few lines of shell. Much easier to review, and almost impossible to have subtle hidden bugs.
https://github.com/mlang/openai-kiss https://github.com/mlang/openai-kiss