Skip to content

Allow specifying serve address via config.yml #834

@av

Description

@av

Is your feature request related to a problem? Please describe.

Currently, when I want to customize how aichat is served, I can specify an argument for --serve option:

aichat --serve 0.0.0.0:34051

I would like to have an option to pre-configure the CLI via either env var or config.yml file so that I can run the serve without specifying address explicitly.

Describe the solution you'd like

# Via env
AICHAT_ADDRESS=0.0.0.0:34051 aichat --serve

# Via config.toml
address: 0.0.0.0:34051

It'd be even better to be able to specify host/port pair separately, but I understand that it's a bit more to ask

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions