garylin2099

Results 6 issues of garylin2099

**Features** - Planning ability for general `Role` through `_plan_and_act` function - A `CodeInterpreter(Role)` that could solve problems through coding. This role inherits the planning ability and can also use tools....

- Example usage ```python from metagpt.tools.tool_recommend import BM25ToolRecommender tools = ["workspace/scikit_learn/sklearn/linear_model"] req = "Classify wine dataset with logistic regression" tr = BM25ToolRecommender(tools=tools) results = await tr.recall_tools(req) # recall only results...

**Bug description** Running the example code llm_hello_world.py on branch v0.8-release will produce a TypeError. See logs below. **Screenshots or logs** Traceback (most recent call last): File "/workspaces/MetaGPT/examples/llm_hello_world.py", line 43, in...

Move around 170 lines of utils code out of role_zero.py, shrinking the script by around 25%. By removing these minor details, readers can understand the main logic of RoleZero more...