Skip to content

Commit 2219ef1

Browse files
Fix approaches accessed before initializing
1 parent a9c506d commit 2219ef1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

optillm/cepo/cepo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ def generate_n_completions(system_prompt: str, initial_query: str, client: Any,
254254
cb_log["system_prompt"] = system_prompt
255255
cb_log["initial_query"] = initial_query
256256
completions = []
257+
approaches = None
257258

258259
# Generate Approach and Descriptions
259260
if cepo_config.use_plan_diversity:

0 commit comments

Comments
 (0)