Skip to content

Commit 69ee369

Browse files
committed
linting
1 parent 72e2ff1 commit 69ee369

File tree

1 file changed

+5
-4
lines changed
  • libs/partners/openai/langchain_openai/chat_models

1 file changed

+5
-4
lines changed

libs/partners/openai/langchain_openai/chat_models/base.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
ToolCall,
4646
ToolMessage,
4747
ToolMessageChunk,
48+
is_data_content_block,
4849
)
4950
from langchain_core.messages import content as types
50-
from langchain_core.messages import is_data_content_block
5151
from langchain_core.messages.ai import (
5252
InputTokenDetails,
5353
OutputTokenDetails,
@@ -86,6 +86,10 @@
8686
is_basemodel_subclass,
8787
)
8888
from langchain_core.utils.utils import _build_model_kwargs, from_env, secret_from_env
89+
from pydantic import BaseModel, ConfigDict, Field, SecretStr, model_validator
90+
from pydantic.v1 import BaseModel as BaseModelV1
91+
from typing_extensions import Self
92+
8993
from langchain_openai.chat_models._client_utils import (
9094
_get_default_async_httpx_client,
9195
_get_default_httpx_client,
@@ -95,9 +99,6 @@
9599
_convert_from_v1_to_responses,
96100
_convert_to_v03_ai_message,
97101
)
98-
from pydantic import BaseModel, ConfigDict, Field, SecretStr, model_validator
99-
from pydantic.v1 import BaseModel as BaseModelV1
100-
from typing_extensions import Self
101102

102103
if TYPE_CHECKING:
103104
from openai.types.responses import Response

0 commit comments

Comments
 (0)