File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,30 +29,21 @@ def test_defaults(self) -> None:
2929 cfg = AgentConfig ()
3030 assert cfg .name == "hawk-agent"
3131 assert cfg .model is None
32- assert cfg .system_prompt is None
3332 assert cfg .tools == []
3433 assert cfg .max_rounds == 10
35- assert cfg .temperature is None
36- assert cfg .top_p is None
3734
3835 def test_custom_config (self ) -> None :
3936 t = Tool (name = "ping" , description = "pong" )
4037 cfg = AgentConfig (
4138 name = "custom" ,
4239 model = "claude-sonnet-4-20250514" ,
43- system_prompt = "Be helpful" ,
4440 tools = [t ],
4541 max_rounds = 5 ,
46- temperature = 0.7 ,
47- top_p = 0.9 ,
4842 )
4943 assert cfg .name == "custom"
5044 assert cfg .model == "claude-sonnet-4-20250514"
51- assert cfg .system_prompt == "Be helpful"
5245 assert cfg .tools == [t ]
5346 assert cfg .max_rounds == 5
54- assert cfg .temperature == 0.7
55- assert cfg .top_p == 0.9
5647
5748
5849class TestAgent :
You can’t perform that action at this time.
0 commit comments