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
GPU:3080TI
CPU:Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 128
On-line CPU(s) list: 0-127
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) Platinum 8336C CPU @ 2.30GHz
CPU family: 6
Model: 106
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 2
Stepping: 6
CPU max MHz: 3500.0000
CPU min MHz: 800.0000
BogoMIPS: 4600.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtsc
p lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nons
top_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est
tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe p
opcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowpref
etch cpuid_fault epb cat_l3 invpcid_single ssbd mba ibrs ibpb stibp ibrs enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adju
st bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed ad
x smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx5
12vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total
cqm_mbm_local split_lock_detect wbnoinvd dtherm ida arat pln pts avx512v
bmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512
bitalg tme avx512_vpopcntdq la57 rdpid fsrm md_clear pconfig flush_l1d a
rch_capabilities
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 3 MiB (64 instances)
L1i: 2 MiB (64 instances)
L2: 80 MiB (64 instances)
L3: 108 MiB (2 instances)
NUMA:
NUMA node(s): 2
NUMA node0 CPU(s): 0-31,64-95
NUMA node1 CPU(s): 32-63,96-127
Vulnerabilities:
Gather data sampling: Mitigation; Microcode
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Mitigation; Clear CPU buffers; SMT vulnerable
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Enhanced IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW
sequence; BHI Syscall hardening, KVM SW loop
Srbds: Not affected
Tsx async abort: Not affected
root@autodl-container-8964458727-765abc2d:~/DB-GPT#
Models information
deepseek-r1:1.5b
bge-m3:latest
What happened
When we create an AWEL workflow in the dbgpt web interface and save it, an error is reported: Request error: Unable to build operator task: operator_higher_order_knowledge_operator___$$rag$$___v1_0, operator_cls: <class 'dbgpt_app.operators.rag.HOKnowledgeOperator'>, error: 'NoneType' object has no attribute 'config'
What you expected to happen
We expect the created workflow files to be saved normally.
We think that the database or other necessary configuration may not be configured.
We have not configured the database
Our configuration is to use the official dbpgt-proxy-ollama.toml configuration directly
:[system]
Load language from environment variable(It is set by the hook)
language = "${env:DBGPT_LANG:-en}"
api_keys = []
encrypt_key = "your_secret_key"
Server Configurations
[service.web]
host = "0.0.0.0"
port = 6006
[service.web.database]
type = "sqlite"
path = "pilot/meta_data/dbgpt.db"
[rag.storage]
[rag.storage.vector]
type = "Chroma"
persist_path = "pilot/data"
3.uv run dbgpt start webserver --config configs/dbgpt-proxy-ollama.toml
4.Visit localhost:5670. Enter application management, AWEL workflow, create workflow
Create a basic dialogue llm workflow.Click Save
Additional context
When we create an AWEL workflow in the dbgpt web interface, an error will be reported after adding the LLM processing operation. Similarly, this error will also occur when calling the Demo in the dbgpts community.
我们的启动配置如下:dbgpt-proxy-ollama.toml
[system]
Load language from environment variable(It is set by the hook)
language = "${env:DBGPT_LANG:-en}"
api_keys = []
encrypt_key = "your_secret_key"
Server Configurations
[service.web]
host = "0.0.0.0"
port = 6006
[service.web.database]
type = "sqlite"
path = "pilot/meta_data/dbgpt.db"
[rag.storage]
[rag.storage.vector]
type = "Chroma"
persist_path = "pilot/data"
我们的完整报错日志如下:
root@autodl-container-8964458727-765abc2d:~/DB-GPT# uv run dbgpt start webserver --config configs/dbgpt-proxy-ollama.toml
ApplicationConfig(hooks=[], system=SystemParameters(language='en', log_level='INFO', api_keys=[], encrypt_key='your_secret_key'), service=ServiceConfig(web=ServiceWebParameters(host='0.0.0.0', port=6006, light=False, controller_addr=None, database=SQLiteConnectorParameters(path='pilot/meta_data/dbgpt.db', check_same_thread=False, driver='sqlite'), model_storage=None, trace=None, log=None, disable_alembic_upgrade=False, db_ssl_verify=False, default_thread_pool_size=None, remote_embedding=False, remote_rerank=False, awel_dirs=None, new_web_ui=True, model_cache=ModelCacheParameters(enable_model_cache=True, storage_type='memory', max_memory_mb=256, persist_dir='model_cache'), embedding_model_max_seq_len=512), model=ModelServiceConfig(worker=ModelWorkerParameters(host='0.0.0.0', port=8001, daemon=False, log=LoggingParameters(level='INFO', file=None), trace=None, worker_type=None, worker_class=None, standalone=False, register=True, worker_register_host=None, controller_addr=None, send_heartbeat=True, heartbeat_interval=20), api=ModelControllerParameters(host='0.0.0.0', port=8000, daemon=False, log=LoggingParameters(level='INFO', file=None), trace=None, registry=None, heartbeat_interval_secs=20, heartbeat_timeout_secs=60), controller=ModelControllerParameters(host='0.0.0.0', port=8000, daemon=False, log=LoggingParameters(level='INFO', file=None), trace=None, registry=None, heartbeat_interval_secs=20, heartbeat_timeout_secs=60))), models=ModelsDeployParameters(default_llm='deepseek-r1:1.5b', default_embedding='bge-m3:latest', default_reranker=None, llms=[OllamaDeployModelParameters(name='deepseek-r1:1.5b', provider='proxy/ollama', verbose=False, concurrency=5, backend=None, prompt_template=None, context_length=None, reasoning_model=None, api_base='http://localhost:11434')], embeddings=[OllamaEmbeddingDeployModelParameters(name='bge-m3:latest', provider='proxy/ollama', verbose=False, concurrency=100, api_url='http://localhost:11434', backend=None)], rerankers=[]), serves=[], rag=RagParameters(chunk_size=500, chunk_overlap=50, similarity_top_k=10, similarity_score_threshold=0, query_rewrite=False, max_chunks_once_load=10, max_threads=1, rerank_top_k=3, storage=StorageConfig(vector={'type': 'Chroma', 'persist_path': 'pilot/data'}, graph=BuiltinKnowledgeGraphConfig(type='TuGraph', name='dbgpt_collection', embedding_fn=None, max_chunks_once_load=10, max_threads=1, llm_client=None, model_name=None), full_text=BuiltinKnowledgeGraphConfig(type='TuGraph', name='dbgpt_collection', embedding_fn=None, max_chunks_once_load=10, max_threads=1, llm_client=None, model_name=None)), graph_search_top_k=3, graph_community_summary_enabled=False), trace=TracerParameters(file=None, root_operation_name=None, exporter=None, otlp_endpoint=None, otlp_insecure=None, otlp_timeout=None, tracer_storage_cls=None), log=LoggingParameters(level='INFO', file=None))
2025-03-08 11:10:03 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_unified_metadata_db_manager_factory and instance: <dbgpt.storage.metadata.db_factory.UnifiedDBManagerFactory object at 0x7f6b3169f3d0>
2025-03-08 11:10:03 autodl-container-8964458727-765abc2d dbgpt.datasource.rdbms.base[8922] INFO Closing RDBMS connector resources...
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_thread_pool_default and instance: <dbgpt.util.executor_utils.DefaultExecutorFactory object at 0x7f6b2cc9d050>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_default_scheduler and instance: <dbgpt_app.initialization.scheduler.DefaultScheduler object at 0x7f6b2d025a50>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_model_controller and instance: <dbgpt.model.cluster.controller.controller.ModelControllerAdapter object at 0x7f6b52643910>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_connector_manager and instance: <dbgpt_serve.datasource.manages.connector_manager.ConnectorManager object at 0x7f6b2d8e8650>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_plugin_hub and instance: <dbgpt_serve.agent.hub.controller.ModulePlugin object at 0x7f6b2ca861d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_multi_agents and instance: <dbgpt_serve.agent.agents.controller.MultiAgents object at 0x7f6b2d04c490>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt_app.initialization.embedding_component[8922] INFO Register remote RemoteEmbeddingFactory
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name embedding_factory and instance: <dbgpt_app.initialization.embedding_component.RemoteEmbeddingFactory object at 0x7f6b2d314810>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_model_cache_manager and instance: <dbgpt.storage.cache.manager.LocalCacheManager object at 0x7f6b2d338b50>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_awel_trigger_manager and instance: <dbgpt.core.awel.trigger.trigger_manager.DefaultTriggerManager object at 0x7f6b2c96b850>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_awel_dag_manager and instance: <dbgpt.core.awel.dag.dag_manager.DAGManager object at 0x7f6b2d33a710>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_resource_manager and instance: <dbgpt.agent.resource.manage.ResourceManager object at 0x7f6b2d203350>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_agent_manager and instance: <dbgpt.agent.core.agent_manage.AgentManager object at 0x7f6b2ce676d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_app_editor_service and instance: <dbgpt_app.openapi.api_v1.editor.service.EditorService object at 0x7f6b2d169650>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_prompt and instance: <dbgpt_serve.prompt.serve.Serve object at 0x7f6b2d17b190>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_prompt_service and instance: <dbgpt_serve.prompt.service.service.Service object at 0x7f6b2c824890>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_conversation and instance: <dbgpt_serve.conversation.serve.Serve object at 0x7f6b2c82df50>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_conversation_service and instance: <dbgpt_serve.conversation.service.service.Service object at 0x7f6b2c84ac50>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_variables_provider and instance: <dbgpt.core.interface.variables.StorageVariablesProvider object at 0x7f6b2d1c49d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_flow and instance: <dbgpt_serve.flow.serve.Serve object at 0x7f6b2d78de50>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_dbgpts_loader and instance: <dbgpt.util.dbgpts.loader.DBGPTsLoader object at 0x7f6b2d7e84d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_flow_service and instance: <dbgpt_serve.flow.service.service.Service object at 0x7f6b2d2b1250>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_flow_variables_service and instance: <dbgpt_serve.flow.service.variables_service.VariablesService object at 0x7f6b2d344490>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.flow.flows and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinFlowVariablesProvider object at 0x7f6b2cd12a10>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.flow.nodes and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinNodeVariablesProvider object at 0x7f6b2c972750>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.variables and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinAllVariablesProvider object at 0x7f6b2d8d9a90>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.secrets and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinAllSecretVariablesProvider object at 0x7f6b2c76ef10>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.model.llms and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinLLMVariablesProvider object at 0x7f6b2d1cd0d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.model.embeddings and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinEmbeddingsVariablesProvider object at 0x7f6b2d85f890>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.datasources and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinDatasourceVariablesProvider object at 0x7f6b2d0772d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.agent.agents and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinAgentsVariablesProvider object at 0x7f6b2d8e9050>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.knowledge_spaces and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinKnowledgeSpacesVariablesProvider object at 0x7f6b2d76d9d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_rag and instance: <dbgpt_serve.rag.serve.Serve object at 0x7f6b2c632550>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_rag_service and instance: <dbgpt_serve.rag.service.service.Service object at 0x7f6b2d2a9c10>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_datasource and instance: <dbgpt_serve.datasource.serve.Serve object at 0x7f6b2c4a8190>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_datasource_service and instance: <dbgpt_serve.datasource.service.service.Service object at 0x7f6b2c34ba50>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_feedback and instance: <dbgpt_serve.feedback.serve.Serve object at 0x7f6b2c5ef1d0>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_feedback_service and instance: <dbgpt_serve.feedback.service.service.Service object at 0x7f6b2c381390>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_dbgpts_hub and instance: <dbgpt_serve.dbgpts.hub.serve.Serve object at 0x7f6b2c382910>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_dbgpts_hub_service and instance: <dbgpt_serve.dbgpts.hub.service.service.Service object at 0x7f6b2c23a1d0>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_dbgpts_my and instance: <dbgpt_serve.dbgpts.my.serve.Serve object at 0x7f6b2c4a8350>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_dbgpts_my_service and instance: <dbgpt_serve.dbgpts.my.service.service.Service object at 0x7f6b2c0da990>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_file and instance: <dbgpt_serve.file.serve.Serve object at 0x7f6b2c24d050>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_file_service and instance: <dbgpt_serve.file.service.service.Service object at 0x7f6b2c175210>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_evaluate and instance: <dbgpt_serve.evaluate.serve.Serve object at 0x7f6b2c7774d0>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_evaluate_service and instance: <dbgpt_serve.evaluate.service.service.Service object at 0x7f6b275fa4d0>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_libro and instance: <dbgpt_serve.libro.serve.Serve object at 0x7f6b275faf90>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_libro_service and instance: <dbgpt_serve.libro.service.service.Service object at 0x7f6b27654f10>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_model and instance: <dbgpt_serve.model.serve.Serve object at 0x7f6b2c193a90>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_model_service and instance: <dbgpt_serve.model.service.service.Service object at 0x7f6b27698910>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name base_dbgpt_component and instance: <dbgpt.util.code.server.CodeServer object at 0x7f6b2c189590>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.util._db_migration_utils[8922] WARNING Initialize and upgrade database metadata with alembic, just run this in your development environment, if you deploy this in production environment, please run webserver with --disable_alembic_upgrade(python dbgpt/app/dbgpt_server.py --disable_alembic_upgrade).
we suggest you to use dbgpt db migration to initialize and upgrade database metadata with alembic, your can run dbgpt db migration --help to get more information.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Context impl SQLiteImpl.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Will assume non-transactional DDL.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.util._db_migration_utils[8922] INFO Migration versions and their file paths:
========================================Migration versions========================================
c50f56fa37d7 (current): New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/c50f56fa37d7_new_migration.py)
638eb1a5d9da : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/638eb1a5d9da_new_migration.py)
bb5411c9cd4a : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/bb5411c9cd4a_new_migration.py)
a4dbf2b22030 : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/a4dbf2b22030_new_migration.py)
cb75f80de4b7 : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/cb75f80de4b7_new_migration.py)
85b6ea711d5c : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/85b6ea711d5c_new_migration.py)
509b50f6a81e : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/509b50f6a81e_new_migration.py)
aa2870207033 : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/aa2870207033_new_migration.py)
6a342ca974ed : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/6a342ca974ed_new_migration.py)
fca0d51e0d62 : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/fca0d51e0d62_new_migration.py)
04c34a754722 : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/04c34a754722_new_migration.py)
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Context impl SQLiteImpl.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Will assume non-transactional DDL.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Context impl SQLiteImpl.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Will assume non-transactional DDL.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.util._db_migration_utils[8922] INFO alembic migration current revision: c50f56fa37d7, latest revision: c50f56fa37d7
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Context impl SQLiteImpl.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Will assume non-transactional DDL.
Generating /root/DB-GPT/pilot/meta_data/alembic/versions/b905eac91837_new_migration.py ... done
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Context impl SQLiteImpl.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Will assume non-transactional DDL.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Running upgrade c50f56fa37d7 -> b905eac91837, New migration
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt_app.dbgpt_server[8922] INFO Model Unified Deployment Mode, run all services in the same process
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Register WorkerManager dbgpt_worker_manager_factory
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_worker_manager_factory and instance: <dbgpt.model.cluster.worker.manager._DefaultWorkerManagerFactory object at 0x7f6b2c742310>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Worker params:
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Run WorkerManager with standalone mode, controller_addr: http://127.0.0.1:6006
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.adapter.model_adapter[8922] INFO Current model deepseek-r1:1.5b use new adapter <_DynProxyLLMModelAdapter model_name=deepseek-r1:1.5b model_path=None>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.default_worker[8922] INFO model_name: deepseek-r1:1.5b, model_path: None, model_param_class: <class 'dbgpt.model.proxy.llms.ollama.OllamaDeployModelParameters'>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Init empty instances list for deepseek-r1:1.5b@llm
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Start local embedding worker with embedding parameters
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Init empty instances list for bge-m3:latest@text2vec
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.util.api_utils[8922] WARNING Health check failed for http://127.0.0.1:6006, error: HTTPConnectionPool(host='127.0.0.1', port=6006): Max retries exceeded with url: /api/health (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6b2c1a0290>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.util.dbgpts.loader[8922] INFO Found 1 dbgpts packages from /root/.dbgpts/packages/24f65127dcfc1f3fbc75981674fba4e4
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt_serve.flow.service.compat_service[8922] INFO Found compat file: 0.7.0, use latest: 0.7.0
INFO: Started server process [8922]
INFO: Waiting for application startup.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/awel_flow_ui_components.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/data_analyst_assistant.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=dbgpt_awel_data_analyst_assistant) from mod <module 'unusual_prefix_fbe42a1bcade349cf20c126841b41352baabb778_data_analyst_assistant' from '/root/DB-GPT/examples/awel/data_analyst_assistant.py'> and model file /root/DB-GPT/examples/awel/data_analyst_assistant.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_chat_dag_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=dbgpt_awel_simple_dag_example) from mod <module 'unusual_prefix_c12a4d777cfc9b9ac585d737997cf1e58f4f28fe_simple_chat_dag_example' from '/root/DB-GPT/examples/awel/simple_chat_dag_example.py'> and model file /root/DB-GPT/examples/awel/simple_chat_dag_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_chat_history_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=dbgpt_awel_simple_chat_history) from mod <module 'unusual_prefix_27b694e572b127b1c0d3c0a2e4ef43e526e7bb5b_simple_chat_history_example' from '/root/DB-GPT/examples/awel/simple_chat_history_example.py'> and model file /root/DB-GPT/examples/awel/simple_chat_history_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_dag_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=simple_dag_example) from mod <module 'unusual_prefix_48383d9597a7353e14e91a0bcb223cfb6fdc4690_simple_dag_example' from '/root/DB-GPT/examples/awel/simple_dag_example.py'> and model file /root/DB-GPT/examples/awel/simple_dag_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_llm_client_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=dbgpt_awel_simple_llm_client_generate) from mod <module 'unusual_prefix_0b0fc919c1d88237260ad0cb95c4f84351ef6942_simple_llm_client_example' from '/root/DB-GPT/examples/awel/simple_llm_client_example.py'> and model file /root/DB-GPT/examples/awel/simple_llm_client_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=dbgpt_awel_simple_llm_client_count_token) from mod <module 'unusual_prefix_0b0fc919c1d88237260ad0cb95c4f84351ef6942_simple_llm_client_example' from '/root/DB-GPT/examples/awel/simple_llm_client_example.py'> and model file /root/DB-GPT/examples/awel/simple_llm_client_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_nl_schema_sql_chart_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] ERROR Failed to import: /root/DB-GPT/examples/awel/simple_nl_schema_sql_chart_example.py, error message: Traceback (most recent call last):
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/core/awel/dag/loader.py", line 91, in parse
loader.exec_module(new_module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/root/DB-GPT/examples/awel/simple_nl_schema_sql_chart_example.py", line 235, in
llm = OpenAILLMClient()
^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 178, in init
_ = self.client.default_headers
^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 229, in client
self._api_type, self._client = _build_openai_client(
^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 103, in _build_openai_client
openai_params, api_type, api_version, api_azure_deployment = _initialize_openai_v1(
^^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 90, in _initialize_openai_v1
raise ValueError("api_key is required, please set OPENAI_API_KEY environment")
ValueError: api_key is required, please set OPENAI_API_KEY environment
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_rag_rewrite_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] ERROR Failed to import: /root/DB-GPT/examples/awel/simple_rag_rewrite_example.py, error message: Traceback (most recent call last):
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/core/awel/dag/loader.py", line 91, in parse
loader.exec_module(new_module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/root/DB-GPT/examples/awel/simple_rag_rewrite_example.py", line 64, in
rewrite_task = QueryRewriteOperator(llm_client=OpenAILLMClient(), nums=2)
^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 178, in init
_ = self.client.default_headers
^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 229, in client
self._api_type, self._client = _build_openai_client(
^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 103, in _build_openai_client
openai_params, api_type, api_version, api_azure_deployment = _initialize_openai_v1(
^^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 90, in _initialize_openai_v1
raise ValueError("api_key is required, please set OPENAI_API_KEY environment")
ValueError: api_key is required, please set OPENAI_API_KEY environment
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_rag_summary_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] ERROR Failed to import: /root/DB-GPT/examples/awel/simple_rag_summary_example.py, error message: Traceback (most recent call last):
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/core/awel/dag/loader.py", line 91, in parse
loader.exec_module(new_module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/root/DB-GPT/examples/awel/simple_rag_summary_example.py", line 65, in
llm_client=OpenAILLMClient(), language="en"
^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 178, in init
_ = self.client.default_headers
^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 229, in client
self._api_type, self._client = _build_openai_client(
^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 103, in _build_openai_client
openai_params, api_type, api_version, api_azure_deployment = _initialize_openai_v1(
^^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 90, in _initialize_openai_v1
raise ValueError("api_key is required, please set OPENAI_API_KEY environment")
ValueError: api_key is required, please set OPENAI_API_KEY environment
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=66e941df-4c5d-42b9-a4e7-f169ea191049)
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger._create_route_func..create_route_function..route_function at 0x7f6b1cbc3880>(AWEL_trigger_route__examples_data_analyst_copilot), endpoint: /examples/data_analyst/copilot, methods: ['POST']
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/data_analyst/copilot
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=2bc8ffbe-92b6-4678-b608-d8362a4b4afd)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger._create_route_func..create_route_function..route_function at 0x7f6b1cc140e0>(AWEL_trigger_route__examples_simple_chat), endpoint: /examples/simple_chat, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/simple_chat
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=e091e371-1c0f-4cfc-8891-97605ea54d30)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger._create_route_func..create_route_function..route_function at 0x7f6b1cc14900>(AWEL_trigger_route__examples_simple_history_multi_round_chat_completions), endpoint: /examples/simple_history/multi_round/chat/completions, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/simple_history/multi_round/chat/completions
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=a378f17b-a91c-4a7f-bcc5-ce1399976b3a)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger.create_route_func..create_route_function..route_function_get at 0x7f6b1cc15800>(AWEL_trigger_route__examples_hello), endpoint: /examples/hello, methods: ['GET']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/hello
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=bdd4c1d8-a939-4ab0-ac56-4e19b1fd4c3f)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger.create_route_func..create_route_function..route_function at 0x7f6b1cc15d00>(AWEL_trigger_route__examples_simple_client_chat_completions), endpoint: /examples/simple_client/chat/completions, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/simple_client/chat/completions
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=e3c1848a-c066-4096-b41a-c478c2fa9018)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger.create_route_func..create_route_function..route_function at 0x7f6b1cc163e0>(AWEL_trigger_route__examples_simple_client_count_token), endpoint: /examples/simple_client/count_token, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/simple_client/count_token
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger CommonLLMHttpTrigger(node_id=d77eb9c0-b17a-4d8a-b0e9-0b007909ba5e, node_name=operator_common_llm_http_trigger$$trigger$$___v1_0)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger.create_route_func..create_route_function..route_function at 0x7f6b1ca623e0>(AWEL_trigger_route__example{dag_id}), endpoint: /example/{dag_id}, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/example/flow_dag_test_e6f1365f-7593-49f4-b980-a97847181b2d
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt_serve.flow.service.service[8922] WARNING Unregister DAG(dbgpts_all_in_one_entrance_intent_detection_dag) error: Unregister DAG error, DAG ID dbgpts_all_in_one_entrance_intent_detection_dag does not exist
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger CommonLLMHttpTrigger(node_id=3c4dd107-dd88-420b-ab63-a87285bc182e)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger._create_route_func..create_route_function..route_function at 0x7f6b1cb171a0>(AWEL_trigger_route__dbgpts_all-in-one-entrance), endpoint: /dbgpts/all-in-one-entrance, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/dbgpts/all-in-one-entrance
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
Libro Server start!
start libro exception![Errno 2] No such file or directory: 'libro'
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Begin start all worker, apply_req: None
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Apply req: None, apply_func: <function LocalWorkerManager._start_all_worker.._start_worker at 0x7f6b1cb519e0>
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Apply to all workers
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:6006 (Press CTRL+C to quit)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.default_worker[8922] INFO Begin load model, model params:
Search before asking
Operating system information
Linux
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
GPU:3080TI
CPU:Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 128
On-line CPU(s) list: 0-127
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) Platinum 8336C CPU @ 2.30GHz
CPU family: 6
Model: 106
Thread(s) per core: 2
Core(s) per socket: 32
Socket(s): 2
Stepping: 6
CPU max MHz: 3500.0000
CPU min MHz: 800.0000
BogoMIPS: 4600.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtsc
p lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nons
top_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est
tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe p
opcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowpref
etch cpuid_fault epb cat_l3 invpcid_single ssbd mba ibrs ibpb stibp ibrs
enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adju
st bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed ad
x smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx5
12vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total
cqm_mbm_local split_lock_detect wbnoinvd dtherm ida arat pln pts avx512v
bmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512
bitalg tme avx512_vpopcntdq la57 rdpid fsrm md_clear pconfig flush_l1d a
rch_capabilities
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 3 MiB (64 instances)
L1i: 2 MiB (64 instances)
L2: 80 MiB (64 instances)
L3: 108 MiB (2 instances)
NUMA:
NUMA node(s): 2
NUMA node0 CPU(s): 0-31,64-95
NUMA node1 CPU(s): 32-63,96-127
Vulnerabilities:
Gather data sampling: Mitigation; Microcode
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Mitigation; Clear CPU buffers; SMT vulnerable
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Enhanced IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW
sequence; BHI Syscall hardening, KVM SW loop
Srbds: Not affected
Tsx async abort: Not affected
root@autodl-container-8964458727-765abc2d:~/DB-GPT#
Models information
deepseek-r1:1.5b
bge-m3:latest
What happened
When we create an AWEL workflow in the dbgpt web interface and save it, an error is reported: Request error: Unable to build operator task: operator_higher_order_knowledge_operator___$$rag$$___v1_0, operator_cls: <class 'dbgpt_app.operators.rag.HOKnowledgeOperator'>, error: 'NoneType' object has no attribute 'config'
What you expected to happen
We expect the created workflow files to be saved normally.

