Merge branch 'feat-exp-pool' into 'mgx_ops'

Feat exp pool

See merge request pub/MetaGPT!237
This commit is contained in:
王金淋 2024-07-24 07:20:42 +00:00
commit 9b4949450b
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ def query_exps_count():
async def main():
await add_exps_from_file("TeamLeader.llm_cached_aask", EXAMPLE_DATA_PATH / "exp_pool/team_leader_exps.json"),
await add_exps_from_file("TeamLeader.llm_cached_aask", EXAMPLE_DATA_PATH / "exp_pool/team_leader_exps.json")
await add_exps_from_file("Engineer2.llm_cached_aask", EXAMPLE_DATA_PATH / "exp_pool/engineer_exps.json")
query_exps_count()

View file

@ -10,7 +10,7 @@ Note:
4. Don't forget to append task first when all existing tasks are finished and new tasks are required.
5. Avoid repeating tasks you have already completed. And end loop when all requirements are met.
"""
# To ensure compatibility with hard-coded experience, do not add any other content between "# Example" and "# Available Commands".
# To ensure compatibility with hard-coded experience, do not add any other content between "# Example" and "# Instruction".
CMD_PROMPT = """
# Latest Observation
{latest_observation}