Skip to content

Commit d4a84b3

Browse files
wendy-awrishsriv
authored andcommitted
move imports
1 parent 2a36bb5 commit d4a84b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_llm_tool_calls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
from io import StringIO
1717
import json
1818
import asyncio
19+
from anthropic.types import ToolUseBlock
20+
from google.genai import types
1921

2022
# ==================================================================================================
2123
# Functions for function calling
@@ -890,7 +892,6 @@ async def test_coroutine():
890892

891893

892894
class TestToolChainExceptionsAnthropic(unittest.TestCase):
893-
from anthropic.types import ToolUseBlock
894895

895896
def setUp(self):
896897
self.arithmetic_qn = "What is the product of 31283 and 2323, added to 5? Always use the tools provided for all calculation, even simple calculations. Return only the final answer, nothing else."
@@ -1049,7 +1050,6 @@ async def test_coroutine():
10491050

10501051

10511052
class TestToolChainExceptionsGemini(unittest.TestCase):
1052-
from google.genai import types
10531053

10541054
def setUp(self):
10551055
self.arithmetic_qn = "What is the product of 31283 and 2323, added to 5? Always use the tools provided for all calculation, even simple calculations. Return only the final answer, nothing else."

0 commit comments

Comments
 (0)