mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
test(model-hub): name the deployment pricing fixture to stay within the inline object lint budget
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
This commit is contained in:
parent
5b38129816
commit
71fa660243
1 changed files with 3 additions and 2 deletions
|
|
@ -427,7 +427,7 @@ describe("ModelHubTable", () => {
|
|||
});
|
||||
|
||||
it("shows each deployment's own prices, by service tier, in the model details", async () => {
|
||||
const dialog = await openDetails({
|
||||
const gpt5OnOpenAIAndAzure = {
|
||||
model_group: "gpt-5",
|
||||
providers: ["openai", "azure"],
|
||||
mode: "chat",
|
||||
|
|
@ -439,7 +439,8 @@ describe("ModelHubTable", () => {
|
|||
},
|
||||
{ provider: "azure", costs: { input_cost_per_token: 2.75e-6 }, tiered_pricing: [] },
|
||||
],
|
||||
});
|
||||
};
|
||||
const dialog = await openDetails(gpt5OnOpenAIAndAzure);
|
||||
|
||||
const openai = within(dialog).getByRole("region", { name: "OpenAI pricing" });
|
||||
expect(within(openai).getByRole("row", { name: /Input \/ 1M tokens/ })).toHaveTextContent("$2.50$5.00");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue