configuration: added tests
This commit is contained in:
@@ -87,7 +87,7 @@ def ai_config_instance(name: str, conf_dict: Optional[dict[str, Any]] = None) ->
|
||||
else:
|
||||
return OpenAIConfig.from_dict(conf_dict)
|
||||
else:
|
||||
raise ConfigError(f"AI '{name}' is not supported")
|
||||
raise ConfigError(f"Unknown AI '{name}'")
|
||||
|
||||
|
||||
def create_default_ai_configs() -> dict[str, AIConfig]:
|
||||
|
||||
Reference in New Issue
Block a user