File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -927,7 +927,9 @@ async def generate_gen(
927927 params .frequency_penalty ,
928928 params .presence_penalty ,
929929 penalty_range ,
930- max (repetition_decay , 1 ), # TODO: Allow decay = 0 when exl3 kernel fix is pushed (v0.0.27)
930+ max (
931+ repetition_decay , 1
932+ ), # TODO: Allow decay = 0 when exl3 kernel fix is pushed (v0.0.27)
931933 )
932934
933935 # Apply temperature first to builder
Original file line number Diff line number Diff line change 2020from common .utils import unwrap
2121
2222_w = os .getenv ("TABBY_LOG_CONSOLE_WIDTH" )
23- _default_console_width = int (_w ) if _w .isnumeric () else None
23+ _default_console_width = int (_w ) if _w is not None and _w .isnumeric () else None
2424RICH_CONSOLE = Console (width = _default_console_width )
2525LOG_LEVEL = os .getenv ("TABBY_LOG_LEVEL" , "INFO" )
2626
You can’t perform that action at this time.
0 commit comments