fix: type casting

This commit is contained in:
Timothy J. Baek 2024-06-12 01:35:42 -07:00
parent edae1ca4c7
commit eead69068c

View File

@ -680,9 +680,11 @@ Question:
SEARCH_QUERY_PROMPT_LENGTH_THRESHOLD = PersistentConfig(
"SEARCH_QUERY_PROMPT_LENGTH_THRESHOLD",
"task.search.prompt_length_threshold",
os.environ.get(
"SEARCH_QUERY_PROMPT_LENGTH_THRESHOLD",
100,
int(
os.environ.get(
"SEARCH_QUERY_PROMPT_LENGTH_THRESHOLD",
100,
)
),
)