Differentiate custom from openrouter models
Split readme into multiple docs
This commit is contained in:
@@ -75,11 +75,11 @@ class OpenAICompatibleProvider(ModelProvider):
|
||||
logging.info(f"Configured allowed models for {self.FRIENDLY_NAME}: {sorted(models)}")
|
||||
return models
|
||||
|
||||
# Log warning if no allow-list configured for proxy providers
|
||||
# Log info if no allow-list configured for proxy providers
|
||||
if self.get_provider_type() not in [ProviderType.GOOGLE, ProviderType.OPENAI]:
|
||||
logging.warning(
|
||||
f"No model allow-list configured for {self.FRIENDLY_NAME}. "
|
||||
f"Set {env_var} to restrict model access and control costs."
|
||||
logging.info(
|
||||
f"Model allow-list not configured for {self.FRIENDLY_NAME} - all models permitted. "
|
||||
f"To restrict access, set {env_var} with comma-separated model names."
|
||||
)
|
||||
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user