mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 20:08:26 +00:00
feat: add Kimi K2.5 model to synthetic catalog (#4407)
* feat: add Kimi K2.5 model to synthetic catalog Add hf:moonshotai/Kimi-K2.5 to the synthetic model catalog. This model is available via dev.synthetic.new API. - 256k context window - 8192 max tokens - Supports reasoning * chore: fix formatting in onboard-helpers.ts * fix: update config candidate ordering test (#4407) (thanks @manikv12) --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
@@ -48,8 +48,12 @@ describe("state + config path candidates", () => {
|
||||
it("orders default config candidates in a stable order", () => {
|
||||
const home = "/home/test";
|
||||
const candidates = resolveDefaultConfigCandidates({} as NodeJS.ProcessEnv, () => home);
|
||||
expect(candidates[0]).toBe(path.join(home, ".openclaw", "openclaw.json"));
|
||||
expect(candidates).toHaveLength(1);
|
||||
const expectedDirs = [".openclaw", ".clawdbot", ".moltbot", ".moldbot"];
|
||||
const expectedFiles = ["openclaw.json", "clawdbot.json", "moltbot.json", "moldbot.json"];
|
||||
const expected = expectedDirs.flatMap((dir) =>
|
||||
expectedFiles.map((file) => path.join(home, dir, file)),
|
||||
);
|
||||
expect(candidates).toEqual(expected);
|
||||
});
|
||||
|
||||
it("prefers ~/.openclaw when it exists and legacy dir is missing", async () => {
|
||||
|
||||
Reference in New Issue
Block a user