Repository navigation
Commit fbf5286
feat: forward extra_user_content_parts through Context.tool_loop_agent (#10237)
* feat: forward extra_user_content_parts through Context.tool_loop_agent
Context.tool_loop_agent() builds ProviderRequest without extra_user_content_parts, so plugins starting a subagent through this entry point cannot inject per-turn content that must not be persisted into the conversation history. ToolLoopAgentRunner already reads the field and the main agent flow uses it extensively; only this entry point lacked the plumbing. Runtime behaviour is unchanged when the parameter is omitted.
Refs #10230
* Delete tests/test_star_context_extra_user_content_parts.py
---------
Co-authored-by: hypxtmc <[email protected]>
Co-authored-by: Soulter <[email protected]>1 parent 2b6b31a commit fbf5286
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
| 241 | + | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
| |||
285 | 287 | | |
286 | 288 | | |
287 | 289 | | |
| 290 | + | |
288 | 291 | | |
289 | 292 | | |
290 | 293 | | |
| |||
0 commit comments