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: add config profiles to llamactl #470

Merged
merged 4 commits into from
Feb 28, 2025
Merged

feat: add config profiles to llamactl #470

merged 4 commits into from
Feb 28, 2025

Conversation

masci
Copy link
Member

@masci masci commented Feb 19, 2025

This PR adds support for config profiles to llamactl. From now on, llamactl will store a configuration file with the following format:

default:
  insecure: true
  server: http://localhost:4501
  timeout: 10.0

prod:
  insecure: false
  server: http://example.com:8080
  timeout: 120.0

Users can specify what profile to use by passing its name with the option --profile. The default profile will be selected when --profile is not used.

@masci masci marked this pull request as ready for review February 19, 2025 22:15
@coveralls
Copy link

Coverage Status

coverage: 81.085% (+0.3%) from 80.818%
when pulling c1a581d on massi/config-profiles
into 05e05f9 on main.

@masci masci merged commit 3786f62 into main Feb 28, 2025
31 checks passed
@masci masci deleted the massi/config-profiles branch February 28, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants