diff --git a/libs/community/langchain_community/chat_models/outlines.py b/libs/community/langchain_community/chat_models/outlines.py index 443296225f4cb..2f98eb0d568fc 100644 --- a/libs/community/langchain_community/chat_models/outlines.py +++ b/libs/community/langchain_community/chat_models/outlines.py @@ -26,8 +26,7 @@ from langchain_core.messages import AIMessage, AIMessageChunk, BaseMessage from langchain_core.output_parsers import JsonOutputParser, PydanticOutputParser from langchain_core.outputs import ChatGeneration, ChatGenerationChunk, ChatResult -from langchain_core.prompt_values import PromptValue -from langchain_core.runnables import Runnable, RunnableLambda, RunnablePassthrough +from langchain_core.runnables import Runnable from langchain_core.tools import BaseTool from langchain_core.utils.function_calling import convert_to_openai_tool from pydantic import BaseModel, Field, model_validator