Skip to content

Commit

Permalink
consolidate the gradcomponent and gradcomponent2 into one
Browse files Browse the repository at this point in the history
  • Loading branch information
liyin2015 committed Jan 22, 2025
1 parent 8026d52 commit fff00d5
Show file tree
Hide file tree
Showing 10 changed files with 283 additions and 998 deletions.
4 changes: 2 additions & 2 deletions adalflow/adalflow/components/agent/react.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


from adalflow.core.generator import Generator
from adalflow.optim.grad_component import GradComponent2
from adalflow.optim.grad_component import GradComponent
from adalflow.optim.parameter import Parameter, ParameterType
from adalflow.core.func_tool import FunctionTool, AsyncCallable
from adalflow.core.tool_manager import ToolManager
Expand Down Expand Up @@ -121,7 +121,7 @@
"""


class CombineStepHistory(GradComponent2):
class CombineStepHistory(GradComponent):
def __init__(self):
super().__init__(desc="Extract the final answer from the step history.")

Expand Down
Loading

0 comments on commit fff00d5

Please sign in to comment.