mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1568] [Issue]: NanoGPT connection test reports success before generation auth is actually usable #808
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#808
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?
Originally created by @cha1latte on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1568
Originally assigned to: @Xelvanis on GitHub.
Summary
NanoGPT connection testing can report success even when the same connection cannot send a message because auth or payment state is invalid.
Expected behavior
The connection test should either validate the same auth/payment requirements needed for generation, or clearly say that it only confirms model-list access and does not prove the connection can send messages.
Actual behavior
Jake's Connections / Runtime Behavior smoke test found that NanoGPT returns a green success message during connection test even for invalid or missing key setups, but sending a message fails afterward:
401 Unauthorized: Invalid session.This makes the connection look usable until the user tries generation.
Steps to reproduce
Impact area
Environment
refactor/390990eLogs, screenshots, or video
Source smoke-test issue: #1481.
Do not paste payment retrieval URLs or real API keys into this issue.
Regression notes
Jake noted this behavior may have parity with main, so this may be an existing provider-test contract problem rather than a refactor-only regression.
Additional context
Even if NanoGPT's model-list endpoint does not validate the key, Marinara should avoid presenting that as full connection success.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: