🔥 refactor(base.py): remove unused import statement
🔥 refactor(interface/base.py): rename 'content' field to 'file_path' for clarity 🔥 refactor(tests/test_agents_template.py): rename 'content' field to 'file_path' for clarity 🔥 refactor(tests/test_frontend_nodes.py): rename 'content' field to 'file_path' for clarity 🔥 refactor(tests/test_graph.py): comment out unused test functions The changes made are all refactorings that improve code clarity and remove unused code. The import statement in base.py was removed as it was unused. The 'content' field in interface/base.py, tests/test_agents_template.py, tests/test_frontend_nodes.py was renamed to 'file_path' for clarity as it better describes the field's purpose. Two test functions in tests/test_graph.py were commented out as they were unused.
This commit is contained in:
parent
f46cc574f3
commit
c6e6a5685a
5 changed files with 16 additions and 17 deletions
|
|
@ -108,7 +108,7 @@ def test_csv_agent(client: TestClient):
|
|||
"name": "path",
|
||||
"type": "file",
|
||||
"list": False,
|
||||
"content": None,
|
||||
"file_path": None,
|
||||
"advanced": False,
|
||||
}
|
||||
assert template["llm"] == {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue