Commit c97fd08
authored
Goal Completion Detection Issue (#316)
* Goal Completion Detection Issue
Problem: When the AI called the mark_goal_complete function, the completion signal wasn't being propagated through the system. The iterative strategy kept running indefinitely even after the AI indicated the goal was complete.
Fix: Modified the LLM manager to detect when mark_goal_complete returns a `FunctionExecutionResult` with `completed=True`` and pass this signal through in the `LLMManagerResponse`
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
* Release v0.7.2
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
---------
Signed-off-by: Luke Hinds <lukehinds@gmail.com>1 parent e0f8a77 commit c97fd08
File tree
4 files changed
+17
-4
lines changed- src/agent/services
- llm
4 files changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
| 208 | + | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
171 | 178 | | |
172 | 179 | | |
173 | 180 | | |
174 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
175 | 188 | | |
176 | 189 | | |
177 | 190 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments