Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

feat: add azure and together to new agent loop (#3987)

cthomasca5d2827bce1
diff --git a/letta/server/rest_api/routers/v1/agents.py b/letta/server/rest_api/routers/v1/agents.py
index 691339fcd..1f27cdfa4 100644
--- a/letta/server/rest_api/routers/v1/agents.py
+++ b/letta/server/rest_api/routers/v1/agents.py
@@ -998,6 +998,8 @@ async def send_message(
"google_vertex",
"bedrock",
"ollama",
+ "azure",
+ "together",
]
# Create a new run for execution tracking
@@ -1140,6 +1142,8 @@ async def send_message_streaming(
"google_vertex",
"bedrock",
"ollama",
+ "azure",
+ "together",
]
model_compatible_token_streaming = agent.llm_config.model_endpoint_type in ["anthropic", "openai", "bedrock"]
@@ -1533,6 +1537,8 @@ async def preview_raw_payload(
"google_vertex",
"bedrock",
"ollama",
+ "azure",
+ "together",
]
if agent_eligible and model_compatible:
@@ -1601,6 +1607,8 @@ async def summarize_agent_conversation(
"google_vertex",
"bedrock",
"ollama",
+ "azure",
+ "together",
]
if agent_eligible and model_compatible: