X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/482d53ca1ff192d34b62c5e3d349e400228effe8..d08a9f3b8d9754ddb33a3306558239a9dfa0abd9:/files/ts/tasks.py diff --git a/files/ts/tasks.py b/files/ts/tasks.py index 6e47ddb..42ede74 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 @@ -158,3 +159,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"') + +