[GH-ISSUE #2169] [Issue]: Default-agent-connection paid-API billing warning was dropped #1079

Closed
opened 2026-10-21 05:26:24 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2169

Originally assigned to: @cha1latte on GitHub.

Summary

The legacy app warned the user whenever one or more agents fell back to the configured "default for agents" connection, telling them those agent calls may bill that paid provider. The refactor still resolves and uses the same default agent connection but emits no warning, and the agent_warning event channel is gone entirely.

Expected behavior

When agents run on the default-for-agents connection, the user is warned that those agent calls may bill that provider (connection name + model surfaced).

Actual behavior

Agents silently run on the default agent connection with no user-facing billing warning. A whole-tree grep for the warning string, default_agent_connection_active, agent_warning, and buildDefaultAgentConnectionWarning returns zero matches in src/ and src-tauri/.

Steps to reproduce

  1. Set a paid API as the default-for-agents connection.
  2. Run a chat with background agents (world-state, prose-guardian, continuity, expression, etc.).
  3. No warning is shown that those agents are billing the paid provider each turn.

Impact area

  • React-free engine behavior, contracts, agents, or capability ports

Environment

  • Branch or commit: refactor @ 93555d4b
  • Run mode: Tauri desktop
  • OS + version: Windows 11
  • Node + pnpm versions: n/a (static parity audit, main vs refactor)
  • Rust version, if relevant: n/a
  • Remote Runtime URL configured? not relevant

Regression notes

Worked in legacy (main @ c49f1d95). main: packages/server/src/routes/generate/agent-connection-guards.ts:49-66 (buildDefaultAgentConnectionWarning), emitted at generate.routes.ts:3999-4001,4196-4204, surfaced as agent_warning SSE at :5874-5876. refactor @ 93555d4b: still resolves the connection at src/engine/generation/agent-runner.ts:314-322,959-976 but builds/emits no warning; no agent_warning path exists. Awareness/safety guard only; no functional break.

Originally created by @Romuromylus on GitHub (Jun 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2169 Originally assigned to: @cha1latte on GitHub. ## Summary The legacy app warned the user whenever one or more agents fell back to the configured "default for agents" connection, telling them those agent calls may bill that paid provider. The refactor still resolves and uses the same default agent connection but emits no warning, and the `agent_warning` event channel is gone entirely. ## Expected behavior When agents run on the default-for-agents connection, the user is warned that those agent calls may bill that provider (connection name + model surfaced). ## Actual behavior Agents silently run on the default agent connection with no user-facing billing warning. A whole-tree grep for the warning string, `default_agent_connection_active`, `agent_warning`, and `buildDefaultAgentConnectionWarning` returns zero matches in src/ and src-tauri/. ## Steps to reproduce 1. Set a paid API as the default-for-agents connection. 2. Run a chat with background agents (world-state, prose-guardian, continuity, expression, etc.). 3. No warning is shown that those agents are billing the paid provider each turn. ## Impact area - [x] React-free engine behavior, contracts, agents, or capability ports ## Environment - Branch or commit: refactor @ 93555d4b - Run mode: Tauri desktop - OS + version: Windows 11 - Node + pnpm versions: n/a (static parity audit, main vs refactor) - Rust version, if relevant: n/a - Remote Runtime URL configured? not relevant ## Regression notes Worked in legacy (main @ c49f1d95). main: `packages/server/src/routes/generate/agent-connection-guards.ts:49-66` (buildDefaultAgentConnectionWarning), emitted at `generate.routes.ts:3999-4001,4196-4204`, surfaced as `agent_warning` SSE at `:5874-5876`. refactor @ 93555d4b: still resolves the connection at `src/engine/generation/agent-runner.ts:314-322,959-976` but builds/emits no warning; no `agent_warning` path exists. Awareness/safety guard only; no functional break.
bsakaguchi 2026-10-21 05:26:24 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1079
No description provided.