|
10 | 10 | "More details can be found in the project's [homepage](https://swe-agent.com/) and related [github repo](https://swe-agent.com/).\n", |
11 | 11 | "\n", |
12 | 12 | "In the example here, we partially implement the SWE-agent, and provide a simple example of how to use the implemented SWE-agent to fix a bug in a python file.\n", |
13 | | - "You should note that currently how to enable agents with stronger programming capabilities remains an open challenge, and the performance of the paritially implemented SWE-agent is not guaranteed.\n", |
| 13 | + "You should note that currently how to enable agents with stronger programming capabilities remains an open challenge, and the performance of the partially implemented SWE-agent is not guaranteed.\n", |
14 | 14 | "\n", |
15 | 15 | "## Prerequisites\n", |
16 | 16 | "\n", |
17 | | - "- Follow [READMD.md](https://github.com/modelscope/agentscope) to install AgentScope. We require the lastest version, so you should build from source by running `pip install -e .` instead of intalling from pypi. \n", |
| 17 | + "- Follow [README.md](https://github.com/modelscope/agentscope) to install AgentScope. We require the latest version, so you should build from source by running `pip install -e .` instead of installing from pypi. \n", |
18 | 18 | "- Prepare a model configuration. AgentScope supports both local deployed model services (CPU or GPU) and third-party services. More details and example model configurations please refer to our [tutorial](https://doc.agentscope.io/build_tutorial/model.html).\n", |
19 | 19 | "- Understand the ServiceToolkit module and how to use it to pre-process the tool functions for LLMs. You can refer to the [ReAct agent example](../conversation_with_react_agent/main.ipynb) and you should also refer to the [tutorial](https://doc.agentscope.io/build_tutorial/tool.html) for service functions.\n", |
20 | 20 | "\n", |
|
55 | 55 | "\n", |
56 | 56 | "The code of SWE-agent is in `swe_agent.py`, and the related prompts are in `swe_agent_prompts.py`.\n", |
57 | 57 | "\n", |
58 | | - "If you are interested in the details, please refer to the code and the origianl SWE-agent repo [here](https://github.com/princeton-nlp/SWE-agent)." |
| 58 | + "If you are interested in the details, please refer to the code and the original SWE-agent repo [here](https://github.com/princeton-nlp/SWE-agent)." |
59 | 59 | ] |
60 | 60 | }, |
61 | 61 | { |
|
228 | 228 | "}\n", |
229 | 229 | "assistant: \n", |
230 | 230 | "====Observation====\n", |
231 | | - "Current task finished, exitting.\n" |
| 231 | + "Current task finished, exiting.\n" |
232 | 232 | ] |
233 | 233 | } |
234 | 234 | ], |
|
261 | 261 | "Above we shown a example of how to use the SWE-agent to fix code errors.\n", |
262 | 262 | "Although the design of the SWE-agent is primarily aimed at addressing GitHub issues, with modifications, it can also be utilized for more general programming tasks.\n", |
263 | 263 | "\n", |
264 | | - "Currently, how to enable agent with general programming ablities remains a challenging open question, with the efficacy of agent programming potentially influenced by factors such as prompt construction, model capabilities, and the complexity of the task at hand. Here we just provide an interesting toy example. \n", |
| 264 | + "Currently, how to enable agent with general programming abilities remains a challenging open question, with the efficacy of agent programming potentially influenced by factors such as prompt construction, model capabilities, and the complexity of the task at hand. Here we just provide an interesting toy example. \n", |
265 | 265 | "\n", |
266 | 266 | "We encourage users to experiment by altering the prompts within this example or by assigning different tasks to the agent, among other methods of exploration. Please feel free to experiment and explore on your own. The AgentScope team will continue to provide updates, enhancing the capabilities of the Programming Agents in the future!" |
267 | 267 | ] |
|
0 commit comments