Skip to content

Commit 9137921

Browse files
committed
double the context length
1 parent be1ef9b commit 9137921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeflash/context/code_context_extractor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
def get_code_optimization_context(
3333
function_to_optimize: FunctionToOptimize,
3434
project_root_path: Path,
35-
optim_token_limit: int = 8000,
36-
testgen_token_limit: int = 8000,
35+
optim_token_limit: int = 16000,
36+
testgen_token_limit: int = 16000,
3737
) -> CodeOptimizationContext:
3838
# Get FunctionSource representation of helpers of FTO
3939
helpers_of_fto_dict, helpers_of_fto_list = get_function_sources_from_jedi(

0 commit comments

Comments
 (0)