fix ollama max token issue (#1489)

### What problem does this PR solve?


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2024-07-12 16:37:32 +08:00
committed by GitHub
parent d5618749c9
commit a5a617b7a3
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ _IS_RAW_CONF = "_is_raw_conf"
class ComponentParamBase(ABC):
def __init__(self):
self.output_var_name = "output"
self.message_history_window_size = 4
self.message_history_window_size = 22
def set_name(self, name: str):
self._name = name