Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /dislovelhl_enhanced-agent-bus /llm_adapters /cost_optimizer.py
| """ | |
| ACGS-2 Enhanced Agent Bus - Cost-Aware LLM Provider Selection | |
| Constitutional Hash: 608508a9bd224290 | |
| This module has been refactored into a modular structure. | |
| All functionality is now provided by the `cost` subpackage. | |
| This file provides backward compatibility re-exports. | |
| For new code, prefer importing directly from the `cost` subpackage: | |
| from enhanced_agent_bus.llm_adapters.cost import ( | |
| CostOptimizer, | |
| CostModel, | |
| BudgetManager, | |
| ... | |
| ) | |
| """ | |
| from enhanced_agent_bus.llm_adapters.cost import ( | |
| BatchOptimizer, | |
| BatchRequest, | |
| BatchResult, | |
| BudgetLimit, | |
| # Classes | |
| BudgetManager, | |
| CostAnomaly, | |
| CostAnomalyDetector, | |
| CostEstimate, | |
| # Data classes | |
| CostModel, | |
| CostOptimizer, | |
| # Enums | |
| CostTier, | |
| QualityLevel, | |
| UrgencyLevel, | |
| # Global accessors | |
| get_cost_optimizer, | |
| initialize_cost_optimizer, | |
| ) | |
| __all__ = [ | |
| "BatchOptimizer", | |
| "BatchRequest", | |
| "BatchResult", | |
| "BudgetLimit", | |
| # Classes | |
| "BudgetManager", | |
| "CostAnomaly", | |
| "CostAnomalyDetector", | |
| "CostEstimate", | |
| # Data classes | |
| "CostModel", | |
| "CostOptimizer", | |
| # Enums | |
| "CostTier", | |
| "QualityLevel", | |
| "UrgencyLevel", | |
| # Global accessors | |
| "get_cost_optimizer", | |
| "initialize_cost_optimizer", | |
| ] | |
Xet Storage Details
- Size:
- 1.3 kB
- Xet hash:
- 2997dc19e338d283ad388aebaf742052ba71af774059e0ec3dcf7e9cc9f1a9f6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.