Skip to content

server: advertise router preset reload capability (#185) - #193

Open
dannyward630 wants to merge 1 commit into
Anbeeld:mainfrom
dannyward630:fix/185-router-reload-capability
Open

dannyward630 wants to merge 1 commit into
Anbeeld:mainfrom
dannyward630:fix/185-router-reload-capability

Conversation

@dannyward630

Copy link
Copy Markdown

Overview

Add preset_reload: "POST /models/reload" to router GET /props, so clients can discover BeeLlama’s reload route instead of assuming upstream’s GET /models?reload=1 behavior. Add a regression assertion and document the advertised capability. Closes #185.

Additional information

Validation:

  • ./tests.sh unit/test_router.py::test_router_props -v — passed.
  • Debug and Release main CTest suites: 75/75 each; backend-op checks passed.
  • Qwen3 0.6B inference and perplexity evaluation completed; CI-enforced perplexity thresholds passed. llama-bench on Q4_0, CPU with 4 threads: pp32 256.64 tok/s, tg32 64.01 tok/s.
  • Model-labeled CTest: 8/9 passed in both Debug and Release. test-save-load-state-tail aborts at src/llama-context.cpp:4517 during invalid-state restore; this PR does not change backend/state code.
  • Strict full CI compilation stops on existing warnings in tests/test-kvarn.cpp (signed/unsigned comparison and deprecated API calls). I made only those warning categories non-fatal to continue the validation run; no unrelated source was changed.

Requirements

  • I have read and agree with the contributing guidelines
  • AI usage disclosure: YES — Codex (GPT-6) assisted with the implementation, documentation, and regression test. The submitter is responsible for reviewing, understanding, and defending every submitted line. The current CONTRIBUTING.md welcomes AI-assisted contributions with disclosure.

@dannyward630
dannyward630 marked this pull request as ready for review October 29, 2026 21:30
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-29T21:31:22.951575Z
We couldn’t complete this review. Comment @codex review to try again.
e10652b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

Feature Request: Router: upstream clients' GET /models?reload=1 is silently inert, and a client can't detect which reload route exists

1 participant