-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* format * fix ReAct * support streaming agents * fix type hints * update
- Loading branch information
1 parent
73c8326
commit 44465ce
Showing
7 changed files
with
402 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,33 @@ | ||
from .agent import Agent, AgentDict, AgentList, AsyncAgent, AsyncSequential, Sequential | ||
from .agent import ( | ||
Agent, | ||
AgentDict, | ||
AgentList, | ||
AsyncAgent, | ||
AsyncSequential, | ||
AsyncStreamingAgent, | ||
AsyncStreamingSequential, | ||
Sequential, | ||
StreamingAgent, | ||
StreamingSequential, | ||
) | ||
from .react import AsyncReAct, ReAct | ||
from .stream import AgentForInternLM, AsyncAgentForInternLM, AsyncMathCoder, MathCoder | ||
|
||
__all__ = [ | ||
'Agent', 'AgentDict', 'AgentList', 'AsyncAgent', 'AgentForInternLM', | ||
'AsyncAgentForInternLM', 'MathCoder', 'AsyncMathCoder', 'ReAct', | ||
'AsyncReAct', 'Sequential', 'AsyncSequential' | ||
'Agent', | ||
'AgentDict', | ||
'AgentList', | ||
'AsyncAgent', | ||
'AgentForInternLM', | ||
'AsyncAgentForInternLM', | ||
'MathCoder', | ||
'AsyncMathCoder', | ||
'ReAct', | ||
'AsyncReAct', | ||
'Sequential', | ||
'AsyncSequential', | ||
'StreamingAgent', | ||
'StreamingSequential', | ||
'AsyncStreamingAgent', | ||
'AsyncStreamingSequential', | ||
] |
Oops, something went wrong.