saisha09 commited on
Commit
1674315
·
1 Parent(s): 9725104

current check for testing cost

Browse files
Files changed (1) hide show
  1. testing_cost.py +15 -0
testing_cost.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # In tool_manager.py
2
+ from default_tools.test_cost.agent_creator_tool import AgentCreator
3
+
4
+ def test_agent_creation():
5
+ creator = AgentCreator()
6
+ response = creator.run(
7
+ agent_name="costbenefit-test-agent",
8
+ system_prompt="You are an expert assistant helping with cost-based model selection.",
9
+ description="Tests agent creation using cost-benefit logic."
10
+ )
11
+ print("\nTest Output:")
12
+ print(response)
13
+
14
+ if __name__ == "__main__":
15
+ test_agent_creation()