• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / git-commit-summary / 19990922924 / 1
35%
main: 35%

Build:
DEFAULT BRANCH: main
Ran 06 Dec 2025 04:05PM UTC
Files 13
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Dec 2025 04:05PM UTC coverage: 34.783% (-4.0%) from 38.82%
19990922924.1

push

github

web-flow
feat: Add interactive configuration setup wizard (#22)

* feat: Add interactive configuration setup wizard

This commit introduces an interactive TUI setup wizard using
the **github.com/charmbracelet/huh** library.

The application now validates the loaded configuration upon
startup. If validation fails (e.g., missing API keys), the
wizard guides the user through setting the required LLM
provider, API keys, and models for either Gemini or OpenAI.

Additional changes:
*   Added configuration validation via
    **github.com/go-playground/validator/v10**.
*   Implemented `Validate()` and `Save()` methods on the
    `Config` struct.

* feat: Add llama.cpp support via unified LLM config

Unifies configuration settings by removing provider-specific
nested structs (`GeminiConfig`, `OpenAIConfig`) in favor of
generic fields (`APIKey`, `Model`, `BaseURL`) on the main
`Config` struct.

This change facilitates the introduction of the `llama.cpp`
provider, which reuses the existing OpenAI client infrastructure
but uses dedicated environment variables for configuration.

Refactors include:
*   Introduction of `updateProperties` helper for saving config
    while preserving comments and unrelated entries in the
    `.env` file.
*   Updated setup wizard to include Llama.cpp options.
*   LLM providers now read configuration directly from the
    top-level `Config` struct.

* fix: Use 0600 permissions for config files

This commit implements security hardening and improves reliability:

*   Hardens security by ensuring configuration files containing
    API keys are only readable and writable by the owner (0o600).
    They previously used 0o644.
*   Explicitly passes the `APIKey` to the Google client, removing
    reliance on automatic environment variable loading by the
    underlying `genai` library. This increases reliability.

* Update main.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* refactor: Transla... (continued)

304 of 874 relevant lines covered (34.78%)

0.37 hits per line

Source Files on job 19990922924.1
  • Tree
  • List 13
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19990922924
  • 8637b4e5 on github
  • Prev Job for on main (#19990844247.1)
  • Next Job for on main (#20063604200.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc