Function start_server_with_custom_endpoints
Source pub async fn start_server_with_custom_endpoints(
config: Config,
address: &str,
custom_endpoints: Option<CustomEndpointsConfig>,
) -> Result<()>
Expand description
Starts the HTTP server with custom endpoints.
§Arguments
config - The configuration to use for the LLM client.
address - The address to bind to (e.g., “127.0.0.1:8000”).
custom_endpoints - Optional custom endpoints configuration.
§Returns
A Result that resolves when the server shuts down.