[Improvements] Add support for creating app from YAML string config (#980)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import yaml
|
||||
|
||||
from embedchain.utils import validate_yaml_config
|
||||
from embedchain.utils import validate_config
|
||||
|
||||
CONFIG_YAMLS = [
|
||||
"configs/anthropic.yaml",
|
||||
@@ -30,7 +30,7 @@ def test_all_config_yamls():
|
||||
assert config is not None
|
||||
|
||||
try:
|
||||
validate_yaml_config(config)
|
||||
validate_config(config)
|
||||
except Exception as e:
|
||||
print(f"Error in {config_yaml}: {e}")
|
||||
raise e
|
||||
|
||||
Reference in New Issue
Block a user