move ~/bin to ~/.local/bin

This commit is contained in:
2025-09-09 12:57:50 +02:00
parent b8cf5a87ab
commit f86008162b
42 changed files with 199 additions and 17 deletions

8
.local/bin/§openai Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
curl \
-sSL \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer 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 ' \
-d '{"prompt":"//'"$1"'","max_tokens":500,"stop":"//","n":3}' \
https://api.openai.com/v1/engines/code-davinci-002/completions