Skip to content

bug: Health Check Endpoint at //health Path when Using Default Path #700

@MarlzRana

Description

@MarlzRana

When using the default value to the path here:

def add_langgraph_fastapi_endpoint(app: FastAPI, agent: LangGraphAgent, path: str = "/"):

One ends up with the health check endpoint being at //health, due to this line of code that doesn't take in to account trailing slashes in path:

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