mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 14:50:24 +00:00
fix(transcript): always drop orphaned OpenAI reasoning blocks
This commit is contained in:
@@ -225,7 +225,7 @@ describe("sanitizeSessionHistory", () => {
|
||||
expect(result).toEqual([]);
|
||||
});
|
||||
|
||||
it("downgrades openai reasoning only when the model changes", async () => {
|
||||
it("downgrades orphaned openai reasoning when the model changes too", async () => {
|
||||
const { sessionManager, messages, modelId } = makeSnapshotChangedOpenAIReasoningScenario();
|
||||
|
||||
const result = await sanitizeWithOpenAIResponses({
|
||||
|
||||
Reference in New Issue
Block a user