mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-14 15:25:17 +02:00
refactor: talk prompt
This commit is contained in:
parent
7cb19c943c
commit
107ddbe308
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ class TalkAction(Action):
|
|||
self._rsp = None
|
||||
|
||||
@property
|
||||
def prompt(self):
|
||||
def prompt_old(self):
|
||||
prompt = ""
|
||||
if CONFIG.agent_description:
|
||||
prompt = (
|
||||
|
|
@ -46,7 +46,7 @@ class TalkAction(Action):
|
|||
return prompt
|
||||
|
||||
@property
|
||||
def formation_prompt(self):
|
||||
def prompt(self):
|
||||
kvs = {
|
||||
"{role}": CONFIG.agent_description or "",
|
||||
"{history}": self._history_summary or "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue