mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1481] Smoke test: Connections / Runtime Behavior #737
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#737
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/1481
Originally assigned to: @cha1latte on GitHub.
ASSIGNED TO JAKE9000
Please take Smoke test: Connections / Runtime Behavior.
Assign one person per provider/config. Do not expose secrets in screenshots.
Setup:
Checks:
If something fails, file one GitHub issue per distinct failure and link it back to the project card.
@jake9000 commented on GitHub (May 29, 2026):
Tester: me
Branch: refactor/
390990eOS: Alma Linux
Run Mode: podman using the provided manifest + vite
Yes
Partial:
Some services output a partial of the key. When I investigated the source code, ME does not redact messages. We are relying on the services to not include keys in their errors. For some of them, I found that if the key is very short such as 'MyKey' then that will be completely in the clear because they are set to show the first x and last y of the string.
junk key: "this is my super secret key"
Connection: OpenAI
Null key connection test: Provider returned HTTP 401 Unauthorized: { "error": { "message": "Missing bearer authentication in header", "type": "invalid_request_error", "param": null, "code": null } }
Null key send message: connection model is required
Junk key connection test: Provider returned HTTP 401 Unauthorized: { "error": { "message": "Incorrect API key provided: this is *************** key. You can find your API key at https://platform.openai.com/account/api-keys.", "type": "invalid_request_error", "param": null, "code": "invalid_api_key" } }
Junk key message: connection model is required
Connection: OpenAI (ChatGPT)
Behavior is inconsistent.
In MAIN, the api key and connection url is locked out, a helptext is displayed explaining that ME will aquire a .json file from the filesystem.
In REFACTOR, this helptext is missing. The engine does report in error messages that it could not find the .json file however.
Connection: Anthropic
Null key connection test: Provider returned HTTP 401 Unauthorized: {"type":"error","error":{"type":"authentication_error","message":"x-api-key header is required"},"request_id":"req_011CbW6xZiDnvwbtSbbZi9ep"}
Null key message: same
Junk key connection test: Provider returned HTTP 401 Unauthorized: {"type":"error","error":{"type":"authentication_error","message":"invalid x-api-key"},"request_id":"req_011CbW71tTRntKxP8TdHaYLK"}
Junk key message: same
gemini:
null key: API returned 403: Method doesn't allow unregistered callers (callers without established identity). Please use API Key or other form of API consumer identity to call this API.
junk key: API returned 400: API key not valid. Please pass a valid API key.
Messages are the same in both connection test and messages
Vertex
I don't have a vertex project to test this with, and one is required to have a valid personalized url.
Mistral:
junk: API returned 401: Unauthorized
null: API returned 401: Unauthorized
Cohere:
Null: Provider returned HTTP 401 Unauthorized: {"id":"1ffa5168-32e5-4393-85af-acc632af5853","message":"no api key supplied"}
Junk: Provider returned HTTP 401 Unauthorized: {"id":"8d38677b-437b-441c-9021-7fe3f3148215","message":"Incorrect API key provided: ****. You can find your API key at https://dashboard.cohere.com/api-keys."}
Openrouter:
Null: API key is required for this provider.
Junk: OpenRouter returned HTTP 401 Unauthorized: {"error":{"message":"Missing Authentication header","code":401}}
Note: this connection does work when a valid key is provided.
NanoGPT
Junk key
Connection test: (green text)Connection successful. 613 models available.
Send test message: Provider returned HTTP 401 Unauthorized: Invalid session
(the success message is misleading but this technically has parity with MAIN. nano must not be evaluating the key on connection test.)
Null key:
connection test: (green text) Connection successful. 613 models available.
send test emssage: Provider returned HTTP 402 Payment Required: Insufficient balance. Multiple payment options available. [an x402 payment address and retrieval url is in this message; someone with access to this message can make a payment and retrieve the output.
xGrok
Null key: Provider returned HTTP 401 Unauthorized: {"code":"The request does not have valid authentication credentials","error":"No credentials presented. [WKE=unauthenticated:no-credentials]"}
Junk key: Provider returned HTTP 400 Bad Request: {"code":"Client specified an invalid argument","error":"Incorrect API key provided: th***ey. You can obtain an API key from https://console.x.ai."}
both messages and connection test showed this message
custom oai-compatible:
I attempted it with fireworks and received normal errors both times.
@cha1latte commented on GitHub (May 29, 2026):
Follow-up issues filed from Jake's smoke-test notes:
I did not file separate issues for providers that returned clear normal auth failures without additional behavior beyond the broader redaction/connection-test contract findings.
@cha1latte commented on GitHub (May 29, 2026):
Closing, thank you @jake9000 !