feat: enforce master token authentication and reasoning support

- Added strict token validation against LLM_PROXY__SERVER__AUTH_TOKENS.
- Integrated 'reasoning_content' support into providers and server responses.
- Updated AppState to carry valid auth tokens for request-time validation.
This commit is contained in:
2026-02-26 14:12:51 -05:00
parent 1755075657
commit 3aaa309d38
5 changed files with 27 additions and 9 deletions

View File

@@ -113,7 +113,7 @@ async fn main() -> Result<()> {
};
// Create application state
let state = AppState::new(provider_manager, db_pool, rate_limit_manager, model_registry);
let state = AppState::new(provider_manager, db_pool, rate_limit_manager, model_registry, config.server.auth_tokens.clone());
// Create application router
let app = Router::new()