(objective: String, position: String)
| 19 | |
| 20 | impl BasicTraits for BasicAgent { |
| 21 | fn new(objective: String, position: String) -> Self { |
| 22 | Self { |
| 23 | objective, |
| 24 | position, |
| 25 | state: AgentState::Discovery, |
| 26 | memory: Vec::from([]), |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | fn update_state(&mut self, new_state: AgentState) { |
| 31 | self.state = new_state; |
nothing calls this directly
no outgoing calls
no test coverage detected