Fix GPT-5 Responses API issues with condensing and image support (#7067)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Hannes Rudolph <hrudolph@gmail.com>
This commit is contained in:
Daniel 2025-08-27 22:30:43 -05:00 committed by Hannes Rudolph
parent 602a4fea7f
commit 6842fff258
2 changed files with 4 additions and 4 deletions

View file

@ -1197,9 +1197,9 @@ export class OpenAiNativeHandler extends BaseProvider implements SingleCompletio
}
/**
* Returns a shallow-cloned ModelInfo with pricing overridden for the given tier, if available.
* If no tier or no overrides exist, the original ModelInfo is returned.
*/
* Returns a shallow-cloned ModelInfo with pricing overridden for the given tier, if available.
* If no tier or no overrides exist, the original ModelInfo is returned.
*/
private applyServiceTierPricing(info: ModelInfo, tier?: ServiceTier): ModelInfo {
if (!tier || tier === "default") return info

View file

@ -2791,7 +2791,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
// Checkpoints
public async checkpointSave(force: boolean = false, suppressMessage: boolean = false) {
return checkpointSave(this, force, suppressMessage)
return checkpointSave(this, force, undefined, suppressMessage)
}
public async checkpointRestore(options: CheckpointRestoreOptions) {