Skip to content
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

feat: allow overriding execute/code role #331

Merged
merged 1 commit into from Mar 3, 2024
Merged

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Mar 3, 2024

There are two ways to override execution/code roles

  1. use -r/--role
aichat --role code -c echo server in rust
aichat --role shell -e install nvim
  1. add roles to roles.yaml
  • add a role named __execute__ to override the execute role.
  • add a role named __code__ to override the code role.

@sigoden sigoden mentioned this pull request Mar 3, 2024
@sigoden sigoden changed the title feat: allow override execute/code role feat: allow overriding execute/code role Mar 3, 2024
@sigoden sigoden merged commit 8421f23 into main Mar 3, 2024
3 checks passed
@sigoden sigoden deleted the feat-override-role branch March 3, 2024 01:57
@sigoden sigoden mentioned this pull request Mar 6, 2024
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.

None yet

1 participant