Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: --start-server should support API prefix settings #1810

Open
louis-jan opened this issue Dec 18, 2024 · 0 comments
Open

feat: --start-server should support API prefix settings #1810

louis-jan opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
category: app shell Installer, updaters, distributions type: feature request A new feature
Milestone

Comments

@louis-jan
Copy link
Contributor

louis-jan commented Dec 18, 2024

Problem Statement

Currently, when starting the cortex-server with the attached mode using the --start-server option, you can specify the following parameters:

  • host
  • port
  • config_file_path
  • data_folder_path

It would be beneficial to have the option to set server API prefix settings to change the default /v1. Currently, Jan supports this API server setting.

Another setting that would truly be beneficial is to configure the log file path, where Jan could simply route all log outputs into a single file.

Feature Idea

AC1:

Given that I have cortex-server installed,

When I start the cortex server using the --start-server command,

Then I can specify the --api_prefix argument to set the API prefix path, for example, /v1.

As a result, I will observe that the server serves endpoints at the configured path.

AC2:

Given that I have cortex-server installed,

When I start the cortex server using the --start-server command,

Then I can specify the --log_path argument to set the log path for the cortex server.

As a result, I will see that the server outputs logs to the specified path.

@github-project-automation github-project-automation bot moved this to Investigating in Jan & Cortex Dec 18, 2024
@louis-jan louis-jan added this to the v1.0.6 milestone Dec 18, 2024
@louis-jan louis-jan added type: feature request A new feature category: app shell Installer, updaters, distributions labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: app shell Installer, updaters, distributions type: feature request A new feature
Projects
Status: Investigating
Development

No branches or pull requests

2 participants