diff options
| author | sigoden <sigoden@gmail.com> | 2025-02-24 07:53:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-24 07:53:13 +0800 |
| commit | 5cd7e71a13b64661bff32a4f0166dcfdef07993d (patch) | |
| tree | ff7807fcdd05fc4b4c3b92ed76d5493382fdfb34 /Argcfile.sh | |
| parent | 4780ecb39d73a3772d797dba5bfcc18aeb86078a (diff) | |
| download | llm-functions-docker-5cd7e71a13b64661bff32a4f0166dcfdef07993d.tar.gz | |
refactor: rename `argc install` to `argc link-to-aichat` (#171)
Diffstat (limited to 'Argcfile.sh')
| -rw-r--r-- | Argcfile.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Argcfile.sh b/Argcfile.sh index 0a1ad85..ad926c6 100644 --- a/Argcfile.sh +++ b/Argcfile.sh @@ -549,8 +549,8 @@ link-code-interpreter() { _link_tool $1 code_interpreter } -# @cmd Install this repo to aichat functions_dir -install() { +# @cmd Link this repo to aichat functions_dir +link-to-aichat() { functions_dir="$(aichat --info | grep -w functions_dir | awk '{$1=""; print substr($0,2)}')" if [[ -z "$functions_dir" ]]; then _die "error: your aichat version don't support function calling" |