We think that the database or other necessary configuration may not be configured.
We have not configured the database
Our configuration is to use the official dbpgt-proxy-ollama.toml configuration directly
:[system]
Load language from environment variable(It is set by the hook)
language = "${env:DBGPT_LANG:-en}"
api_keys = []
encrypt_key = "your_secret_key"
Server Configurations
[service.web]
host = "0.0.0.0"
port = 6006
[service.web.database]
type = "sqlite"
path = "pilot/meta_data/dbgpt.db"
[rag.storage]
[rag.storage.vector]
type = "Chroma"
persist_path = "pilot/data"
Model Configurations
[models]
[[models.llms]]
name = "deepseek-r1:1.5b"
provider = "proxy/ollama"
api_base = "http://localhost:11434"
api_key = ""
[[models.embeddings]]
name = "bge-m3:latest"
provider = "proxy/ollama"
api_url = "http://localhost:11434"
api_key = ""
How to reproduce
Completely follow the tutorial of user yyhhyy :
1.git clone https://github.com/eosphoros-ai/DB-GPT.git
cd DB-GPT
2.uv sync --all-packages --frozen
--extra "base"
--extra "proxy_openai"
--extra "hf"
--extra "llama_cpp"
--extra "rag"
--extra "storage_chromadb"
--extra "dbgpts"
--extra "quant_bnb" \
3.uv run dbgpt start webserver --config configs/dbgpt-proxy-ollama.toml
4.Visit localhost:5670. Enter application management, AWEL workflow, create workflow
Additional context
When we create an AWEL workflow in the dbgpt web interface, an error will be reported after adding the LLM processing operation. Similarly, this error will also occur when calling the Demo in the dbgpts community.
我们的启动配置如下:dbgpt-proxy-ollama.toml
[system]
Load language from environment variable(It is set by the hook)
language = "${env:DBGPT_LANG:-en}"
api_keys = []
encrypt_key = "your_secret_key"
Server Configurations
[service.web]
host = "0.0.0.0"
port = 6006
[service.web.database]
type = "sqlite"
path = "pilot/meta_data/dbgpt.db"
[rag.storage]
[rag.storage.vector]
type = "Chroma"
persist_path = "pilot/data"
Model Configurations
[models]
[[models.llms]]
name = "deepseek-r1:1.5b"
provider = "proxy/ollama"
api_base = "http://localhost:11434"
api_key = ""
[[models.embeddings]]
name = "bge-m3:latest"
provider = "proxy/ollama"
api_url = "http://localhost:11434"
api_key = ""
我们的完整报错日志如下:
root@autodl-container-8964458727-765abc2d:~/DB-GPT# uv run dbgpt start webserver --config configs/dbgpt-proxy-ollama.toml
ApplicationConfig(hooks=[], system=SystemParameters(language='en', log_level='INFO', api_keys=[], encrypt_key='your_secret_key'), service=ServiceConfig(web=ServiceWebParameters(host='0.0.0.0', port=6006, light=False, controller_addr=None, database=SQLiteConnectorParameters(path='pilot/meta_data/dbgpt.db', check_same_thread=False, driver='sqlite'), model_storage=None, trace=None, log=None, disable_alembic_upgrade=False, db_ssl_verify=False, default_thread_pool_size=None, remote_embedding=False, remote_rerank=False, awel_dirs=None, new_web_ui=True, model_cache=ModelCacheParameters(enable_model_cache=True, storage_type='memory', max_memory_mb=256, persist_dir='model_cache'), embedding_model_max_seq_len=512), model=ModelServiceConfig(worker=ModelWorkerParameters(host='0.0.0.0', port=8001, daemon=False, log=LoggingParameters(level='INFO', file=None), trace=None, worker_type=None, worker_class=None, standalone=False, register=True, worker_register_host=None, controller_addr=None, send_heartbeat=True, heartbeat_interval=20), api=ModelControllerParameters(host='0.0.0.0', port=8000, daemon=False, log=LoggingParameters(level='INFO', file=None), trace=None, registry=None, heartbeat_interval_secs=20, heartbeat_timeout_secs=60), controller=ModelControllerParameters(host='0.0.0.0', port=8000, daemon=False, log=LoggingParameters(level='INFO', file=None), trace=None, registry=None, heartbeat_interval_secs=20, heartbeat_timeout_secs=60))), models=ModelsDeployParameters(default_llm='deepseek-r1:1.5b', default_embedding='bge-m3:latest', default_reranker=None, llms=[OllamaDeployModelParameters(name='deepseek-r1:1.5b', provider='proxy/ollama', verbose=False, concurrency=5, backend=None, prompt_template=None, context_length=None, reasoning_model=None, api_base='http://localhost:11434')], embeddings=[OllamaEmbeddingDeployModelParameters(name='bge-m3:latest', provider='proxy/ollama', verbose=False, concurrency=100, api_url='http://localhost:11434', backend=None)], rerankers=[]), serves=[], rag=RagParameters(chunk_size=500, chunk_overlap=50, similarity_top_k=10, similarity_score_threshold=0, query_rewrite=False, max_chunks_once_load=10, max_threads=1, rerank_top_k=3, storage=StorageConfig(vector={'type': 'Chroma', 'persist_path': 'pilot/data'}, graph=BuiltinKnowledgeGraphConfig(type='TuGraph', name='dbgpt_collection', embedding_fn=None, max_chunks_once_load=10, max_threads=1, llm_client=None, model_name=None), full_text=BuiltinKnowledgeGraphConfig(type='TuGraph', name='dbgpt_collection', embedding_fn=None, max_chunks_once_load=10, max_threads=1, llm_client=None, model_name=None)), graph_search_top_k=3, graph_community_summary_enabled=False), trace=TracerParameters(file=None, root_operation_name=None, exporter=None, otlp_endpoint=None, otlp_insecure=None, otlp_timeout=None, tracer_storage_cls=None), log=LoggingParameters(level='INFO', file=None))
2025-03-08 11:10:03 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_unified_metadata_db_manager_factory and instance: <dbgpt.storage.metadata.db_factory.UnifiedDBManagerFactory object at 0x7f6b3169f3d0>
2025-03-08 11:10:03 autodl-container-8964458727-765abc2d dbgpt.datasource.rdbms.base[8922] INFO Closing RDBMS connector resources...
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_thread_pool_default and instance: <dbgpt.util.executor_utils.DefaultExecutorFactory object at 0x7f6b2cc9d050>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_default_scheduler and instance: <dbgpt_app.initialization.scheduler.DefaultScheduler object at 0x7f6b2d025a50>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_model_controller and instance: <dbgpt.model.cluster.controller.controller.ModelControllerAdapter object at 0x7f6b52643910>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_connector_manager and instance: <dbgpt_serve.datasource.manages.connector_manager.ConnectorManager object at 0x7f6b2d8e8650>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_plugin_hub and instance: <dbgpt_serve.agent.hub.controller.ModulePlugin object at 0x7f6b2ca861d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_multi_agents and instance: <dbgpt_serve.agent.agents.controller.MultiAgents object at 0x7f6b2d04c490>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt_app.initialization.embedding_component[8922] INFO Register remote RemoteEmbeddingFactory
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name embedding_factory and instance: <dbgpt_app.initialization.embedding_component.RemoteEmbeddingFactory object at 0x7f6b2d314810>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_model_cache_manager and instance: <dbgpt.storage.cache.manager.LocalCacheManager object at 0x7f6b2d338b50>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_awel_trigger_manager and instance: <dbgpt.core.awel.trigger.trigger_manager.DefaultTriggerManager object at 0x7f6b2c96b850>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_awel_dag_manager and instance: <dbgpt.core.awel.dag.dag_manager.DAGManager object at 0x7f6b2d33a710>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_resource_manager and instance: <dbgpt.agent.resource.manage.ResourceManager object at 0x7f6b2d203350>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_agent_manager and instance: <dbgpt.agent.core.agent_manage.AgentManager object at 0x7f6b2ce676d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_app_editor_service and instance: <dbgpt_app.openapi.api_v1.editor.service.EditorService object at 0x7f6b2d169650>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_prompt and instance: <dbgpt_serve.prompt.serve.Serve object at 0x7f6b2d17b190>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_prompt_service and instance: <dbgpt_serve.prompt.service.service.Service object at 0x7f6b2c824890>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_conversation and instance: <dbgpt_serve.conversation.serve.Serve object at 0x7f6b2c82df50>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_conversation_service and instance: <dbgpt_serve.conversation.service.service.Service object at 0x7f6b2c84ac50>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_variables_provider and instance: <dbgpt.core.interface.variables.StorageVariablesProvider object at 0x7f6b2d1c49d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_flow and instance: <dbgpt_serve.flow.serve.Serve object at 0x7f6b2d78de50>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_dbgpts_loader and instance: <dbgpt.util.dbgpts.loader.DBGPTsLoader object at 0x7f6b2d7e84d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_flow_service and instance: <dbgpt_serve.flow.service.service.Service object at 0x7f6b2d2b1250>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_flow_variables_service and instance: <dbgpt_serve.flow.service.variables_service.VariablesService object at 0x7f6b2d344490>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.flow.flows and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinFlowVariablesProvider object at 0x7f6b2cd12a10>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.flow.nodes and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinNodeVariablesProvider object at 0x7f6b2c972750>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.variables and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinAllVariablesProvider object at 0x7f6b2d8d9a90>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.secrets and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinAllSecretVariablesProvider object at 0x7f6b2c76ef10>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.model.llms and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinLLMVariablesProvider object at 0x7f6b2d1cd0d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.model.embeddings and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinEmbeddingsVariablesProvider object at 0x7f6b2d85f890>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.datasources and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinDatasourceVariablesProvider object at 0x7f6b2d0772d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.agent.agents and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinAgentsVariablesProvider object at 0x7f6b2d8e9050>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt.core.knowledge_spaces and instance: <dbgpt_serve.flow.api.variables_provider.BuiltinKnowledgeSpacesVariablesProvider object at 0x7f6b2d76d9d0>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_rag and instance: <dbgpt_serve.rag.serve.Serve object at 0x7f6b2c632550>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_rag_service and instance: <dbgpt_serve.rag.service.service.Service object at 0x7f6b2d2a9c10>
2025-03-08 11:10:04 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_datasource and instance: <dbgpt_serve.datasource.serve.Serve object at 0x7f6b2c4a8190>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_datasource_service and instance: <dbgpt_serve.datasource.service.service.Service object at 0x7f6b2c34ba50>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_feedback and instance: <dbgpt_serve.feedback.serve.Serve object at 0x7f6b2c5ef1d0>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_feedback_service and instance: <dbgpt_serve.feedback.service.service.Service object at 0x7f6b2c381390>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_dbgpts_hub and instance: <dbgpt_serve.dbgpts.hub.serve.Serve object at 0x7f6b2c382910>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_dbgpts_hub_service and instance: <dbgpt_serve.dbgpts.hub.service.service.Service object at 0x7f6b2c23a1d0>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_dbgpts_my and instance: <dbgpt_serve.dbgpts.my.serve.Serve object at 0x7f6b2c4a8350>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_dbgpts_my_service and instance: <dbgpt_serve.dbgpts.my.service.service.Service object at 0x7f6b2c0da990>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_file and instance: <dbgpt_serve.file.serve.Serve object at 0x7f6b2c24d050>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_file_service and instance: <dbgpt_serve.file.service.service.Service object at 0x7f6b2c175210>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_evaluate and instance: <dbgpt_serve.evaluate.serve.Serve object at 0x7f6b2c7774d0>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_evaluate_service and instance: <dbgpt_serve.evaluate.service.service.Service object at 0x7f6b275fa4d0>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_libro and instance: <dbgpt_serve.libro.serve.Serve object at 0x7f6b275faf90>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_libro_service and instance: <dbgpt_serve.libro.service.service.Service object at 0x7f6b27654f10>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_model and instance: <dbgpt_serve.model.serve.Serve object at 0x7f6b2c193a90>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_serve_model_service and instance: <dbgpt_serve.model.service.service.Service object at 0x7f6b27698910>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name base_dbgpt_component and instance: <dbgpt.util.code.server.CodeServer object at 0x7f6b2c189590>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.util._db_migration_utils[8922] WARNING Initialize and upgrade database metadata with alembic, just run this in your development environment, if you deploy this in production environment, please run webserver with --disable_alembic_upgrade(
python dbgpt/app/dbgpt_server.py --disable_alembic_upgrade
).we suggest you to use
dbgpt db migration
to initialize and upgrade database metadata with alembic, your can rundbgpt db migration --help
to get more information.2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Context impl SQLiteImpl.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Will assume non-transactional DDL.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.util._db_migration_utils[8922] INFO Migration versions and their file paths:
========================================Migration versions========================================
c50f56fa37d7 (current): New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/c50f56fa37d7_new_migration.py)
638eb1a5d9da : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/638eb1a5d9da_new_migration.py)
bb5411c9cd4a : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/bb5411c9cd4a_new_migration.py)
a4dbf2b22030 : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/a4dbf2b22030_new_migration.py)
cb75f80de4b7 : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/cb75f80de4b7_new_migration.py)
85b6ea711d5c : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/85b6ea711d5c_new_migration.py)
509b50f6a81e : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/509b50f6a81e_new_migration.py)
aa2870207033 : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/aa2870207033_new_migration.py)
6a342ca974ed : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/6a342ca974ed_new_migration.py)
fca0d51e0d62 : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/fca0d51e0d62_new_migration.py)
04c34a754722 : New migration (Path: /root/DB-GPT/pilot/meta_data/alembic/versions/04c34a754722_new_migration.py)
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Context impl SQLiteImpl.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Will assume non-transactional DDL.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Context impl SQLiteImpl.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Will assume non-transactional DDL.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.util._db_migration_utils[8922] INFO alembic migration current revision: c50f56fa37d7, latest revision: c50f56fa37d7
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Context impl SQLiteImpl.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Will assume non-transactional DDL.
Generating /root/DB-GPT/pilot/meta_data/alembic/versions/b905eac91837_new_migration.py ... done
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Context impl SQLiteImpl.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Will assume non-transactional DDL.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d alembic.runtime.migration[8922] INFO Running upgrade c50f56fa37d7 -> b905eac91837, New migration
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt_app.dbgpt_server[8922] INFO Model Unified Deployment Mode, run all services in the same process
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Register WorkerManager dbgpt_worker_manager_factory
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.component[8922] INFO Register component with name dbgpt_worker_manager_factory and instance: <dbgpt.model.cluster.worker.manager._DefaultWorkerManagerFactory object at 0x7f6b2c742310>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Worker params:
=========================== ModelWorkerParameters ===========================
host: 0.0.0.0
port: 6006
daemon: False
log:
=========================== LoggingParameters ===========================
level: INFO
file: None
======================================================================
trace: None
worker_type: None
worker_class: None
standalone: True
register: True
worker_register_host: None
controller_addr: None
send_heartbeat: True
heartbeat_interval: 20
======================================================================
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Run WorkerManager with standalone mode, controller_addr: http://127.0.0.1:6006
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.adapter.model_adapter[8922] INFO Current model deepseek-r1:1.5b use new adapter <_DynProxyLLMModelAdapter model_name=deepseek-r1:1.5b model_path=None>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.default_worker[8922] INFO model_name: deepseek-r1:1.5b, model_path: None, model_param_class: <class 'dbgpt.model.proxy.llms.ollama.OllamaDeployModelParameters'>
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Init empty instances list for deepseek-r1:1.5b@llm
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Start local embedding worker with embedding parameters
=========================== ModelWorkerParameters ===========================
host: 0.0.0.0
port: 8001
daemon: False
log:
=========================== LoggingParameters ===========================
level: ${env:DBGPT_LOG_LEVEL:-INFO}
file: None
======================================================================
trace: None
worker_type: text2vec
worker_class: None
standalone: False
register: True
worker_register_host: None
controller_addr: None
send_heartbeat: True
heartbeat_interval: 20
======================================================================
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Init empty instances list for bge-m3:latest@text2vec
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.util.api_utils[8922] WARNING Health check failed for http://127.0.0.1:6006, error: HTTPConnectionPool(host='127.0.0.1', port=6006): Max retries exceeded with url: /api/health (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6b2c1a0290>: Failed to establish a new connection: [Errno 111] Connection refused'))
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.util.dbgpts.loader[8922] INFO Found 1 dbgpts packages from /root/.dbgpts/packages/24f65127dcfc1f3fbc75981674fba4e4
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt_serve.flow.service.compat_service[8922] INFO Found compat file: 0.7.0, use latest: 0.7.0
INFO: Started server process [8922]
INFO: Waiting for application startup.
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/awel_flow_ui_components.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/data_analyst_assistant.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=dbgpt_awel_data_analyst_assistant) from mod <module 'unusual_prefix_fbe42a1bcade349cf20c126841b41352baabb778_data_analyst_assistant' from '/root/DB-GPT/examples/awel/data_analyst_assistant.py'> and model file /root/DB-GPT/examples/awel/data_analyst_assistant.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_chat_dag_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=dbgpt_awel_simple_dag_example) from mod <module 'unusual_prefix_c12a4d777cfc9b9ac585d737997cf1e58f4f28fe_simple_chat_dag_example' from '/root/DB-GPT/examples/awel/simple_chat_dag_example.py'> and model file /root/DB-GPT/examples/awel/simple_chat_dag_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_chat_history_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=dbgpt_awel_simple_chat_history) from mod <module 'unusual_prefix_27b694e572b127b1c0d3c0a2e4ef43e526e7bb5b_simple_chat_history_example' from '/root/DB-GPT/examples/awel/simple_chat_history_example.py'> and model file /root/DB-GPT/examples/awel/simple_chat_history_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_dag_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=simple_dag_example) from mod <module 'unusual_prefix_48383d9597a7353e14e91a0bcb223cfb6fdc4690_simple_dag_example' from '/root/DB-GPT/examples/awel/simple_dag_example.py'> and model file /root/DB-GPT/examples/awel/simple_dag_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_llm_client_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=dbgpt_awel_simple_llm_client_generate) from mod <module 'unusual_prefix_0b0fc919c1d88237260ad0cb95c4f84351ef6942_simple_llm_client_example' from '/root/DB-GPT/examples/awel/simple_llm_client_example.py'> and model file /root/DB-GPT/examples/awel/simple_llm_client_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Found dag DAG(dag_id=dbgpt_awel_simple_llm_client_count_token) from mod <module 'unusual_prefix_0b0fc919c1d88237260ad0cb95c4f84351ef6942_simple_llm_client_example' from '/root/DB-GPT/examples/awel/simple_llm_client_example.py'> and model file /root/DB-GPT/examples/awel/simple_llm_client_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_nl_schema_sql_chart_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] ERROR Failed to import: /root/DB-GPT/examples/awel/simple_nl_schema_sql_chart_example.py, error message: Traceback (most recent call last):
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/core/awel/dag/loader.py", line 91, in parse
loader.exec_module(new_module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/root/DB-GPT/examples/awel/simple_nl_schema_sql_chart_example.py", line 235, in
llm = OpenAILLMClient()
^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 178, in init
_ = self.client.default_headers
^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 229, in client
self._api_type, self._client = _build_openai_client(
^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 103, in _build_openai_client
openai_params, api_type, api_version, api_azure_deployment = _initialize_openai_v1(
^^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 90, in _initialize_openai_v1
raise ValueError("api_key is required, please set OPENAI_API_KEY environment")
ValueError: api_key is required, please set OPENAI_API_KEY environment
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_rag_rewrite_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] ERROR Failed to import: /root/DB-GPT/examples/awel/simple_rag_rewrite_example.py, error message: Traceback (most recent call last):
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/core/awel/dag/loader.py", line 91, in parse
loader.exec_module(new_module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/root/DB-GPT/examples/awel/simple_rag_rewrite_example.py", line 64, in
rewrite_task = QueryRewriteOperator(llm_client=OpenAILLMClient(), nums=2)
^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 178, in init
_ = self.client.default_headers
^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 229, in client
self._api_type, self._client = _build_openai_client(
^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 103, in _build_openai_client
openai_params, api_type, api_version, api_azure_deployment = _initialize_openai_v1(
^^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 90, in _initialize_openai_v1
raise ValueError("api_key is required, please set OPENAI_API_KEY environment")
ValueError: api_key is required, please set OPENAI_API_KEY environment
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] INFO Importing /root/DB-GPT/examples/awel/simple_rag_summary_example.py
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.dag.loader[8922] ERROR Failed to import: /root/DB-GPT/examples/awel/simple_rag_summary_example.py, error message: Traceback (most recent call last):
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/core/awel/dag/loader.py", line 91, in parse
loader.exec_module(new_module)
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/root/DB-GPT/examples/awel/simple_rag_summary_example.py", line 65, in
llm_client=OpenAILLMClient(), language="en"
^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 178, in init
_ = self.client.default_headers
^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/proxy/llms/chatgpt.py", line 229, in client
self._api_type, self._client = _build_openai_client(
^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 103, in _build_openai_client
openai_params, api_type, api_version, api_azure_deployment = _initialize_openai_v1(
^^^^^^^^^^^^^^^^^^^^^^
File "/root/DB-GPT/packages/dbgpt-core/src/dbgpt/model/utils/chatgpt_utils.py", line 90, in _initialize_openai_v1
raise ValueError("api_key is required, please set OPENAI_API_KEY environment")
ValueError: api_key is required, please set OPENAI_API_KEY environment
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=66e941df-4c5d-42b9-a4e7-f169ea191049)
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger._create_route_func..create_route_function..route_function at 0x7f6b1cbc3880>(AWEL_trigger_route__examples_data_analyst_copilot), endpoint: /examples/data_analyst/copilot, methods: ['POST']
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/data_analyst/copilot
2025-03-08 11:10:05 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=2bc8ffbe-92b6-4678-b608-d8362a4b4afd)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger._create_route_func..create_route_function..route_function at 0x7f6b1cc140e0>(AWEL_trigger_route__examples_simple_chat), endpoint: /examples/simple_chat, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/simple_chat
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=e091e371-1c0f-4cfc-8891-97605ea54d30)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger._create_route_func..create_route_function..route_function at 0x7f6b1cc14900>(AWEL_trigger_route__examples_simple_history_multi_round_chat_completions), endpoint: /examples/simple_history/multi_round/chat/completions, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/simple_history/multi_round/chat/completions
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=a378f17b-a91c-4a7f-bcc5-ce1399976b3a)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger.create_route_func..create_route_function..route_function_get at 0x7f6b1cc15800>(AWEL_trigger_route__examples_hello), endpoint: /examples/hello, methods: ['GET']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/hello
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=bdd4c1d8-a939-4ab0-ac56-4e19b1fd4c3f)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger.create_route_func..create_route_function..route_function at 0x7f6b1cc15d00>(AWEL_trigger_route__examples_simple_client_chat_completions), endpoint: /examples/simple_client/chat/completions, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/simple_client/chat/completions
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger HttpTrigger(node_id=e3c1848a-c066-4096-b41a-c478c2fa9018)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger.create_route_func..create_route_function..route_function at 0x7f6b1cc163e0>(AWEL_trigger_route__examples_simple_client_count_token), endpoint: /examples/simple_client/count_token, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/examples/simple_client/count_token
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger CommonLLMHttpTrigger(node_id=d77eb9c0-b17a-4d8a-b0e9-0b007909ba5e, node_name=operator_common_llm_http_trigger$$trigger$$___v1_0)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger.create_route_func..create_route_function..route_function at 0x7f6b1ca623e0>(AWEL_trigger_route__example{dag_id}), endpoint: /example/{dag_id}, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/example/flow_dag_test_e6f1365f-7593-49f4-b980-a97847181b2d
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt_serve.flow.service.service[8922] WARNING Unregister DAG(dbgpts_all_in_one_entrance_intent_detection_dag) error: Unregister DAG error, DAG ID dbgpts_all_in_one_entrance_intent_detection_dag does not exist
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Register trigger CommonLLMHttpTrigger(node_id=3c4dd107-dd88-420b-ab63-a87285bc182e)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO mount router function <function HttpTrigger._create_route_func..create_route_function..route_function at 0x7f6b1cb171a0>(AWEL_trigger_route__dbgpts_all-in-one-entrance), endpoint: /dbgpts/all-in-one-entrance, methods: ['POST']
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.http_trigger[8922] INFO Mount http trigger success, path: /api/v1/awel/trigger/dbgpts/all-in-one-entrance
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.core.awel.trigger.trigger_manager[8922] INFO Include router <fastapi.routing.APIRouter object at 0x7f6b2cb098d0> to prefix path /api/v1/awel/trigger
Libro Server start!
start libro exception![Errno 2] No such file or directory: 'libro'
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Begin start all worker, apply_req: None
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Apply req: None, apply_func: <function LocalWorkerManager._start_all_worker.._start_worker at 0x7f6b1cb519e0>
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO Apply to all workers
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:6006 (Press CTRL+C to quit)
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.default_worker[8922] INFO Begin load model, model params:
=========================== OllamaDeployModelParameters ===========================
name: deepseek-r1:1.5b
provider: proxy/ollama
verbose: False
concurrency: 5
backend: None
prompt_template: None
context_length: None
reasoning_model: None
api_base: http://localhost:11434
======================================================================
2025-03-08 11:10:06 autodl-container-8964458727-765abc2d dbgpt.model.adapter.proxy_adapter[8922] INFO Load model from params:
=========================== OllamaDeployModelParameters ===========================
name: deepseek-r1:1.5b
provider: proxy/ollama
verbose: False
concurrency: 5
backend: None
prompt_template: None
context_length: None
reasoning_model: None
api_base: http://localhost:11434
======================================================================
llm client class: <class 'dbgpt.model.proxy.llms.ollama.OllamaLLMClient'>
2025-03-08 11:10:08 autodl-container-8964458727-765abc2d dbgpt.util.api_utils[8922] WARNING No healthy urls found, selecting randomly
INFO: 127.0.0.1:38812 - "POST /api/controller/models HTTP/1.1" 200 OK
2025-03-08 11:10:08 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.embedding_worker[8922] INFO Load embeddings model: bge-m3:latest
2025-03-08 11:10:10 autodl-container-8964458727-765abc2d dbgpt.util.api_utils[8922] WARNING No healthy urls found, selecting randomly
2025-03-08 11:10:10 autodl-container-8964458727-765abc2d dbgpt.util.api_utils[8922] WARNING No healthy urls found, selecting randomly
INFO: 127.0.0.1:38918 - "POST /api/controller/models HTTP/1.1" 200 OK
INFO: 127.0.0.1:34802 - "POST /api/controller/models HTTP/1.1" 200 OK
2025-03-08 11:10:10 autodl-container-8964458727-765abc2d dbgpt.model.cluster.worker.manager[8922] INFO There has model storage, start the model from storage
begin run _add_app_startup_event
2025-03-08 11:10:11 autodl-container-8964458727-765abc2d dbgpt.util.code.server[8922] INFO Code server is ready
INFO: 127.0.0.1:34892 - "GET /api/v2/serve/awel/flows?page=1&page_size=12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34892 - "GET /api/v2/serve/awel/flows/e6f1365f-7593-49f4-b980-a97847181b2d HTTP/1.1" 200 OK
INFO: 127.0.0.1:34944 - "GET /api/v2/serve/awel/variables/keys HTTP/1.1" 200 OK
INFO: 127.0.0.1:34928 - "GET /api/v2/serve/awel/nodes?tags=%7B%22order%22:%22higher-order%22%7D HTTP/1.1" 200 OK
INFO: 127.0.0.1:34958 - "GET /api/v2/serve/awel/flow/templates HTTP/1.1" 200 OK
INFO: 127.0.0.1:40504 - "PUT /api/v2/serve/awel/flows/e6f1365f-7593-49f4-b980-a97847181b2d HTTP/1.1" 200 OK
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: