Hacker News new | ask | show | jobs
by nkrumm 1026 days ago
I had the urge to try this out a while back, here's what I came up with: https://gist.github.com/nkrumm/2b154ea2041511233079222373c83...

The decorator invokes AI completion only the first time the function is run.

edit: I lost interest before I was able to get arguments to work ¯\_(ツ)_/¯

1 comments

Yea, that’s cool and very possible, but it’s a runtime effect