Skip to content

agentarts dev 本地绑定地址http://0.0.0.0:8080/ping,而不是http://127.0.0.1/ping #23

Description

@huibinma

agentarts dev
───────────────────────────────────────────────────────────────╮
│ Host: 0.0.0.0 │
│ Port: 8080 │
│ Config: .agentarts_config.yaml │
│ Entrypoint: agent:app │

Invocation Endpoint: POST http://0.0.0.0:8080/invocations
Health Check: GET http://0.0.0.0:8080/ping

https://github.com/huaweicloud/agentarts-sdk-python:文档

Start local development server

agentarts dev

Server runs at http://127.0.0.1:8080

Endpoints:

POST /invocations - Invoke agent

GET /ping - Health check

本地测试需要绑定127.0.0.1,但server发布需要绑定0.0.0.0;所以应该怎么提示用户才合适?

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