Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Jun 6, 2024
1 parent a892747 commit f241947
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Argcfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ test-functions() {
ext=".cmd"
fi
test_cases=( \
'sh#may_execute_shell_command#{"command":"echo \"✓\""}' \
'sh#may_execute_command#{"command":"echo \"✓\""}' \
'js#may_execute_js_code#{"code":"console.log(\"✓\")"}' \
'py#may_execute_py_code#{"code":"print(\"✓\")"}' \
'rb#may_execute_rb_code#{"code":"puts \"✓\""}' \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The function can perform dangerous tasks like creating/deleting files, changing

AIChat will ask permission before running the function.

![execute-type-showcase](https://github.com/sigoden/llm-functions/assets/4012553/bbe7f04d-4bad-49c8-b2f4-6b06290a63a4)
![execute-type-showcase](https://github.com/sigoden/llm-functions/assets/4012553/1dbc345f-daf9-4d65-a49f-3df8c7df1727)

**AIChat categorizes functions starting with `may_` as `execute type` and all others as `retrieve type`.**

Expand All @@ -76,7 +76,7 @@ The project supports write functions in bash/js/python.

### Bash

Create a new bashscript in the [./tools/](./tools/) directory (.e.g. `may_execute_shell_command.sh`).
Create a new bashscript in the [./tools/](./tools/) directory (.e.g. `may_execute_command.sh`).

```sh
#!/usr/bin/env bash
Expand Down
File renamed without changes.

0 comments on commit f241947

Please sign in to comment.