mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-08 15:22:38 +02:00
rename analysis pool to insight pool
This commit is contained in:
parent
56e7a08a1c
commit
f7374c03af
1 changed files with 2 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ class InstructionGenerator:
|
|||
def __init__(self, file_path, use_fixed_insights=False):
|
||||
self.file_path = file_path
|
||||
self.use_fixed_insights = use_fixed_insights
|
||||
self.analysis_pool = self.load_analysis_pool(file_path, use_fixed_insights)
|
||||
self.analysis_pool = self.load_insight_pool(file_path, use_fixed_insights)
|
||||
self.proposer = SolutionDesigner()
|
||||
|
||||
@staticmethod
|
||||
|
|
@ -76,7 +76,7 @@ class InstructionGenerator:
|
|||
return new_data
|
||||
|
||||
@staticmethod
|
||||
def load_analysis_pool(file_path, use_fixed_insights, task_id=None):
|
||||
def load_insight_pool(file_path, use_fixed_insights, task_id=None):
|
||||
data = InstructionGenerator.load_json_data(file_path)
|
||||
if use_fixed_insights:
|
||||
current_directory = os.path.dirname(__file__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue