Close InferenceRequest::provider_model to the crate

Its only caller is the SDK inference router inside the library, and no
consumer names it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-16 11:56:55 +02:00
commit 9e514ebf15

View file

@ -119,7 +119,7 @@ pub struct InferenceRequest {
impl InferenceRequest {
/// The model this request names, read before it is prepared. Routing is the
/// one decision that has to be made on an unprepared request.
pub fn provider_model(&self) -> &str {
pub(crate) fn provider_model(&self) -> &str {
&self.provider.model
}
}