diff --git a/src/fish_ai/engine.py b/src/fish_ai/engine.py index a0dcaa3..e7bd0e3 100644 --- a/src/fish_ai/engine.py +++ b/src/fish_ai/engine.py @@ -218,7 +218,7 @@ def get_response(messages): else: completions = get_openai_client().chat.completions.create( model=get_config('model') or 'gpt-4', - max_tokens=8192, + max_tokens=1024, messages=messages, stream=False, temperature=float(get_config('temperature') or '0.2'),