// SF — Provider display name mapping tests

import assert from "node:assert/strict";
import { describe, test } from "vitest";
import { providerDisplayName } from "../model-selector.js";

describe("providerDisplayName", () => {
	test("renames 'anthropic' to 'anthropic-api'", () => {
		assert.equal(providerDisplayName("anthropic"), "anthropic-api");
	});

	test("passes through unmapped providers unchanged", () => {
		assert.equal(providerDisplayName("claude-code"), "claude-code");
		assert.equal(providerDisplayName("openai"), "openai");
		assert.equal(providerDisplayName("bedrock"), "bedrock");
		assert.equal(providerDisplayName("github-copilot"), "github-copilot");
		assert.equal(providerDisplayName("openrouter"), "openrouter");
	});
});
