Commit 99dfdb6
xichaodong
refactor(core): remove redundant hasPendingToolUse check in doCall
The check at line 275 is always true because the early return at
line 268 already guarantees pendingIds is non-empty at that point.
Simplify to call acting(0) directly.1 parent de01c66 commit 99dfdb6
File tree
1 file changed
+1
-1
lines changed- agentscope-core/src/main/java/io/agentscope/core
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| |||
0 commit comments