From 8d388ed217adfc49816fba07609a1393b6ef8e68 Mon Sep 17 00:00:00 2001 From: Robert Haase Date: Mon, 30 Dec 2024 12:48:56 +0100 Subject: [PATCH] simplify example code --- examples/tool_calling_agent_ollama.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/tool_calling_agent_ollama.py b/examples/tool_calling_agent_ollama.py index 58b65e0..0393549 100644 --- a/examples/tool_calling_agent_ollama.py +++ b/examples/tool_calling_agent_ollama.py @@ -1,7 +1,5 @@ from smolagents.agents import ToolCallingAgent -from smolagents import tool, HfApiModel, TransformersModel, LiteLLMModel, Model -from smolagents.tools import Tool -from smolagents.models import get_clean_message_list, tool_role_conversions +from smolagents import tool, LiteLLMModel from typing import Optional model = LiteLLMModel(model_id="openai/llama3.2",