This commit is contained in:
Nuno Campos
2024-01-17 13:55:26 -08:00
parent aa2eb4606d
commit e245b1d2ff
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -122,3 +122,4 @@ def _is_field_binop(typ: Type[Any]) -> Optional[BinaryOperatorAggregate]:
]
):
return BinaryOperatorAggregate(typ, meta[0])
return None
+1 -1
View File
@@ -104,7 +104,7 @@ class ChannelInvoke(RunnableBindingBase):
when=when,
bound=bound or default_bound,
kwargs=kwargs or {},
config=merge_configs(config, {"tags": tags}),
config=merge_configs(config, {"tags": tags or []}),
**other_kwargs,
)
+1 -1
View File
@@ -811,7 +811,7 @@ def test_conditional_graph_state() -> None:
]
)
def agent_parser(input: str) -> Union[AgentAction, AgentFinish]:
def agent_parser(input: str) -> dict[str, Union[AgentAction, AgentFinish]]:
if input.startswith("finish"):
_, answer = input.split(":")
return {
+1 -1
View File
@@ -865,7 +865,7 @@ async def test_conditional_graph_state() -> None:
]
)
def agent_parser(input: str) -> Union[AgentAction, AgentFinish]:
def agent_parser(input: str) -> dict[str, Union[AgentAction, AgentFinish]]:
if input.startswith("finish"):
_, answer = input.split(":")
return {