mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
make roles to speak their mind while they act
This commit is contained in:
parent
17a0bd5de1
commit
e694848b48
2 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,6 @@ class Speak(Action):
|
|||
|
||||
return rsp_json['SPEECH_OR_VOTE']
|
||||
|
||||
|
||||
class NighttimeWhispers(Action):
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
from metagpt.actions import Action
|
||||
from examples.werewolf_game.actions.common_actions import Speak, NighttimeWhispers
|
||||
|
||||
|
||||
class Hunt(NighttimeWhispers):
|
||||
ROLE = "Werewolf"
|
||||
ACTION = "KILL"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue