mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
Add post planning hook
This commit is contained in:
@@ -73,6 +73,9 @@ class Agent:
|
||||
cfg.fast_token_limit,
|
||||
) # TODO: This hardcodes the model to use GPT3.5. Make this an argument
|
||||
|
||||
for plugin in cfg.plugins:
|
||||
assistant_reply = plugin.post_planning(self, assistant_reply)
|
||||
|
||||
# Print Assistant thoughts
|
||||
print_assistant_thoughts(self.ai_name, assistant_reply)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user