Skip to content

Commit

Permalink
fix json_schemas not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
bingoko committed Apr 17, 2023
1 parent 31900f6 commit 6787c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogpt/json_utils/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def validate_json(json_object: object, schema_name: object) -> object:
:param schema_name:
:type json_object: object
"""
with open(f"autogpt/json_schemas/{schema_name}.json", "r") as f:
with open(f"autogpt/json_utils/{schema_name}.json", "r") as f:
schema = json.load(f)
validator = Draft7Validator(schema)

Expand Down

0 comments on commit 6787c2e

Please sign in to comment.