mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-03 12:52:37 +02:00
refactor: talk prompt
This commit is contained in:
parent
972337776d
commit
557e82d8ef
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@ class TalkAction(Action):
|
|||
prompt = TalkAction.__FORMATION_LOOSE__
|
||||
for k, v in kvs.items():
|
||||
prompt = prompt.replace(k, v)
|
||||
logger.info(f"PROMPT: {prompt}")
|
||||
return prompt
|
||||
|
||||
async def run(self, *args, **kwargs) -> ActionOutput:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue