Skip to content

Add health check action #55

Description

@TanGentleman
  • Uses primary model name to validate endpoint

The ChatOpenAI object looks like this:

ChatOpenAI(client=[...], openai_api_base='http://localhost:4000/v1')
>>> a.openai_api_base
'http://localhost:4000/v1'

For supported endpoints, we'd ping the server to ensure healthy connection before downstream tasks.

The task action list would be something like: [create_action(ActionType.HealthCheck), [...]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions