You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-12-29 21:26:52,736 xinference.api.restful_api 31152 ERROR [address=192.168.3.7:63101, pid=30092] can only concatenate str (not "list") to str
Traceback (most recent call last):
File "D:\envs\hss-inference\Lib\site-packages\xinference\api\restful_api.py", line 2098, in create_chat_completion
data = await model.chat(
^^^^^^^^^^^^^^^^^
File "D:\envs\hss-inference\Lib\site-packages\xoscar\backends\context.py", line 231, in send
return self._process_result_message(result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\envs\hss-inference\Lib\site-packages\xoscar\backends\context.py", line 102, in _process_result_message
raise message.as_instanceof_cause()
File "D:\envs\hss-inference\Lib\site-packages\xoscar\backends\pool.py", line 667, in send
result = await self._run_coro(message.message_id, coro)
^^^^^^^^^^^^^^^^^
File "D:\envs\hss-inference\Lib\site-packages\xoscar\backends\pool.py", line 370, in _run_coro
return await coro
File "D:\envs\hss-inference\Lib\site-packages\xoscar\api.py", line 384, in __on_receive__
return await super().__on_receive__(message) # type: ignore
^^^^^^^^^^^^^^^^^
File "xoscar\\core.pyx", line 558, in __on_receive__
raise ex
File "xoscar\\core.pyx", line 520, in xoscar.core._BaseActor.__on_receive__
async with self._lock:
^^^^^^^^^^^^^^^^^
File "xoscar\\core.pyx", line 521, in xoscar.core._BaseActor.__on_receive__
with debug_async_timeout('actor_lock_timeout',
^^^^^^^^^^^^^^^^^
File "xoscar\\core.pyx", line 526, in xoscar.core._BaseActor.__on_receive__
result = await result
^^^^^^^^^^^^^^^^^
File "D:\envs\hss-inference\Lib\site-packages\xinference\core\model.py", line 102, in wrapped_func
ret = await fn(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^
File "D:\envs\hss-inference\Lib\site-packages\xoscar\api.py", line 462, in _wrapper
r = await func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^
File "D:\envs\hss-inference\Lib\site-packages\xinference\core\utils.py", line 90, in wrapped
ret = await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^
File "D:\envs\hss-inference\Lib\site-packages\xinference\core\model.py", line 739, in chat
return await self.handle_batching_request(
^^^^^^^^^^^^^^^^^
File "D:\envs\hss-inference\Lib\site-packages\xinference\core\model.py", line 721, in handle_batching_request
result = await fut
^^^^^^^^^^^^^^^^^
ValueError: [address=192.168.3.7:63101, pid=30092] can only concatenate str (not "list") to str
Expected behavior / 期待表现
期待程序正常执行,返回一条sql语句,而不是报错: can only concatenate str (not "list") to str
The text was updated successfully, but these errors were encountered:
System Info / 系統信息
win11,transformer 版本为4.46.3,cuda版本为12.4,python版本为3.11.0
Running Xinference with Docker? / 是否使用 Docker 运行 Xinfernece?
Version info / 版本信息
v1.1.1
The command used to start Xinference / 用以启动 xinference 的命令
xinference-local -H 192.168.3.7 --port 7861 --auth-config auth.json
Reproduction / 复现过程
1、启动yi-coder-chat模型
2、编写客户端代码,通过restfulclient调用服务
客户端代码为:
3、编写提示词
4、运行程序调用ask_local_ai报错,详细报错信息为:
Expected behavior / 期待表现
期待程序正常执行,返回一条sql语句,而不是报错: can only concatenate str (not "list") to str
The text was updated successfully, but these errors were encountered: