diff --git a/gptme/util/cli.py b/gptme/util/cli.py index 8f4eddb3..f6d6caab 100644 --- a/gptme/util/cli.py +++ b/gptme/util/cli.py @@ -229,7 +229,8 @@ def tools_call(tool_name: str, function_name: str, arg: list[str]): for arg_str in arg: key, value = arg_str.split("=", 1) kwargs[key] = value - function[0](**kwargs) + return_val = function[0](**kwargs) + print(return_val) if __name__ == "__main__":