mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4223] [MERGED] Fix iOS keyboard inset and KoboldCPP Router Mode #6289
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6289
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4223
Author: @SpicyMarinara
Created: 7/28/2026
Status: ✅ Merged
Merged: 7/28/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/4222-ios-composer-bottom-inset📝 Commits (4)
7a0309cStart issue #422281aa041Fix mobile composer keyboard insetba3b286Fix KoboldCPP Router Mode loopback routing89da4a9Reset mobile viewport baseline on rotation📊 Changes
5 files changed (+110 additions, -9 deletions)
View changed files
📝
e2e/core-flows.e2e.ts(+76 -2)📝
packages/client/src/components/layout/AppShell.tsx(+21 -3)📝
packages/client/src/styles/globals.css(+6 -2)📝
packages/server/src/utils/security.ts(+6 -1)📝
scripts/regressions/provider-compat.regression.ts(+1 -1)📄 Description
Linked issues
Closes #4222
Closes #4224
Why this change
localhostto the first DNS result (::1on affected systems), causing an immediatefetch failedbefore KoboldCPP received the request.What changed
localhostresolves to both families, while preserving explicit IPv6 loopback URLs and all existing outbound security validation.localhostagainst an IPv4-only fixture, matching KoboldCPP Router Mode’s public proxy.KoboldCPP documents Router Mode as an OpenAI-compatible reverse proxy that supports
/v1/chat/completions, hotswapping, streaming, and automatic wake after unload: https://github.com/LostRuins/koboldcpp/wiki#what-is-router-mode-how-can-i-hotswap-modelsValidation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm exec playwright test -c playwright.config.ts --project=mobile-chromium --grep "mobile chat composer follows the visual viewport above the software keyboard"— 1 passed.pnpm regression:providers— passed. Before the resolver fix, the new IPv4-onlylocalhostfixture reproduced the reporter’s exactTypeError: fetch failedwithECONNREFUSED ::1; after the fix, streaming and non-streaming requests both pass.pnpm regression:request-security— passed.pnpm check— passed; the existingNoodleHome.tsxexhaustive-deps warning remains unchanged.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Summary by CodeRabbit
localhost-based URLs for the SSE gateway.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.