-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] [Module Name] Bug title can not save the AWEL workflow #2013
Comments
@fluentlymos Please provide a screenshot of the AWEL flow and error logs in python server. |
sure, @fangyinc please see blow snapshot for the AWEL flow: 2024-09-12 20:19:03 Will-PC dbgpt.serve.core.schemas[20536] ERROR common_exception_handler catch Exception: success=False err_code='E0003' err_msg="Unable to generate pydantic-core schema for <class 'dbgpt.core.awel.dag.base.DAG'>. Set |
我是用v0.6.0版本也遇到了这个问题,不过源码就没问题,可能是官方提供的镜像有问题,可以试试用 /docker/base/Dockerfile 自己build一下 |
尝试了下,直接build也不行,这个问题应该是pydantic版本不一致导入的,在build镜像时,需要手动把pydantic版本调整下 ...
RUN pip3 install -i $PIP_INDEX_URL fastapi==0.111.0 pydantic==2.7.4 pydantic_core==2.18.410
... |
Search before asking
Operating system information
Windows
Python version information
3.10
DB-GPT version
latest release
Related scenes
Installation Information
Installation From Source
Docker Installation
Docker Compose Installation
Cluster Installation
AutoDL Image
Other
Device information
cpu
Models information
LLM: ERNIE-4.0-Turbo-8K
What happened
我跟着操作手册创建awel工作流,按照图示创建,然后点保存出现了以下错误:
load系统内置工作流保存,同样报错。
根据报错信息确定arbitrary_types_allowed=True 设置没错。
What you expected to happen
工作流能够顺利保存
How to reproduce
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: