Repository navigation
[#maintenance] v0.2.0: OpenAI-compatible API, local-LLM accuracy fixes and CLI upgrade - #2
Merged
Merged
Conversation
…it branch when detached
… stdlib dependencies
… strip reasoning blocks
… instead of length option
…backends and demo
…for https endpoints
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the gem to v0.2.0 with a focus on making the local-LLM integration accurate and reliable.
API layer
/api/generateto the standard OpenAI-compatible/v1/chat/completionsendpoint — now genuinely works with Ollama, LM Studio, llama.cppllama-serverand vLLM/v1and trailing slashesConnectionError,ApiError) with friendly messages<think>blocks strippedCLI
commitnow commits by default after a y/n confirmation (closed stdin counts as "no" so non-interactive runs never auto-commit)--message-onlyflag replaces print-only behavior;--conventionalfor Conventional Commits format;--lengthfor subject lengthmodelscommand lists models from the server;configpicks from that list when reachableoptions.lengthcollision that truncated every generated message to 3-4 characters--url/--modelwere ignoredHousekeeping
qwen3:8bdocs/generate_demo.py)Test plan
bundle exec rake test— 23 tests, all green (verified repeatedly, plus on CI across Ruby 3.1–3.4)--message-only