mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
remove space
This commit is contained in:
parent
1bd05c1f42
commit
7a96978e14
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ class RoleZero(Role):
|
|||
context = self.llm.format_msg(memory + [UserMessage(content=QUICK_THINK_PROMPT)])
|
||||
intent_result = await self.llm.aask(context, system_msgs=self.format_quick_system_prompt())
|
||||
|
||||
if "QUICK" in intent_result or "AMBIGUOUS " in intent_result: # llm call with the original context
|
||||
if "QUICK" in intent_result or "AMBIGUOUS" in intent_result: # llm call with the original context
|
||||
async with ThoughtReporter(enable_llm_stream=True) as reporter:
|
||||
await reporter.async_report({"type": "quick"})
|
||||
answer = await self.llm.aask(self.llm.format_msg(memory), system_msgs=QUICK_RESPONSE_SYSTEM_PROMPT.format(role_info=self._get_prefix()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue