| 32 | |
| 33 | ## !!define your method here !! |
| 34 | class SampleMethod(BaseToolMethod): |
| 35 | def __init__(self): |
| 36 | super().__init__() |
| 37 | def forward(self,query:str,tools:List[Dict],tool_func:Callable)->Dict: |
| 38 | return {} |
| 39 | def convert_result_to_dict(self,result): |
| 40 | return { |
| 41 | 'method': 'sample', |
| 42 | 'total_steps': 0, |
| 43 | 'final_answer': '', |
| 44 | 'answer_details': [] |
| 45 | } |
| 46 | |
| 47 | if __name__=='__main__': |
| 48 | args = parse_args() |
no outgoing calls
no test coverage detected