mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2387] [Issue]: 10-CONN-CONTRACT-provider-catalog-create-defaults Cohere create defaults drift #1174
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#1174
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 @Promansis on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2387
Originally assigned to: @Promansis on GitHub.
Summary
10-CONN-CONTRACT-provider-catalog-create-defaults: the refactor provider catalog changed Cohere create-time defaults from the legacy OpenAI-compatible endpoint to Cohere v2 metadata, without a recorded intentional divergence.
Linked tracker: #2384
Expected behavior
Legacy behavior should be preserved or an intentional divergence should be recorded: Cohere connections created from the provider picker default to
https://api.cohere.ai/compatibility/v1and/models.Actual behavior
Refactor Cohere defaults are
https://api.cohere.com/v2and/v1/models. The create modal seeds new connections fromPROVIDERS[provider], so new Cohere connections inherit the changed defaults.Steps to reproduce
Impact area
Environment
refactorparityscan against legacymainLogs, screenshots, or video
Proof:
main:src/engine/contracts/constants/providers.ts:82(defaultBaseUrl: "https://api.cohere.ai/compatibility/v1",modelsEndpoint: "/models").src/engine/contracts/constants/providers.ts:82(defaultBaseUrl: "https://api.cohere.com/v2",modelsEndpoint: "/v1/models").src/features/shell/connections/components/CreateConnectionModal.tsx:33.PROVIDERSruntime providers:src/features/shell/connections/components/CreateConnectionModal.tsx:84.docs/REFACTOR_PARITY_PIPELINE.md:57.Files inspected:
docs/REFACTOR_PARITY_PIPELINE.md:57src/engine/contracts/constants/providers.ts:18src/engine/contracts/constants/model-lists.ts:571src/features/shell/connections/components/CreateConnectionModal.tsx:31src/features/shell/connections/components/ConnectionEditor.tsx:119src/features/catalog/connections/hooks/use-connections.ts:152src/shared/api/connection-command-api.ts:3src-tauri/src/commands/storage/llm.rs:221mainRegression notes
Legacy
mainused the OpenAI-compatible Cohere endpoint. Refactor changed the catalog default. Live provider success was not tested because Target 11 owns transport proof.Additional context
Acceptance criteria:
https://api.cohere.ai/compatibility/v1,/models) or the divergence is recorded as intentional with rationale.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: