Repository navigation
feat: consolidate discovery, Apple, MCP, agents and SDK upgrades - #16
Merged
Merged
Conversation
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.
What / why
Local users need a coherent path from a running model to discovery, tools, structured output and local application integrations. The competing agent PRs added useful pieces, but combined green tests still missed broken tool-loop ownership, invalid schema acceptance, unverified locality, SSE waiting and lossy conversation export.
This consolidates the reviewed portions of #9, #10, #11, #12, #13, #14 and #15, completes worthwhile incomplete features, and keeps one implementation of each shared concern. Detailed provenance and rejected behavior are in the consolidation record. Source PRs #9–15 are now closed as superseded, with their branches and history retained. Original research ledgers remain in their source PRs; row counts are not treated as quality evidence.
Changes
Compat
LLM/chat()/complete()/add_function()behavior is preserved, with additive APIs and documented validation changes.[structured]adds jsonschema;[yaml]adds PyYAML; Apple/model/server packages stay optional.require_localis an advisory metadata check that fails closed; it is not a network sandbox. Tool timeouts bound waiting and do not terminate running Python functions. Hardware estimates are approximate. Native schema/vision capabilities remain engine/model/SDK dependent. The bundled server remains a development adapter and implements a documented Responses subset, not full OpenAI API parity.No version bump, merge, release or PyPI publication is included.
Tests
Current head
8df06f83fe9d09cfd3f65a6a5da97fdd730d281f: all eight platform/version jobs and package validation are green. CI, package validation. The Windows publication failure found by the initial expanded matrix was fixed before this final green run.Live native Apple inference, AirLLM/GPU execution and every provider/model combination were not certified. No local Ollama daemon was available during this review; no model download was performed. Skipped hardware/live tests are not reported as passes.
Docs
[Unreleased]updated.