Download taskweaver/cli/chat.py from TRaw/tskwvr: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/TRaw/tskwvr/resolve/main/taskweaver/cli/chat.py
- Command line
-
hf download hf://spaces/TRaw/tskwvr/taskweaver/cli/chat.py
-
curl -L -o chat.py https://huggingface.co/spaces/TRaw/tskwvr/resolve/main/taskweaver/cli/chat.py
408 Bytes
| import click | |
| from taskweaver.cli.util import CliContext, get_ascii_banner, require_workspace | |
| def chat(ctx: click.Context): | |
| """ | |
| Chat with TaskWeaver in command line | |
| """ | |
| ctx_obj: CliContext = ctx.obj | |
| from taskweaver.chat.console import chat_taskweaver | |
| click.echo(get_ascii_banner()) | |
| chat_taskweaver(ctx_obj.workspace) | |