Created
May 13, 2024 20:18
-
-
Save thesues/019eb9d06634982bfb8169c12f1a6a92 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task=$(curl --location 'http://ailint.tiktok-row.org/dev' --header 'Authorization: ABCDEFG' --header 'Content-Type: application/json' --data '{"repo":"https://github.com/bd-iaas-us/AILint.git", "token":"FAKE", "prompt":"create a file whose name is utils.py. implement a binary search. export function as search(array, value)"}' | python3 -c "import sys, json; print(json.load(sys.stdin)['task_id'])") | |
curl http://ailint.tiktok-row.org/dev/histories/$task --header 'Authorization: ABCDEFG' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment