Skip to content

Commit de03c2c

Browse files
committed
Update main.py
1 parent 7f4a174 commit de03c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optillm/plugins/spl/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def run_spl(system_prompt: str, initial_query: str, client, model: str, request_
151151

152152
# Log a suggestion if no strategies found in inference mode
153153
if not learning_mode and not existing_strategies:
154-
logger.info("Suggesting to enable learning mode: To create and learn strategies for this problem type, enable learning mode by setting 'spl_learning=True' in the request config.")
154+
logger.info(f"No strategies exist for problem type '{problem_type}'. To learn strategies for this specific problem type, enable learning mode by setting 'spl_learning=True' in the request config.")
155155

156156
# Use unmodified query - no need to add fallback message to the actual query
157157
initial_query_with_suggestion = initial_query

0 commit comments

Comments
 (0)