mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-22 16:48:57 +00:00
Fix linting issues in router_env agents - reduced errors from 80+ to 44
This commit is contained in:
parent
33926d44ec
commit
b244132c75
9 changed files with 82 additions and 76 deletions
|
|
@ -2,13 +2,11 @@ import logging # Added logging
|
|||
import os
|
||||
from typing import List, Optional # Add Optional & List import
|
||||
|
||||
from dotenv import load_dotenv
|
||||
from livekit.agents import mcp # Corrected import for mcp
|
||||
from livekit.agents import tts # Corrected import for tts module
|
||||
from livekit.agents import ( # Changed import; Add ChatContext & RunContext import
|
||||
from livekit.agents import ( # Changed import; Add ChatContext import
|
||||
ChatContext,
|
||||
JobContext,
|
||||
RunContext,
|
||||
WorkerOptions,
|
||||
cli,
|
||||
)
|
||||
|
|
@ -17,7 +15,6 @@ from livekit.agents.llm import ( # Added function_tool for delegate_to_router_a
|
|||
function_tool,
|
||||
)
|
||||
from livekit.agents.types import NOT_GIVEN # Corrected import for NOT_GIVEN
|
||||
from livekit.agents.utils.misc import is_given # Corrected import for is_given
|
||||
from livekit.agents.voice import Agent, AgentSession
|
||||
from livekit.plugins import deepgram, openai, silero
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue