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
un_stream ai response: {"intent": "Normal Chat", "thought": "User asked who you are, matched to the Normal Chat intent, no need to fill any slots, the language of user question is chinese, i generate `user_input` in chinese", "task_name": "chat_normal", "slots": {}, "ask_user": "", "user_input": "你是谁?"}
2024-07-12 15:59:39 AT10603-M3.local asyncio[56055] ERROR Task exception was never retrieved
future: <Task finished name='Task-185' coro=<<async_generator_athrow without __name__>()> exception=RuntimeError('DAG context not found with event loop task id 13418721120, task_name: Task-185')>
Traceback (most recent call last):
File "/app/db-gpt/dbgpt/serve/flow/service/service.py", line 609, in _safe_chat_stream_with_dag_task
async for output in _chat_stream_with_dag_task(task, request, incremental):
File "/app/db-gpt/dbgpt/serve/flow/service/service.py", line 653, in _chat_stream_with_dag_task
async for output in await task.call_stream(request):
File "/app/db-gpt/dbgpt/util/tracer/tracer_impl.py", line 190, in wrapper
async for item in generator:
File "/app/db-gpt/dbgpt/core/interface/operators/llm_operator.py", line 324, in streamify
async for output in self.llm_client.generate_stream(request): # type: ignore
File "/app/db-gpt/dbgpt/model/cluster/client.py", line 89, in generate_stream
async for output in self.worker_manager.generate_stream(request.to_dict()):
File "/app/db-gpt/dbgpt/model/cluster/worker/manager.py", line 697, in generate_stream
async for output in self.worker_manager.generate_stream(params, **kwargs):
File "/app/db-gpt/dbgpt/model/cluster/worker/manager.py", line 346, in generate_stream
async for outout in worker_run_data.worker.async_generate_stream(
File "/app/db-gpt/dbgpt/model/cluster/worker/remote_worker.py", line 58, in async_generate_stream
async with client.stream(
File "/Users/user/miniconda3/envs/dbgpt_new/lib/python3.10/contextlib.py", line 199, in __aenter__
return await anext(self.gen)
File "/Users/user/miniconda3/envs/dbgpt_new/lib/python3.10/site-packages/httpx/_client.py", line 1604, in stream
request = self.build_request(
File "/Users/user/miniconda3/envs/dbgpt_new/lib/python3.10/site-packages/httpx/_client.py", line 357, in build_request
return Request(
File "/Users/user/miniconda3/envs/dbgpt_new/lib/python3.10/site-packages/httpx/_models.py", line 340, in __init__
headers, stream = encode_request(
File "/Users/user/miniconda3/envs/dbgpt_new/lib/python3.10/site-packages/httpx/_content.py", line 212, in encode_request
return encode_json(json)
File "/Users/user/miniconda3/envs/dbgpt_new/lib/python3.10/site-packages/httpx/_content.py", line 175, in encode_json
body = json_dumps(json).encode("utf-8")
File "/Users/user/miniconda3/envs/dbgpt_new/lib/python3.10/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/Users/user/miniconda3/envs/dbgpt_new/lib/python3.10/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/Users/user/miniconda3/envs/dbgpt_new/lib/python3.10/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/Users/user/miniconda3/envs/dbgpt_new/lib/python3.10/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type IntentDetectionResponse is not JSON serializable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/db-gpt/dbgpt/serve/flow/service/service.py", line 612, in _safe_chat_stream_with_dag_task
yield ModelOutput(error_code=1, text=str(e), incremental=incremental)
GeneratorExit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/db-gpt/dbgpt/serve/flow/service/service.py", line 616, in _safe_chat_stream_with_dag_task
await task.dag._after_dag_end(task.current_event_loop_task_id)
File "/app/db-gpt/dbgpt/core/awel/dag/base.py", line 723, in _after_dag_end
raise RuntimeError(
RuntimeError: DAG context not found with event loop task id 13418721120, task_name: Task-185
The text was updated successfully, but these errors were encountered:
使和 all-in-one-entrance 聊天,报如下错识破,错误statck, dbgpt最新代码,all-in-one-entrance也是最新代码
The text was updated successfully, but these errors were encountered: