Skip to content

源码启动问题,sayhello的name参数无法正常传递 #15

@rzechen

Description

@rzechen

你好,我在源码启动问题,sayhello的name参数无法正常传递,我在页面输入的你好,理论上返回的应该是{'msg': 'Hello, 你好!'}才对,但是参数使用无法在sayhello中接受到

Image Image

而且有没有自定义mcpserver的参数配置说明信息?

下面的 是日志信息:

  • Serving Flask app 'app'
  • Debug mode: off
    INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:5050
  • Running on http://192.168.139.99:5050
    INFO:werkzeug:Press CTRL+C to quit
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET / HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/css/bootstrap.min.css HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/css/fonts.css HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/css/katex.min.css HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/css/highlight.js/github.min.css HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /style.css HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /ultrarag.svg HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/js/bootstrap.bundle.min.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/js/marked.min.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/js/katex.min.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/js/purify.min.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/js/auto-render.min.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /i18n/en.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/js/highlight.min.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /main.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/fonts/inter/Inter-Regular.woff2 HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/fonts/inter/Inter-Medium.woff2 HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /i18n/zh.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/fonts/jetbrains-mono/JetBrainsMono-Regular.woff2 HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /vendor/fonts/inter/Inter-SemiBold.woff2 HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/config/mode HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /favicon.svg HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/tools HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/pipelines HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/pipelines HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/pipelines/rag_query HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/pipelines/sayhello HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/pipelines/rag_query/parameters HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/pipelines/sayhello/parameters HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/pipelines/sayhello/parameters HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/pipelines/chat/history?session_id=927bd46c-d5b6-4636-b783-73d8795798f9 HTTP/1.1" 404 -
    [02/05/26 18:27:31] INFO [UltraRAG.Client] Executing pipeline client.py:1152
    with configuration
    /Volumes/work/Projects/RisenProjects
    /Python/UltraRAG/examples/sayhello.y
    aml
    /Volumes/work/Projects/RisenProjects/Python/UltraRAG/examples/sayhello.yaml
    /Volumes/work/Projects/RisenProjects/Python/UltraRAG/examples/server/sayhello_server.yaml
    [02/05/26 18:27:31] INFO [UltraRAG.Client] Initializing MCP client.py:1275
    Client...
    WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
    I0000 00:00:1770287251.580718 21938594 fork_posix.cc:71] Other threads are currently calling into gRPC, skipping fork() handlers
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/pipelines HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:31] "GET /api/kb/files HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:32] "GET /api/kb/files HTTP/1.1" 200 -
    [02/05/26 18:27:32] INFO Starting MCP server 'sayhello' with server.py:2506
    transport 'stdio'
    INFO:pipeline_manager:Session fffbace4-0851-4c25-84b2-cbbf12a88ef7 connected for pipeline sayhello
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:32] "POST /api/pipelines/sayhello/demo/start HTTP/1.1" 200 -
    INFO:main:Listing background tasks for user_id: 'user_1770012479231_t6ltf8qka'
    INFO:main:Found 0 tasks for user_id: 'user_1770012479231_t6ltf8qka'
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:32] "GET /api/background-tasks?limit=20&user_id=user_1770012479231_t6ltf8qka HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:34] "GET /api/pipelines/chat/history?session_id=fffbace4-0851-4c25-84b2-cbbf12a88ef7 HTTP/1.1" 200 -
    INFO:main:Session fffbace4-0851-4c25-84b2-cbbf12a88ef7: conversation_history length = 1, has_previous = False
    INFO:main:Session fffbace4-0851-4c25-84b2-cbbf12a88ef7: First turn (history empty), running full pipeline 'sayhello'
    [02/05/26 18:27:34] INFO [UltraRAG.Client] Dynamic Override client.py:1387
    added for 'retriever':
    {'index_backend': 'milvus',
    'index_backend_configs': {'milvus':
    {'uri': 'tcp://192.168.5.112:19530',
    'token': '', 'id_field_name': 'id',
    'vector_field_name': 'vector',
    'text_field_name': 'contents',
    'id_max_length': 64,
    'text_max_length': 60000,
    'metric_type': 'IP', 'index_params':
    {'index_type': 'AUTOINDEX',
    'metric_type': 'IP'},
    'search_params': {'metric_type':
    'IP', 'params': {}},
    'index_chunk_size': 1000}}}
    /Volumes/work/Projects/RisenProjects/Python/UltraRAG/examples/sayhello.yaml
    {'name': 'UltraRAG v3'}
    [02/05/26 18:27:34] INFO [UltraRAG.Client] Available tools: client.py:1872
    ['greet']
    [02/05/26 18:27:34] INFO [UltraRAG.Client] Executing step: client.py:1435
    sayhello.greet
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:34] "POST /api/pipelines/sayhello/chat HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [05/Feb/2026 18:27:34] "GET /vendor/fonts/jetbrains-mono/JetBrainsMono-Medium.woff2 HTTP/1.1" 304 -
    [02/05/26 18:27:34] INFO [UltraRAG.Client] Pipeline execution client.py:1879
    completed.
    [02/05/26 18:27:34] INFO [UltraRAG.Client] Memory output saved client.py:878
    to
    output/memory__sayhello_20260205_1827
    34.json
    [02/05/26 18:27:34] INFO [UltraRAG.Client] Executing pipeline client.py:1152
    with configuration
    /Volumes/work/Projects/RisenProjects
    /Python/UltraRAG/examples/multiturn_
    chat.yaml
    WARNING:pipeline_manager:Failed to init multiturn client: [Errno 2] No such file or directory: '/Volumes/work/Projects/RisenProjects/Python/UltraRAG/examples/server/multiturn_chat_server.yaml', will fall back to full pipeline
    /Volumes/work/Projects/RisenProjects/Python/UltraRAG/examples/multiturn_chat.yaml
    /Volumes/work/Projects/RisenProjects/Python/UltraRAG/examples/server/multiturn_chat_server.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions