You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, OpenDevin uses a global singleton LLM config and a global singleton agent config. This PR allows customers to configure an LLM config for each agent. A hypothetically useful scenario is to use a cheaper LLM for repo exploration / code search, and a more powerful LLM to actually do the problem solving (CodeActAgent).
Partially solves OpenHands#2075 (web GUI improvement is not the goal of this PR)
Copy file name to clipboardExpand all lines: evaluation/TUTORIAL.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,14 +53,14 @@ api_key = "sk-XXX"
53
53
54
54
In this section, for the purpose of building an evaluation task, we don't use the standard OpenDevin web-based GUI, but rather run OpenDevin backend from CLI.
55
55
56
-
For example, you can run the following, which performs the specified task `-t`, with a particular model `-m` and agent `-c`, for a maximum number of iterations `-i`:
56
+
For example, you can run the following, which performs the specified task `-t`, with a particular model config `-l` and agent `-c`, for a maximum number of iterations `-i`:
57
57
58
58
```bash
59
59
poetry run python ./opendevin/core/main.py \
60
60
-i 10 \
61
61
-t "Write me a bash script that print hello world." \
62
62
-c CodeActAgent \
63
-
-m gpt-4o-2024-05-13
63
+
-l llm
64
64
```
65
65
66
66
After running the script, you will observe the following:
0 commit comments