Repository navigation
Fix AI Coach reliability on iOS - #187
Closed
thedandano wants to merge 1 commit into
Closed
thedandano wants to merge 1 commit into
thedandano wants to merge 1 commit into
Conversation
thedandano
force-pushed
the
codex/fix-ai-coach-ios
branch
from
September 13, 2026 05:10
b823cc7 to
98b64c1
Compare
DuarteSantos8
pushed a commit
that referenced
this pull request
Sep 28, 2026
… up after 30 seconds, and an answer that claims contract 0 or null is refused (#187, its iOS timeout and contract parts) Taken from #187 (thedandano) without its review-schema rewrite. Capacitor iOS maps connectTimeout to URLRequest.timeoutInterval and ignores readTimeout when both are set, so the 30-second connect timeout cut off every job a local model took longer than that over; on iOS the single timer now gets the whole transport budget, and the job timeout still races it through the AbortSignal. contractOK takes only a missing coach_contract as "not said", and the review prompt's nochange answer carries an empty changes list. Left out: the oneOf/const REVIEW_SCHEMA and the ajv devDependency its test needs. schemas.js keeps every schema flat on purpose (llama.cpp's grammar converter, ollama#8444), and that rule should only change after a run against Ollama.
Owner
|
Thanks @thedandano. Part of this is in v1.3.9 under your name: the iOS timeout fix (the Coach on an iPhone now waits out a slow local model), the check that refuses a reply claiming contract 0 or null, and I left out the Released in v1.3.9: https://github.com/DuarteSantos8/openGym/releases/tag/v1.3.9 |
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
coach_contractPlatform behavior
This timeout bug affected iOS only.
Why
changesarray.Testing