Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions litellm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ def add_known_models():
| vertex_deepseek_models,
"ai21": ai21_models,
"bedrock": bedrock_models | bedrock_converse_models,
"agentcore": set(), # AgentCore supports dynamic agent models
"petals": petals_models,
"ollama": ollama_models,
"ollama_chat": ollama_models,
Expand Down
5 changes: 5 additions & 0 deletions litellm/litellm_core_utils/get_llm_provider_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,11 @@ def get_llm_provider( # noqa: PLR0915
custom_llm_provider = "lemonade"
elif model.startswith("clarifai/"):
custom_llm_provider = "clarifai"
# bedrock agentcore models
elif model.startswith("bedrock/agentcore/"):
custom_llm_provider = "bedrock"
# Strip the prefix for model parsing
model = model.replace("bedrock/agentcore/", "", 1)
if not custom_llm_provider:
if litellm.suppress_debug_info is False:
print() # noqa
Expand Down
9 changes: 9 additions & 0 deletions litellm/llms/bedrock/agentcore/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"""
AWS Bedrock AgentCore Runtime Provider

This module provides support for AWS Bedrock AgentCore Runtime API.
"""

from .handler import AgentCoreConfig, completion, acompletion

__all__ = ["AgentCoreConfig", "completion", "acompletion"]
Loading
Loading