add routing
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import tyro
|
||||
|
||||
from lang_agent.graphs.react import ReactGraphConfig
|
||||
from lang_agent.graphs.routing import RoutingConfig
|
||||
|
||||
graph_dict = {
|
||||
"react": ReactGraphConfig()
|
||||
"react": ReactGraphConfig(),
|
||||
"route": RoutingConfig()
|
||||
}
|
||||
|
||||
graph_union = tyro.extras.subcommand_type_from_defaults(graph_dict, prefix_names=False)
|
||||
|
||||
Reference in New Issue
Block a user