aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-06 09:38:48 +0800
committerGitHub <noreply@github.com>2024-06-06 09:38:48 +0800
commitd8eeb55578543b7e35c8ea7c38a46b0786e71052 (patch)
treea8f9a1df2ef837f7c65d02e282a39b4d511ceb7f /tools
parent4052bc944eea096d66bbfe23ded12f8d853cb848 (diff)
downloadllm-functions-docker-d8eeb55578543b7e35c8ea7c38a46b0786e71052.tar.gz
feat: remove ruby (#20)
Diffstat (limited to 'tools')
-rw-r--r--tools/may_execute_rb_code.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/may_execute_rb_code.rb b/tools/may_execute_rb_code.rb
deleted file mode 100644
index a1f9821..0000000
--- a/tools/may_execute_rb_code.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-def declarate
- {
- "name": "may_execute_rb_code",
- "description": "Runs the ruby code.",
- "parameters": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string",
- "description": "Ruby code to execute, such as `puts \"hello world\"`"
- }
- },
- "required": [
- "code"
- ]
- }
- }
-end
-
-def execute(data)
- eval(data["code"])
-end