mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-07 07:14:33 +01:00
Added list abiltiies for prompt
This commit is contained in:
@@ -135,6 +135,9 @@ class AbilityRegister:
|
||||
|
||||
def list_abilities(self) -> List[Ability]:
|
||||
return self.abilities
|
||||
|
||||
def list_abilities_for_prompt(self) -> List[str]:
|
||||
return [str(ability) for ability in self.abilities.values()]
|
||||
|
||||
def abilities_description(self) -> str:
|
||||
abilities_by_category = {}
|
||||
|
||||
Reference in New Issue
Block a user