X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/482d53ca1ff192d34b62c5e3d349e400228effe8..8900458299fe6eb84828299e3a3ae46d6ad944f8:/files/ts/tasks.py diff --git a/files/ts/tasks.py b/files/ts/tasks.py index 6e47ddb..1a75292 100644 --- a/files/ts/tasks.py +++ b/files/ts/tasks.py @@ -17,6 +17,7 @@ SECDEV_LIMITED=os.environ.get('SECDEV_LIMITED') SECDEV_MESSAGE_TEMPLATES=os.environ.get('SECDEV_MESSAGE_TEMPLATES') EPICS=os.environ.get('URL_EPICS') MESSAGE_TEMPLATES=os.environ.get('URL_MESSAGE_TEMPLATES') +OLLAMA=os.environ.get('OLLAMA') # Helper functions for a consistent experience @@ -58,6 +59,7 @@ def vasl(c): '''Submit time off''' browse(c, "https://my.techservices.illinois.edu/vacation/submitdays.asp") browse(c, "https://outlook.office.com/calendar/view/week") + print('Ctrl+G to repeat a search in FF') @task(vasl) @@ -65,6 +67,7 @@ def timesheets(c): '''Reconcile time off between reporting systems''' browse(c, "https://outlook.office.com/calendar/view/month") code(c, f"{HOME}/src/Learn_RobotFramework_IllinoisPTR") + browse(c, "http://go.illinois.edu/techservtimeentry") @task(journal) def daily(c): @@ -158,3 +161,8 @@ def bookmarks(c): def message_templates(c): browse(c, MESSAGE_TEMPLATES) +@task +def ollama(c): + print(f'ssh -t {OLLAMA} "ollama run glm-4.7-flash"') + +