Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

chore: Format codes , PEP8

DevXiaolan04211232f6e7
diff --git a/metagpt/actions/prepare_interview.py b/metagpt/actions/prepare_interview.py
index 8206fd6a6..b2704616e 100644
--- a/metagpt/actions/prepare_interview.py
+++ b/metagpt/actions/prepare_interview.py
@@ -1,3 +1,10 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+"""
+@Time : 2023/9/19 15:02
+@Author : DevXiaolan
+@File : prepare_interview.py
+"""
from metagpt.actions import Action
PROMPT_TEMPLATE = """
@@ -7,7 +14,7 @@ PROMPT_TEMPLATE = """
## Format example
---
Q1: question 1 here
-Reffrences:
+References:
- point 1
- point 2
@@ -21,11 +28,13 @@ Attention: Provide as markdown block as the format above, at least 10 questions.
"""
# prepare for a interview
+
+
class PrepareInterview(Action):
def __init__(self, name, context=None, llm=None):
super().__init__(name, context, llm)
- async def run(self,context):
+ async def run(self, context):
prompt = PROMPT_TEMPLATE.format(context=context)
question_list = await self._aask_v1(prompt)
- return question_list
\ No newline at end of file
+ return question_list