1
0
mirror of https://github.com/kmein/niveum synced 2026-03-28 23:31:07 +01:00

feat(kleim): add gpt, do not remove newlines

This commit is contained in:
2023-05-03 12:34:39 +02:00
parent 8be6375bcb
commit c17884a519
4 changed files with 19 additions and 1 deletions

View File

@@ -50,6 +50,9 @@
emojai = pkgs.writers.writeDash "emojai" ''
${pkgs.curl}/bin/curl https://www.emojai.app/api/generate -X POST -H 'Content-Type: application/json' --data-raw "$(${pkgs.jq}/bin/jq -sR '{emoji:.}')" | ${pkgs.jq}/bin/jq -r .result
'';
gpt = pkgs.writers.writeDash "gpt" ''
${niveumPackages.gpt}/bin/gpt
'';
};
};