diff options
Diffstat (limited to 'autogpts/autogpt/autogpt/processing/text.py')
-rw-r--r-- | autogpts/autogpt/autogpt/processing/text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogpts/autogpt/autogpt/processing/text.py b/autogpts/autogpt/autogpt/processing/text.py index 8e5c0794b..4cebbabd6 100644 --- a/autogpts/autogpt/autogpt/processing/text.py +++ b/autogpts/autogpt/autogpt/processing/text.py @@ -160,7 +160,7 @@ async def _process_text( model_prompt=prompt.messages, model_name=model, temperature=0.5, - max_tokens=max_result_tokens, + max_output_tokens=max_result_tokens, completion_parser=lambda s: ( extract_list_from_json(s.content) if output_type is not str else None ), |