Skip to content

Add command system #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 8, 2025
Merged

Add command system #1

merged 3 commits into from
May 8, 2025

Conversation

0x1eef
Copy link
Member

@0x1eef 0x1eef commented May 8, 2025

Two variants:

LLM.command do |cmd|
  cmd.name "import-file"
  cmd.define { |name| ... }
end

LLM.command do |cmd|
  cmd.name "import-file"
  cmd.register ImportFile
end

@0x1eef 0x1eef merged commit 401e065 into main May 8, 2025
@0x1eef 0x1eef deleted the commands branch May 8, 2025 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant