-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix typo thanks @giddyphysicist * fix bad logic in is_git * remove cwd_info from context * workflow improvements * always stream the script output * make terminal output (breaks, spaces, etc) more legible * remove duplicate prints * always say "Retrying..." on error * let it put on / take off its leash * update version number
- Loading branch information
1 parent
83dd8da
commit 9b6ed04
Showing
13 changed files
with
100 additions
and
102 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
}, | ||
{ | ||
"role": "system", | ||
"content": "Today's date is 2024-02-14 13:32:19.\nThe current working directory is /Users/jakekoenig/rawdog, which IS a git repository.\nThe user's operating system is Darwin.\nThe contents of the current working directory are:\n2024-02-05 07:56:58 11339 bytes LICENSE\n2024-02-14 13:22:51 32 bytes requirements.txt\n2024-02-07 09:47:43 4 items /dist\n2024-02-14 13:22:51 630 bytes pyproject.toml\n2024-02-13 09:38:11 60746 bytes training_data.jsonl\n2024-02-05 07:56:58 1 items /rawdog\n2024-02-13 08:58:21 5247 bytes script_2024-02-13_08-58-21.py\n2024-02-14 08:47:33 308 bytes todo\n2024-02-13 01:40:23 3081 bytes README.md\n2024-02-05 07:57:14 45 bytes .gitignore\n2024-02-07 09:47:28 5 items /.env\n2024-02-14 13:26:01 13 items /examples\n2024-02-13 13:19:10 3 items /scripts\n2024-02-14 09:25:18 3380 bytes octagon.png\n2024-02-14 13:22:51 13 items /.git\n2024-02-09 02:29:04 58388 bytes old_training_data.jsonl\n2024-02-14 08:46:44 4 items /my_env\n2024-02-05 07:56:58 1 items /src\nThe last commit message is: Pip install not found modules (#61)\n\nIf the llm tries to use a module that cannot be found then prompt the\r\nuser to install it with pip.\r\nMisc:\r\n* Moved execution specific utils from utils to execute_script\r\n* Removed almost all the requirements\r\n* Give errors from the script to the llm (was broken by move to subprocess)\r\n\r\nCo-authored-by: biobootloader <[email protected]>\r\n\r\n---------\r\n\r\nCo-authored-by: biobootloader <[email protected]>" | ||
"content": "Today's date is 2024-02-14 13:32:19.\nThe current working directory is /Users/jakekoenig/rawdog, which IS a git repository.\nThe user's operating system is Darwin.\nThe last commit message is: Pip install not found modules (#61)\n\nIf the llm tries to use a module that cannot be found then prompt the\r\nuser to install it with pip.\r\nMisc:\r\n* Moved execution specific utils from utils to execute_script\r\n* Removed almost all the requirements\r\n* Give errors from the script to the llm (was broken by move to subprocess)\r\n\r\nCo-authored-by: biobootloader <[email protected]>\r\n\r\n---------\r\n\r\nCo-authored-by: biobootloader <[email protected]>" | ||
}, | ||
{ | ||
"role": "user", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
}, | ||
{ | ||
"role": "system", | ||
"content": "Today's date is 2024-02-14 13:27:51.\nThe current working directory is /Users/jakekoenig/rawdog, which IS a git repository.\nThe user's operating system is Darwin.\nThe contents of the current working directory are:\n2024-02-05 07:56:58 11339 bytes LICENSE\n2024-02-14 13:22:51 32 bytes requirements.txt\n2024-02-07 09:47:43 4 items /dist\n2024-02-14 13:22:51 630 bytes pyproject.toml\n2024-02-13 09:38:11 60746 bytes training_data.jsonl\n2024-02-05 07:56:58 1 items /rawdog\n2024-02-13 08:58:21 5247 bytes script_2024-02-13_08-58-21.py\n2024-02-14 08:47:33 308 bytes todo\n2024-02-13 01:40:23 3081 bytes README.md\n2024-02-05 07:57:14 45 bytes .gitignore\n2024-02-07 09:47:28 5 items /.env\n2024-02-14 13:26:01 13 items /examples\n2024-02-13 13:19:10 3 items /scripts\n2024-02-14 09:25:18 3380 bytes octagon.png\n2024-02-14 13:22:51 13 items /.git\n2024-02-09 02:29:04 58388 bytes old_training_data.jsonl\n2024-02-14 08:46:44 4 items /my_env\n2024-02-05 07:56:58 1 items /src\nThe last commit message is: Pip install not found modules (#61)\n\nIf the llm tries to use a module that cannot be found then prompt the\r\nuser to install it with pip.\r\nMisc:\r\n* Moved execution specific utils from utils to execute_script\r\n* Removed almost all the requirements\r\n* Give errors from the script to the llm (was broken by move to subprocess)\r\n\r\nCo-authored-by: biobootloader <[email protected]>\r\n\r\n---------\r\n\r\nCo-authored-by: biobootloader <[email protected]>" | ||
"content": "Today's date is 2024-02-14 13:27:51.\nThe current working directory is /Users/jakekoenig/rawdog, which IS a git repository.\nThe user's operating system is Darwin.\nThe last commit message is: Pip install not found modules (#61)\n\nIf the llm tries to use a module that cannot be found then prompt the\r\nuser to install it with pip.\r\nMisc:\r\n* Moved execution specific utils from utils to execute_script\r\n* Removed almost all the requirements\r\n* Give errors from the script to the llm (was broken by move to subprocess)\r\n\r\nCo-authored-by: biobootloader <[email protected]>\r\n\r\n---------\r\n\r\nCo-authored-by: biobootloader <[email protected]>" | ||
}, | ||
{ | ||
"role": "user", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
}, | ||
{ | ||
"role": "system", | ||
"content": "Today's date is 2024-02-14 13:28:17.\nThe current working directory is /Users/jakekoenig/rawdog, which IS a git repository.\nThe user's operating system is Darwin.\nThe contents of the current working directory are:\n2024-02-05 07:56:58 11339 bytes LICENSE\n2024-02-14 13:22:51 32 bytes requirements.txt\n2024-02-07 09:47:43 4 items /dist\n2024-02-14 13:22:51 630 bytes pyproject.toml\n2024-02-13 09:38:11 60746 bytes training_data.jsonl\n2024-02-05 07:56:58 1 items /rawdog\n2024-02-13 08:58:21 5247 bytes script_2024-02-13_08-58-21.py\n2024-02-14 08:47:33 308 bytes todo\n2024-02-13 01:40:23 3081 bytes README.md\n2024-02-05 07:57:14 45 bytes .gitignore\n2024-02-07 09:47:28 5 items /.env\n2024-02-14 13:26:01 13 items /examples\n2024-02-13 13:19:10 3 items /scripts\n2024-02-14 09:25:18 3380 bytes octagon.png\n2024-02-14 13:22:51 13 items /.git\n2024-02-09 02:29:04 58388 bytes old_training_data.jsonl\n2024-02-14 08:46:44 4 items /my_env\n2024-02-05 07:56:58 1 items /src\nThe last commit message is: Pip install not found modules (#61)\n\nIf the llm tries to use a module that cannot be found then prompt the\r\nuser to install it with pip.\r\nMisc:\r\n* Moved execution specific utils from utils to execute_script\r\n* Removed almost all the requirements\r\n* Give errors from the script to the llm (was broken by move to subprocess)\r\n\r\nCo-authored-by: biobootloader <[email protected]>\r\n\r\n---------\r\n\r\nCo-authored-by: biobootloader <[email protected]>" | ||
"content": "Today's date is 2024-02-14 13:28:17.\nThe current working directory is /Users/jakekoenig/rawdog, which IS a git repository.\nThe user's operating system is Darwin.\nThe last commit message is: Pip install not found modules (#61)\n\nIf the llm tries to use a module that cannot be found then prompt the\r\nuser to install it with pip.\r\nMisc:\r\n* Moved execution specific utils from utils to execute_script\r\n* Removed almost all the requirements\r\n* Give errors from the script to the llm (was broken by move to subprocess)\r\n\r\nCo-authored-by: biobootloader <[email protected]>\r\n\r\n---------\r\n\r\nCo-authored-by: biobootloader <[email protected]>" | ||
}, | ||
{ | ||
"role": "user", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
}, | ||
{ | ||
"role": "system", | ||
"content": "Today's date is 2024-02-14 13:26:11.\nThe current working directory is /Users/jakekoenig/rawdog, which IS a git repository.\nThe user's operating system is Darwin.\nThe contents of the current working directory are:\n2024-02-05 07:56:58 11339 bytes LICENSE\n2024-02-14 13:22:51 32 bytes requirements.txt\n2024-02-07 09:47:43 4 items /dist\n2024-02-14 13:22:51 630 bytes pyproject.toml\n2024-02-13 09:38:11 60746 bytes training_data.jsonl\n2024-02-05 07:56:58 1 items /rawdog\n2024-02-13 08:58:21 5247 bytes script_2024-02-13_08-58-21.py\n2024-02-14 08:47:33 308 bytes todo\n2024-02-13 01:40:23 3081 bytes README.md\n2024-02-05 07:57:14 45 bytes .gitignore\n2024-02-07 09:47:28 5 items /.env\n2024-02-14 13:26:01 13 items /examples\n2024-02-13 13:19:10 3 items /scripts\n2024-02-14 09:25:18 3380 bytes octagon.png\n2024-02-14 13:22:51 13 items /.git\n2024-02-09 02:29:04 58388 bytes old_training_data.jsonl\n2024-02-14 08:46:44 4 items /my_env\n2024-02-05 07:56:58 1 items /src\nThe last commit message is: Pip install not found modules (#61)\n\nIf the llm tries to use a module that cannot be found then prompt the\r\nuser to install it with pip.\r\nMisc:\r\n* Moved execution specific utils from utils to execute_script\r\n* Removed almost all the requirements\r\n* Give errors from the script to the llm (was broken by move to subprocess)\r\n\r\nCo-authored-by: biobootloader <[email protected]>\r\n\r\n---------\r\n\r\nCo-authored-by: biobootloader <[email protected]>" | ||
"content": "Today's date is 2024-02-14 13:26:11.\nThe current working directory is /Users/jakekoenig/rawdog, which IS a git repository.\nThe user's operating system is Darwin.\nThe last commit message is: Pip install not found modules (#61)\n\nIf the llm tries to use a module that cannot be found then prompt the\r\nuser to install it with pip.\r\nMisc:\r\n* Moved execution specific utils from utils to execute_script\r\n* Removed almost all the requirements\r\n* Give errors from the script to the llm (was broken by move to subprocess)\r\n\r\nCo-authored-by: biobootloader <[email protected]>\r\n\r\n---------\r\n\r\nCo-authored-by: biobootloader <[email protected]>" | ||
}, | ||
{ | ||
"role": "user", | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
}, | ||
{ | ||
"role": "system", | ||
"content": "Today's date is 2024-02-14 13:33:57.\nThe current working directory is /Users/jakekoenig/rawdog, which IS a git repository.\nThe user's operating system is Darwin.\nThe contents of the current working directory are:\n2024-02-05 07:56:58 11339 bytes LICENSE\n2024-02-14 13:22:51 32 bytes requirements.txt\n2024-02-07 09:47:43 4 items /dist\n2024-02-14 13:22:51 630 bytes pyproject.toml\n2024-02-13 09:38:11 60746 bytes training_data.jsonl\n2024-02-05 07:56:58 1 items /rawdog\n2024-02-13 08:58:21 5247 bytes script_2024-02-13_08-58-21.py\n2024-02-14 08:47:33 308 bytes todo\n2024-02-13 01:40:23 3081 bytes README.md\n2024-02-05 07:57:14 45 bytes .gitignore\n2024-02-07 09:47:28 5 items /.env\n2024-02-14 13:26:01 13 items /examples\n2024-02-13 13:19:10 3 items /scripts\n2024-02-14 09:25:18 3380 bytes octagon.png\n2024-02-14 13:22:51 13 items /.git\n2024-02-09 02:29:04 58388 bytes old_training_data.jsonl\n2024-02-14 08:46:44 4 items /my_env\n2024-02-05 07:56:58 1 items /src\nThe last commit message is: Pip install not found modules (#61)\n\nIf the llm tries to use a module that cannot be found then prompt the\r\nuser to install it with pip.\r\nMisc:\r\n* Moved execution specific utils from utils to execute_script\r\n* Removed almost all the requirements\r\n* Give errors from the script to the llm (was broken by move to subprocess)\r\n\r\nCo-authored-by: biobootloader <[email protected]>\r\n\r\n---------\r\n\r\nCo-authored-by: biobootloader <[email protected]>" | ||
"content": "Today's date is 2024-02-14 13:33:57.\nThe current working directory is /Users/jakekoenig/rawdog, which IS a git repository.\nThe user's operating system is Darwin.\nThe last commit message is: Pip install not found modules (#61)\n\nIf the llm tries to use a module that cannot be found then prompt the\r\nuser to install it with pip.\r\nMisc:\r\n* Moved execution specific utils from utils to execute_script\r\n* Removed almost all the requirements\r\n* Give errors from the script to the llm (was broken by move to subprocess)\r\n\r\nCo-authored-by: biobootloader <[email protected]>\r\n\r\n---------\r\n\r\nCo-authored-by: biobootloader <[email protected]>" | ||
}, | ||
{ | ||
"role": "user", | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.1.5" | ||
__version__ = "0.1.6" |
This file contains 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
This file contains 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
Oops, something went wrong.