Issue: TypeError: TextGenerationModel.predict() got an unexpected keyword argument 'stop_sequences'
Labels: name: auto:bug, name: area: models

### Issue you'd like to raise.

I got this error when I built an ChatBot with Langchain using VertexAI. I'm seeing this error and couldn't find any details so far.

  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/base.py", line 292, in __call__
    raise e
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/base.py", line 286, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/conversational_retrieval/base.py", line 141, in _call
    answer = self.combine_docs_chain.run(
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/base.py", line 492, in run
    return self(kwargs, callbacks=callbacks, tags=tags, metadata=metadata)[
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/base.py", line 292, in __call__
    raise e
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/base.py", line 286, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/combine_documents/base.py", line 105, in _call
    output, extra_return_dict = self.combine_docs(
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/combine_documents/stuff.py", line 171, in combine_docs
    return self.llm_chain.predict(callbacks=callbacks, **inputs), {}
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/llm.py", line 257, in predict
    return self(kwargs, callbacks=callbacks)[self.output_key]
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/base.py", line 292, in __call__
    raise e
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/base.py", line 286, in __call__
    self._call(inputs, run_manager=run_manager)
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/llm.py", line 93, in _call
    response = self.generate([inputs], run_manager=run_manager)
  File "/opt/conda/lib/python3.10/site-packages/langchain/chains/llm.py", line 103, in generate
    return self.llm.generate_prompt(
  File "/opt/conda/lib/python3.10/site-packages/langchain/llms/base.py", line 504, in generate_prompt
    return self.generate(prompt_strings, stop=stop, callbacks=callbacks, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/langchain/llms/base.py", line 668, in generate
    new_results = self._generate_helper(
  File "/opt/conda/lib/python3.10/site-packages/langchain/llms/base.py", line 541, in _generate_helper
    raise e
  File "/opt/conda/lib/python3.10/site-packages/langchain/llms/base.py", line 528, in _generate_helper
    self._generate(
  File "/opt/conda/lib/python3.10/site-packages/langchain/llms/vertexai.py", line 281, in _generate
    res = completion_with_retry(
  File "/opt/conda/lib/python3.10/site-packages/langchain/llms/vertexai.py", line 102, in completion_with_retry
    return _completion_with_retry(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
  File "/opt/conda/lib/python3.10/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
  File "/opt/conda/lib/python3.10/site-packages/tenacity/__init__.py", line 314, in iter
    return fut.result()
  File "/opt/conda/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/opt/conda/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/opt/conda/lib/python3.10/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/langchain/llms/vertexai.py", line 100, in _completion_with_retry
    return llm.client.predict(*args, **kwargs)
TypeError: TextGenerationModel.predict() got an unexpected keyword argument 'stop_sequences'



### Suggestion:

_No response_