Skip to content

feat: universal local LLM backend discovery and compatibility negotiation - #93

Merged
spk-c merged 11 commits into
mainfrom
feat/universal-local-llm-backends
Oct 20, 2026
Merged

spk-c merged 11 commits into
mainfrom
feat/universal-local-llm-backends

Conversation

@spk-c

@spk-c spk-c commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Changes

  • Discover running localhost OpenAI-compatible model APIs from the first-run wizard, including typical NInfer, llama.cpp, LM Studio, Ollama, vLLM, SGLang, TabbyAPI, and KoboldCpp ports.
  • Retry requests once without the nonstandard top_k sampler only when the server explicitly reports it as unsupported (HTTP 400/422), with connection cleanup and no retries for auth, network, or unrelated errors.
  • Optionally probe streaming and JSON Schema/JSON-object capabilities with synthetic prompts during setup; report unknown/unverified results conservatively.
  • Keep explicit model IDs and existing generic custom-server configuration unchanged.
  • Document configuration, privacy considerations, and limitations; add offline regression tests.

Verification

  • CI: offline regression, Python syntax, Ruff, mypy, Windows packaging (pending).
  • No live LLM or target scans executed.

@spk-c
spk-c merged commit b0768ee into main Oct 20, 2026
13 checks passed
@spk-c
spk-c deleted the feat/universal-local-llm-backends branch October 22, 2026 12:51
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