Commit 8d81f3c
Hint use agent (#316)
* fixes
* add new deps
* use external embedding service in task hints retrieval
* gpt5 fixes
* first cut
* update
* add event listeners and launcher
* Add codegen step-wise recoder agent
* adding task hints to generic agent
* fix repeated llm configs
* load env vars in codegen agent
* same hints retrieval for both generic and tooluse agents
* filter out current task hints if needed
* fix llm config, add gpt-5
* fix
* pass new flag and fix db path passing issue
* fix goal text
* fix current task hints exclusion
* remove old reqs
* remove recorder from that brach
* log task errors
* expore agentlabxray
* remove commented old chunk
* share xray only when env flag present
* Add StepWiseQueriesPrompt for enhanced query handling in GenericAgent
* update hinting agent retrieval
* stepwise hint retrieval
* added shrink method
* (wip) refactor hinting index
* (wip) clean up prompt file
* add scripts to run generic and hinter agents, update tmlr config for hinter
* move HintsSource to separate hinting file
* update hinter agent and prompt
* fix prompt for task hint
* undo changes to tmlr config
* update hinter agent
* formatting
* bug fix hint retrieval
* improve launch script
* get queries only for step level hint
* Add webarenalite to agentlab loop.py
* update stepwise hint queries prompt
* fix exc logging
* non empty instruction
* allow less then max hint queries
* add generic agent gpt5-nano config
* make ray available on toolkit
* check that hints db exists
* Fix assignment of queries_for_hints variable
* Improve generic agent hinter (#309)
* Make LLM retreival topic index selection more robust
* add new flag to skip hints with the current goal in the hint source t… (#310)
* add new flag to skip hints with the current goal in the hint source traces
* Rename generic agent hinter to hint_use_agent (#311)
* rename generic_agent_hinter to hint_use_agent for clarity
* Add deprecation warning and module alias for generic_agent_hinter
* improve module aliasing for submodules
* Add todo rename agent name
* black
* bugfix: check for hint_db only when use_task_hint is true.
* fix: address missing initialization and correct args reference in choose_hints method
* black
* bugfix: skip HintSource init if use_task_hint is false
* Fix incorrect references for docs retrieval hinter agent (#313)
* address comments
* format
* Add Environment Variable for Ray port (#315)
* add env variable for ray port
* document env variables
* undo removed llm_config
* undo unnessary change
* add missing default values for hint prompt flags
* black
* update names in scripts
* use default prompt in hintSource for Tool Use agent
* remove experiment scripts
---------
Co-authored-by: Oleh Shliazhko <[email protected]>
Co-authored-by: Hadi Nekoei <[email protected]>
Co-authored-by: Oleh Shliazhko <[email protected]>
Co-authored-by: recursix <[email protected]>
Co-authored-by: Patrice Bechard <[email protected]>
Co-authored-by: Hadi Nekoei <[email protected]>
Co-authored-by: Patrice Bechard <[email protected]>1 parent 0da2063 commit 8d81f3c
File tree
15 files changed
+1672
-156
lines changed- src/agentlab
- agents
- generic_agent_hinter
- hint_use_agent
- tool_use_agent
- analyze
- experiments
- llm
- utils
15 files changed
+1672
-156
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
| 289 | + | |
288 | 290 | | |
289 | 291 | | |
290 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
0 commit comments