mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-23 16:44:20 +01:00
fix: more stable generation
This commit is contained in:
@@ -44,7 +44,7 @@ def get_response(prompt_list: List[Tuple[str, str]]):
|
||||
for prompt in prompt_list
|
||||
]
|
||||
)
|
||||
response_generator_with_timeout = timeout_generator_wrapper(response_generator, 5)
|
||||
response_generator_with_timeout = timeout_generator_wrapper(response_generator, 10)
|
||||
total_chars_prompt += sum(len(prompt[1]) for prompt in prompt_list)
|
||||
complete_string = ''
|
||||
for chunk in response_generator_with_timeout:
|
||||
|
||||
Reference in New Issue
Block a user