Skip to content

Commit 377d986

Browse files
committed
refactor: remove unused imports from various modules
1 parent 6e495ee commit 377d986

4 files changed

Lines changed: 1 addition & 4 deletions

File tree

python/langchain/promptpipe_agent/agents/coordinator_agent.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from typing import Optional
55

66
from langchain_core.messages import HumanMessage, SystemMessage
7-
from langchain_core.tools import tool
87
from langchain_openai import ChatOpenAI
98

109
from promptpipe_agent.config import settings

python/langchain/promptpipe_agent/tools/prompt_generator_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _run(self, participant_id: str) -> str:
9090

9191
return generated_prompt
9292

93-
except Exception as e:
93+
except Exception:
9494
# Fallback to default prompt on error
9595
return (
9696
"If your phone buzzes, take 50 steps, either walking around or walking in place. "

python/langchain/promptpipe_agent/tools/state_transition_tool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""State transition tool for conversation flow."""
22

3-
from typing import Any
43

54
from langchain.tools import BaseTool
65
from pydantic import BaseModel, Field

python/langchain/tests/unit/test_models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from datetime import datetime
44

5-
import pytest
65

76
from promptpipe_agent.models.schemas import (
87
ConversationHistory,

0 commit comments

Comments
 (0)