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

refactor a bit and add agents #50

Merged
merged 3 commits into from
May 16, 2024
Merged

refactor a bit and add agents #50

merged 3 commits into from
May 16, 2024

Conversation

andreashappe
Copy link
Member

No description provided.

- Agent is based upon RoundBasedUseCase and allows to store capabilities,
  i.e., actions that an LLM can call, to the use-case. Before that this
  was implemented within each use-case
- add a name String to the capabilities itself for some code-cleanups
- introduce a get_capabilities_block method that returns a string suitable
  for usage within templates
but also had to move Agent into a python file of its own to resolve
a circular import error. This is still ugly and a WIP but works for
the initial minimal use-case (and the privesc use-cases work without
full conversion to Agent)
@andreashappe andreashappe merged commit a1f8d69 into main May 16, 2024
2 checks passed
@andreashappe andreashappe deleted the capabilities branch May 16, 2024 11:51
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