Buckets:
| import { describe, expect, test } from "bun:test" | |
| import { parse } from "../../src/util/model" | |
| describe("util.model", () => { | |
| test("splits provider from a nested model identifier", () => { | |
| expect(parse("provider/org/model")).toEqual({ providerID: "provider", modelID: "org/model" }) | |
| expect(parse("invalid")).toEqual({ providerID: "invalid", modelID: "" }) | |
| }) | |
| }) | |
Xet Storage Details
- Size:
- 375 Bytes
- Xet hash:
- a6a4c1bd1cc8d42c5cf98d05a14c5b1ff0b82b53aaed5c281434b256f9b8c69e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.