- Exclude problematic markdown files from linting (existing legacy issues) - Make clippy check less aggressive (warnings only, not -D warnings) - Move cargo test to manual stage (too slow for pre-commit) - Exclude SVG files from end-of-file-fixer and trailing-whitespace - Add markdown linting exclusions for existing documentation This allows pre-commit hooks to run successfully on new code without blocking commits due to existing issues in legacy documentation files.
27 lines
982 B
Rust
27 lines
982 B
Rust
// vapora-llm-router: Multi-IA routing for VAPORA v1.0
|
|
// Phase 3: typedialog-ai integration with real LLM providers
|
|
// Phase 5.4: Cost optimization and budget enforcement
|
|
|
|
pub mod budget;
|
|
pub mod config;
|
|
pub mod cost_metrics;
|
|
pub mod cost_ranker;
|
|
pub mod cost_tracker;
|
|
pub mod embeddings;
|
|
pub mod providers;
|
|
pub mod router;
|
|
|
|
// Re-exports
|
|
pub use budget::{BudgetConfig, BudgetConfigError, BudgetManager, BudgetStatus, RoleBudget};
|
|
pub use config::{LLMRouterConfig, ProviderConfig, RoutingRule};
|
|
pub use cost_metrics::CostMetrics;
|
|
pub use cost_ranker::{CostRanker, ProviderCostScore};
|
|
pub use cost_tracker::{CostReport, CostTracker, TokenCount, UsageStats};
|
|
pub use embeddings::{
|
|
create_embedding_provider, EmbeddingError, EmbeddingProvider, HuggingFaceEmbedding,
|
|
OllamaEmbedding, OpenAIEmbedding,
|
|
};
|
|
pub use providers::{
|
|
ClaudeClient, CompletionResponse, LLMClient, OllamaClient, OpenAIClient, ProviderError,
|
|
};
|
|
pub use router::{LLMRouter, ProviderStats, RouterError};
|