import { describe, expect, it } from "vitest"; import type { ModelCatalogEntry } from "../../agents/model-catalog.js"; import { buildModelAliasIndex } from "../../agents/model-selection-shared.js"; import type { OpenClawConfig } from "../../config/config.js"; import type { SessionEntry } from "../../config/sessions.js"; import { applyResetModelOverride } from "./session-reset-model.js";
describe("applyResetModelOverride", () => {
it("selects a model hint and strips it from the body", async () => { const { sessionEntry, sessionCtx } = await applyResetFixture({
resetTriggered: true,
});
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.