Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
init LangGraphConfig
  • Loading branch information
ishaan-jaff committed Dec 10, 2025
commit fbe75d39f89a93a0759b41b0dbbf3d5e7aa00d2a
12 changes: 8 additions & 4 deletions litellm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
)
from litellm.litellm_core_utils.credential_accessor import CredentialAccessor
from litellm.litellm_core_utils.default_encoding import encoding
from litellm.litellm_core_utils.dot_notation_indexing import (
delete_nested_value,
is_nested_path,
)
from litellm.litellm_core_utils.exception_mapping_utils import (
_get_response_headers,
exception_type,
Expand Down Expand Up @@ -138,10 +142,6 @@
LiteLLMLoggingObject,
redact_message_input_output_from_logging,
)
from litellm.litellm_core_utils.dot_notation_indexing import (
delete_nested_value,
is_nested_path,
)
from litellm.litellm_core_utils.rules import Rules
from litellm.litellm_core_utils.streaming_handler import CustomStreamWrapper
from litellm.litellm_core_utils.token_counter import get_modified_max_tokens
Expand Down Expand Up @@ -7288,6 +7288,10 @@ def get_provider_chat_config( # noqa: PLR0915
return litellm.OVHCloudChatConfig()
elif litellm.LlmProviders.AMAZON_NOVA == provider:
return litellm.AmazonNovaChatConfig()
elif litellm.LlmProviders.LANGGRAPH == provider:
from litellm.llms.langgraph.chat.transformation import LangGraphConfig

return LangGraphConfig()
return None

@staticmethod
Expand Down