Skip to content

Commit

Permalink
refactor examples/semiconductor/agent module
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVinhLuong102 committed Aug 30, 2024
1 parent 6e19435 commit c2b2879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/semiconductor/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def get_or_create_agent(use_semikong_lm: bool = True, max_depth=2, max_subtasks_
htp = HTP.from_dict(htp_dict)
program_space.add_or_update_program(name=program_name, description=htp.task.ask, program=htp)

return Agent(program_space=program_space,
return Agent(knowledge={},
program_space=program_space,
programmer=HTPlanner(lm=lm, max_depth=max_depth, max_subtasks_per_decomp=max_subtasks_per_decomp),
knowledge={},
resources={})


Expand Down

0 comments on commit c2b2879

Please sign in to comment.