From 3b4e3653a6fbc6b450b40bf9ad18d840443adb28 Mon Sep 17 00:00:00 2001 From: Felix Ocker Date: Tue, 20 Aug 2024 12:34:45 +0200 Subject: [PATCH] chore(tests): clean up --- tests/example.py | 26 -------------------------- tests/tools.py | 28 ---------------------------- 2 files changed, 54 deletions(-) delete mode 100644 tests/example.py delete mode 100644 tests/tools.py diff --git a/tests/example.py b/tests/example.py deleted file mode 100644 index 17d57f1..0000000 --- a/tests/example.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# -# ***DESCRIPTION***. -# -# Copyright (C) -# Honda Research Institute Europe GmbH -# Carl-Legien-Str. 30 -# 63073 Offenbach/Main -# Germany -# -# UNPUBLISHED PROPRIETARY MATERIAL. -# ALL RIGHTS RESERVED. -# -# - -from tulip_agent import CotTulipAgent, ToolLibrary - - -tulip = ToolLibrary( - chroma_sub_dir="tmp/", - file_imports=[("tools", [])], - default_timeout=1, -) -cta = CotTulipAgent(tool_library=tulip) -cta.query(prompt="What is 2+2?") \ No newline at end of file diff --git a/tests/tools.py b/tests/tools.py deleted file mode 100644 index fbe70ed..0000000 --- a/tests/tools.py +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# -# ***DESCRIPTION***. -# -# Copyright (C) -# Honda Research Institute Europe GmbH -# Carl-Legien-Str. 30 -# 63073 Offenbach/Main -# Germany -# -# UNPUBLISHED PROPRIETARY MATERIAL. -# ALL RIGHTS RESERVED. -# -# - -def add(a: float, b: float) -> float: - """ - Add two numbers. - - :param a: The first number. - :param b: The second number. - :return: The sum of a and b. - """ - import time - - time.sleep(10) - return a + b