graph_union for later
This commit is contained in:
10
lang_agent/graphs/__init__.py
Normal file
10
lang_agent/graphs/__init__.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import tyro
|
||||
|
||||
from lang_agent.graphs.react import ReactGraphConfig
|
||||
|
||||
graph_dict = {
|
||||
"react": ReactGraphConfig()
|
||||
}
|
||||
|
||||
graph_union = tyro.extras.subcommand_type_from_defaults(graph_dict, prefix_names=False)
|
||||
AnnotatedGraph = tyro.conf.OmitSubcommandPrefixes[tyro.conf.SuppressFixed[graph_union]]
|
||||
Reference in New Issue
Block a user