Skip to content

Commit 3807724

Browse files
Correct type of the output of cepo
1 parent a1ae99e commit 3807724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optillm/cepo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def rate_completions_pairwise(system_prompt: str, initial_query: str, client, mo
294294
return completions[best_index], completion_tokens, cb_log
295295

296296

297-
def cepo(system_prompt: str, initial_query: str, client, model: str, cepo_config: Optional[CepoConfig] = None) -> list[str, int, dict]:
297+
def cepo(system_prompt: str, initial_query: str, client, model: str, cepo_config: Optional[CepoConfig] = None) -> tuple[str, int, dict]:
298298
if cepo_config is None:
299299
cepo_config = CepoConfig()
300300

0 commit comments

Comments
 (0)