异常“connect error“

私有模型-ollama-添加模型成功。创建应用,AI模型选择添加的模型,提问回答显示异常“connect error“。
unexpected-exception日志文件中提示openai.APIConnectionError: Connection error.

Traceback (most recent call last):
  File "/opt/maxkb/app/apps/application/chat_pipeline/step/chat_step/impl/base_chat_step.py", line 68, in event_content
    for chunk in response:
  File "/opt/py3/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 411, in stream
    raise e
  File "/opt/py3/lib/python3.11/site-packages/langchain_core/language_models/chat_models.py", line 391, in stream
    for chunk in self._stream(messages, stop=stop, **kwargs):
  File "/opt/py3/lib/python3.11/site-packages/langchain_openai/chat_models/base.py", line 637, in _stream
    response = self.client.create(**payload)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/py3/lib/python3.11/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/py3/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 859, in create
    return self._post(
           ^^^^^^^^^^^
  File "/opt/py3/lib/python3.11/site-packages/openai/_base_client.py", line 1280, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/py3/lib/python3.11/site-packages/openai/_base_client.py", line 957, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/opt/py3/lib/python3.11/site-packages/openai/_base_client.py", line 1017, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/opt/py3/lib/python3.11/site-packages/openai/_base_client.py", line 1095, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/opt/py3/lib/python3.11/site-packages/openai/_base_client.py", line 1017, in _request
    return self._retry_request(
           ^^^^^^^^^^^^^^^^^^^^
  File "/opt/py3/lib/python3.11/site-packages/openai/_base_client.py", line 1095, in _retry_request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/opt/py3/lib/python3.11/site-packages/openai/_base_client.py", line 1027, in _request
    raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.

请问MaxKB版本是多少,以及是否使用官方标准安装包部署?
从这一段日志只能看到异常,看不到更详细的记录,无法确定由什么原因导致,请提供更详细的说明和日志。

(帖子已被作者删除)

版本v1.91,按照离线安装的说明文档部署的

私有模型-添加ollama,添加模型,填写API key,文档说明中提示没有配置API key可以填写任意字符。填写空格能保存模型,但是使用中调用模型报错,应该是不能填写空白字符。填写为除空白字符的其他字符,保存模型,再重新调用没有报错。