function applyAndGetMutableSession(
prompt: Parameters<typeof applySystemPromptOverrideToSession>[1],
) { const { session } = createMockSession();
applySystemPromptOverrideToSession(session as unknown as AgentSession, prompt); return {
mutable: session,
};
}
describe("applySystemPromptOverrideToSession", () => {
it("applies a string override to the session system prompt", () => { const prompt = "You are a helpful assistant with custom context."; const { mutable } = applyAndGetMutableSession(prompt);
it("applies a function override to the session system prompt", () => { const override = createSystemPromptOverride("function-based prompt"); const { mutable } = applyAndGetMutableSession(override);
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.56Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-06-10)
¤
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.