refactor(managed_agents/vms): move vm_providers/factory.py out of proxy

Phase 2 architecture rule: VM management code lives in
litellm/managed_agents/vms/, not litellm/proxy/. The proxy is control
plane only.

Tracks LIT-2879.
This commit is contained in:
Ishaan Jaffer 2026-05-06 19:29:53 -07:00
parent e319398a82
commit 1e13579a05
No known key found for this signature in database

View file

@ -20,9 +20,9 @@ from __future__ import annotations
from typing import Any, Dict, Optional
from litellm.proxy.agent_session_endpoints.vm_providers.base import AgentVMProvider
from litellm.proxy.agent_session_endpoints.vm_providers.ec2 import EC2Provider
from litellm.proxy.agent_session_endpoints.vm_providers.noop import NoopProvider
from litellm.managed_agents.vms.base import AgentVMProvider
from litellm.managed_agents.vms.ec2 import EC2Provider
from litellm.managed_agents.vms.noop import NoopProvider
# Registry of {name: factory_callable}. The factory takes the raw settings
# dict (e.g. `agent_settings.ec2`) so per-provider config stays inside the