simplify example code
This commit is contained in:
parent
56a4592521
commit
8d388ed217
|
@ -1,7 +1,5 @@
|
||||||
from smolagents.agents import ToolCallingAgent
|
from smolagents.agents import ToolCallingAgent
|
||||||
from smolagents import tool, HfApiModel, TransformersModel, LiteLLMModel, Model
|
from smolagents import tool, LiteLLMModel
|
||||||
from smolagents.tools import Tool
|
|
||||||
from smolagents.models import get_clean_message_list, tool_role_conversions
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
model = LiteLLMModel(model_id="openai/llama3.2",
|
model = LiteLLMModel(model_id="openai/llama3.2",
|
||||||
|
|
Loading…
Reference in New Issue