Skip to content

[BUG] 简洁阐述问题 / Concise description of the issue #5441

@shengmengru

Description

@shengmengru

这些报错怎么解决啊
附加信息 / Additional Information
2026-01-08 08:48:12.466 | ERROR | chatchat.server.utils:check_embed_model:355 - failed to access embed model 'quentinz/bge-large-zh-v1.5': Error raised by inference API HTTP code: 404, {"error":"model "quentinz/bge-large-zh-v1.5" not found, try pulling it first"}
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/sse_starlette/sse.py", line 269, in call
await wrap(partial(self.listen_for_disconnect, receive))
File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/sse_starlette/sse.py", line 258, in wrap
await func()
File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/sse_starlette/sse.py", line 215, in listen_for_disconnect
message = await receive()
File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 563, in receive
await self.message_event.wait()
File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/asyncio/locks.py", line 309, in wait
await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

  • Exception Group Traceback (most recent call last):
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
    | result = await app( # type: ignore[func-returns-value]
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in call
    | return await self.app(scope, receive, send)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/fastapi/applications.py", line 1054, in call
    | await super().call(scope, receive, send)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/applications.py", line 123, in call
    | await self.middleware_stack(scope, receive, send)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/middleware/errors.py", line 186, in call
    | raise exc
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/middleware/errors.py", line 164, in call
    | await self.app(scope, receive, _send)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/middleware/exceptions.py", line 62, in call
    | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    | raise exc
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    | await app(scope, receive, sender)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/routing.py", line 758, in call
    | await self.middleware_stack(scope, receive, send)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/routing.py", line 778, in app
    | await route.handle(scope, receive, send)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/routing.py", line 299, in handle
    | await self.app(scope, receive, send)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/routing.py", line 79, in app
    | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    | raise exc
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    | await app(scope, receive, sender)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/starlette/routing.py", line 77, in app
    | await response(scope, receive, send)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/sse_starlette/sse.py", line 269, in call
    | await wrap(partial(self.listen_for_disconnect, receive))
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 685, in aexit
    | raise BaseExceptionGroup(
    | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
    +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/sse_starlette/sse.py", line 258, in wrap
    | await func()
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/sse_starlette/sse.py", line 246, in stream_response
    | chunk = ensure_bytes(data, self.sep)
    | File "/gfs/users/shengmr/miniconda3/envs/llm/lib/python3.8/site-packages/sse_starlette/sse.py", line 137, in ensure_bytes
    | return ServerSentEvent(**data).encode()
    | TypeError: init() got an unexpected keyword argument 'code'
    +------------------------------------
    2026-01-08 08:48:12.504 | ERROR | chatchat.webui_pages.utils:ret_sync:208 - RemoteProtocolError: API通信遇到错误:peer closed connection withoung complete message body (incomplete chunked read)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions