Spaces:
Sleeping
Sleeping
Update agent.py
Browse files2 unmodified lines34567892 unmodified linesfrom huggingface_hub import InferenceClient# Importera smolagents komponenterfrom smolagents import ToolCallingAgent, Tool, InferenceClientModel# Importera dina befintliga, anpassade verktygsfunktioner# Se till att dessa filer (tavily_search.py, asr_tool.py, etc.) finns i samma katalog eller är korrekt importerbara.2 unmodified lines3456789102 unmodified linesfrom huggingface_hub import InferenceClient# Importera smolagents komponenterfrom smolagents import ToolCallingAgent, InferenceClientModel # <-- Ändrad härfrom smolagents.tool_calling import Tool # <-- NY: Explicit import av Tool# Importera dina befintliga, anpassade verktygsfunktioner# Se till att dessa filer (tavily_search.py, asr_tool.py, etc.) finns i samma katalog eller är korrekt importerbara.
agent.py+2-1