Skip to content

Commit 2b2c73c

Browse files
test(server): remove provider label identity assertion
1 parent d2c3e2e commit 2b2c73c

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

‎apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ import { OrchestrationProjectionSnapshotQueryLive } from "./ProjectionSnapshotQu
6161
import * as ThreadBackgroundLiveness from "../ThreadBackgroundLiveness.ts";
6262
import * as ThreadPlanProgress from "../ThreadPlanProgress.ts";
6363
import {
64-
providerErrorLabel,
6564
providerErrorLabelFromInstanceHint,
6665
ProviderCommandReactorLive,
6766
} from "./ProviderCommandReactor.ts";
@@ -164,10 +163,6 @@ describe("ProviderCommandReactor", () => {
164163
}),
165164
).toBe("claude_openrouter");
166165
});
167-
168-
it("uses the unknown driver kind when the resolved driver is not registered locally", () => {
169-
expect(providerErrorLabel("third_party_driver")).toBe("third_party_driver");
170-
});
171166
});
172167

173168
async function createHarness(input?: {

‎apps/server/src/orchestration/Layers/ProviderCommandReactor.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function formatThreadTitleContext(messages: ReadonlyArray<ThreadTitleMessage>):
228228
};
229229
}
230230

231-
export function providerErrorLabel(value: string | undefined): string {
231+
function providerErrorLabel(value: string | undefined): string {
232232
const normalized = value?.trim();
233233
return normalized && normalized.length > 0 ? normalized : "unknown";
234234
}

0 commit comments

Comments
 (0)