Skip to content

Add git config support for provider and settings resolution - #4

Merged
evilmarty merged 1 commit into
mainfrom
git-config
Aug 29, 2026
Merged

Add git config support for provider and settings resolution#4
evilmarty merged 1 commit into
mainfrom
git-config

Conversation

@evilmarty

Copy link
Copy Markdown
Owner

This update introduces support for resolving provider and settings configurations from git config, in addition to existing flag and environment variable options. This enhances flexibility and simplifies persistent configuration management.

  • Added git config support for resolving provider, model, prompt, base URL, and API key.
  • Introduced ConfigGet method in Git to fetch git config values.
  • Updated Resolve* methods to include git config as a fallback in precedence order.
  • Enhanced tests to validate git config integration for settings resolution.
  • Updated documentation to reflect the new git config options.

- Extend provider, model, prompt, base URL, and API key resolution to include `git config` keys
- Introduce `ConfigGet` method in `Git` to fetch `git config` values
- Update tests to validate `git config` integration for settings resolution
@evilmarty
evilmarty merged commit d46ad33 into main Aug 29, 2026
2 checks passed
@evilmarty
evilmarty deleted the git-config branch August 29, 2026 22:22
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.

1 participant