Extract category cast config policy

This commit is contained in:
2026-06-27 00:22:17 +02:00
parent f3f9929df5
commit 4c31553409
6 changed files with 159 additions and 80 deletions
+6 -2
View File
@@ -4,11 +4,13 @@ import json
import random
try:
from .prompt_builder import (
from .category_cast_config import (
build_cast_config_json,
build_category_config_json,
cast_preset_choices,
category_preset_choices,
)
from .prompt_builder import (
subcategory_choices,
)
from .location_config import (
@@ -20,11 +22,13 @@ try:
location_theme_choices,
)
except ImportError: # Allows local smoke tests from the repository root.
from prompt_builder import (
from category_cast_config import (
build_cast_config_json,
build_category_config_json,
cast_preset_choices,
category_preset_choices,
)
from prompt_builder import (
subcategory_choices,
)
from location_config import (