Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

489 B
Raw Blame
"""
Shared configuration for SDK test providers using the SDK pattern.
"""

from backend.sdk import BlockCostType, ProviderBuilder

# Configure test providers
test_api = (
    ProviderBuilder("test_api")
    .with_api_key("TEST_API_KEY", "Test API Key")
    .with_base_cost(5, BlockCostType.RUN)
    .build()
)

test_service = (
    ProviderBuilder("test_service")
    .with_api_key("TEST_SERVICE_API_KEY", "Test Service API Key")
    .with_base_cost(10, BlockCostType.RUN)
    .build()
)