[PR #2407] [CLOSED] Fix/issue 2387 cohere defaults #5589

Closed
opened 2026-10-22 04:17:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2407
Author: @Promansis
Created: 6/6/2026
Status: ❌ Closed

Base: refactor ← Head: fix/issue-2387-cohere-defaults


📝 Commits (4)

  • e387f3f Add Bunny review check status
  • a7f75a6 Harden Bunny review CI policy
  • 332fbef Merge remote-tracking branch 'origin/refactor' into bunny-ci-review-hardening
  • c40462d Restore Cohere compatibility defaults

📊 Changes

8 files changed (+427 additions, -75 deletions)

View changed files

📝 .github/bunny-review/bunny_review.py (+233 -11)
➕ .github/bunny-review/ci-checks.json (+7 -0)
📝 .github/bunny-review/requirements.txt (+1 -1)
📝 .github/bunny-review/reviewer-prompt.md (+2 -0)
📝 .github/workflows/bunny-review-auto.yml (+18 -7)
📝 .github/workflows/bunny-review-command.yml (+20 -4)
📝 .github/workflows/bunny-review.yml (+144 -50)
📝 src/engine/contracts/constants/providers.ts (+2 -2)

📄 Description

Linked issue

Closes #2387

Why this change

  • Cohere connections created from the provider picker were seeded with refactor-only v2 defaults instead of the legacy OpenAI-compatible Cohere endpoint.
  • The provider catalog is the source for create-time connection defaults, so the catalog drift caused new Cohere connections to inherit the wrong base URL and model endpoint.

What changed

  • Restored Cohere's defaultBaseUrl to https://api.cohere.ai/compatibility/v1.
  • Restored Cohere's modelsEndpoint to /models.

Refactor impact

Primary owner:

React-free engine provider contracts.

Impact areas reviewed:

  • CreateConnectionModal seeds new connections from PROVIDERS[provider].defaultBaseUrl.
  • ConnectionEditor displays and reseeds provider defaults from the same provider catalog.

Boundary notes:

  • Change stays inside src/engine/contracts/constants/providers.ts.
  • No shared API, Tauri, Rust, remote-runtime, or feature-layer boundary changes.

Pressure points touched:

  • None.

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • Full pnpm check passes before PR push/handoff
  • Human/manual validation completed by contributor or reviewer

Manual verification notes

  • pnpm typecheck
  • pnpm check
  • Static trace confirmed create-time seeding reads PROVIDERS[provider].defaultBaseUrl.
  • Live Cohere provider transport was not exercised.

Feature Discoverability

Check exactly one:

  • Updated src/features/shell/discovery/ because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.
  • N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find.

Reason:

  • Provider default compatibility fix only; no new user-discoverable feature.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

  • Not applicable; no visible UI layout or interaction change.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/2407 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 6/6/2026 **Status:** ❌ Closed **Base:** `refactor` ← **Head:** `fix/issue-2387-cohere-defaults` --- ### 📝 Commits (4) - [`e387f3f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e387f3ff4173c6557fc37c3c4f8c646b0ca158dd) Add Bunny review check status - [`a7f75a6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a7f75a68af0d20ceed32dc91c223ba80bf8b26c5) Harden Bunny review CI policy - [`332fbef`](https://github.com/Pasta-Devs/Marinara-Engine/commit/332fbefe9bd09243901b938b24146cf8abf2ced6) Merge remote-tracking branch 'origin/refactor' into bunny-ci-review-hardening - [`c40462d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c40462de7d95ea29f6a732d88d5fdf9d1ab60562) Restore Cohere compatibility defaults ### 📊 Changes **8 files changed** (+427 additions, -75 deletions) <details> <summary>View changed files</summary> 📝 `.github/bunny-review/bunny_review.py` (+233 -11) ➕ `.github/bunny-review/ci-checks.json` (+7 -0) 📝 `.github/bunny-review/requirements.txt` (+1 -1) 📝 `.github/bunny-review/reviewer-prompt.md` (+2 -0) 📝 `.github/workflows/bunny-review-auto.yml` (+18 -7) 📝 `.github/workflows/bunny-review-command.yml` (+20 -4) 📝 `.github/workflows/bunny-review.yml` (+144 -50) 📝 `src/engine/contracts/constants/providers.ts` (+2 -2) </details> ### 📄 Description ## Linked issue Closes #2387 ## Why this change - Cohere connections created from the provider picker were seeded with refactor-only v2 defaults instead of the legacy OpenAI-compatible Cohere endpoint. - The provider catalog is the source for create-time connection defaults, so the catalog drift caused new Cohere connections to inherit the wrong base URL and model endpoint. ## What changed - Restored Cohere's `defaultBaseUrl` to `https://api.cohere.ai/compatibility/v1`. - Restored Cohere's `modelsEndpoint` to `/models`. ## Refactor impact Primary owner: React-free engine provider contracts. Impact areas reviewed: - `CreateConnectionModal` seeds new connections from `PROVIDERS[provider].defaultBaseUrl`. - `ConnectionEditor` displays and reseeds provider defaults from the same provider catalog. Boundary notes: - Change stays inside `src/engine/contracts/constants/providers.ts`. - No shared API, Tauri, Rust, remote-runtime, or feature-layer boundary changes. Pressure points touched: - None. ## Validation - [x] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [x] Full `pnpm check` passes before PR push/handoff - [ ] Human/manual validation completed by contributor or reviewer ### Manual verification notes - `pnpm typecheck` - `pnpm check` - Static trace confirmed create-time seeding reads `PROVIDERS[provider].defaultBaseUrl`. - Live Cohere provider transport was not exercised. ## Feature Discoverability Check exactly one: - [ ] Updated `src/features/shell/discovery/` because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool. - [x] N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find. Reason: - Provider default compatibility fix only; no new user-discoverable feature. ## Docs and release impact - [x] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [ ] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence - Not applicable; no visible UI layout or interaction change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:17:37 +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#5589
No description provided.