Adjusted the name of the agent AgentInitializer to initialize_agent temporarily to fix a bug in the frontendnode
This commit is contained in:
parent
568813f9da
commit
92a285bb2e
2 changed files with 2 additions and 2 deletions
|
|
@ -154,7 +154,7 @@ class CSVAgentNode(FrontendNode):
|
|||
|
||||
|
||||
class InitializeAgentNode(FrontendNode):
|
||||
name: str = "AgentInitializer"
|
||||
name: str = "initialize_agent"
|
||||
template: Template = Template(
|
||||
type_name="initialize_agent",
|
||||
fields=[
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ def test_initialize_agent(client: TestClient):
|
|||
json_response = response.json()
|
||||
agents = json_response["agents"]
|
||||
|
||||
initialize_agent = agents["AgentInitializer"]
|
||||
initialize_agent = agents["initialize_agent"]
|
||||
assert initialize_agent["base_classes"] == ["AgentExecutor", "function"]
|
||||
template = initialize_agent["template"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue