Skip to content

feat: OpenAI-compatible providers and hybrid prompt strategy - #159

Merged
anjerodev merged 2 commits into
mainfrom
feat/openai-compatible-providers
Oct 20, 2026
Merged

anjerodev merged 2 commits into
mainfrom
feat/openai-compatible-providers

Conversation

@anjerodev

Copy link
Copy Markdown
Owner

Summary

  • Add openai-compatible provider support for LM Studio and similar local servers (alongside Ollama), including model listing and JSON-only commit generation.
  • Add promptStrategy (auto / diff / summaries) so small stages use a single diff→commit call, with summarize-first as the fallback for larger changes.
  • Bump TanStack AI / related deps for the new adapters; document non-thinking model recommendations (e.g. Qwen2.5-Coder 3B).

Test plan

  • pnpm test / typecheck / lint pass
  • Ollama path still generates commits with a recommended local model
  • LM Studio: set provider to openai-compatible, endpoint http://127.0.0.1:1234/v1, load Qwen2.5-Coder 3B with Reasoning off, generate a commit
  • With promptStrategy: auto, a small staged change uses one model call; a large multi-file stage falls back to summaries
  • Switch Model lists models from the configured provider

Support LM Studio and similar servers via an openai-compatible provider, keep prompts short with auto diff-vs-summaries selection, and document non-thinking model recommendations.
@anjerodev
anjerodev merged commit 1d72a52 into main Oct 20, 2026
1 check passed
@anjerodev
anjerodev deleted the feat/openai-compatible-providers branch October 20, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant