Enable runtime access to provider name (#5399)
This commit is contained in:
@@ -309,6 +309,10 @@ mod tests {
|
||||
crate::providers::base::ProviderMetadata::empty()
|
||||
}
|
||||
|
||||
fn get_name(&self) -> &str {
|
||||
"mock"
|
||||
}
|
||||
|
||||
fn get_model_config(&self) -> ModelConfig {
|
||||
self.model_config.clone()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user