From 2fa983d50d3610cca0e73746fae47ceb206ba71a Mon Sep 17 00:00:00 2001 From: Salman Paracha Date: Sat, 23 Aug 2025 16:48:06 -0700 Subject: [PATCH] fixed doc tests --- crates/hermesllm/src/clients/endpoints.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/hermesllm/src/clients/endpoints.rs b/crates/hermesllm/src/clients/endpoints.rs index 2a943d85..7b6bb3fe 100644 --- a/crates/hermesllm/src/clients/endpoints.rs +++ b/crates/hermesllm/src/clients/endpoints.rs @@ -9,10 +9,10 @@ //! use hermesllm::clients::endpoints::supported_endpoints; //! //! // Check if we support an endpoint -//! use hermesllm::clients::endpoints::SupportedApi; -//! assert!(SupportedApi::from_endpoint("/v1/chat/completions").is_some()); -//! assert!(SupportedApi::from_endpoint("/v1/messages").is_some()); -//! assert!(!SupportedApi::from_endpoint("/v1/unknown").is_some()); +//! use hermesllm::clients::endpoints::SupportedAPIs; +//! assert!(SupportedAPIs::from_endpoint("/v1/chat/completions").is_some()); +//! assert!(SupportedAPIs::from_endpoint("/v1/messages").is_some()); +//! assert!(!SupportedAPIs::from_endpoint("/v1/unknown").is_some()); //! //! // Get all supported endpoints //! let endpoints = supported_endpoints();