Skip to content

Commit

Permalink
Update actions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tommygonzaleza authored Jan 9, 2025
1 parent bc0ece0 commit 1d1c0dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions breathecode/registry/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,8 +788,9 @@ def process_asset_config(asset, config):
asset.with_solutions = True
asset.with_video = True

if "agent" in config:
asset.agent = config["agent"]
if "editor" in config:
if "agent" in config["editor"]:
asset.agent = config["editor"]["agent"]

if "solution" in config:
asset.with_solutions = True
Expand Down

0 comments on commit 1d1c0dc

Please sign in to comment.