Merge remote-tracking branch 'origin/farm/8573d9d3/v15-11-4-openai-responses-400-previous-r'

This commit is contained in:
can1357
2026-06-12 05:55:14 +02:00
6 changed files with 182 additions and 11 deletions
@@ -8354,7 +8354,8 @@ export class AgentSession {
return (
/\bItem with id ['"][^'"]+['"] not found\.?/i.test(errorMessage) ||
(/previous[ _]?response/i.test(errorMessage) && /not[ _]?found|invalid|expired|stale/i.test(errorMessage))
(/previous[ _]?response/i.test(errorMessage) &&
/not[ _]?found|invalid|expired|stale|zero[ _-]?data[ _-]?retention/i.test(errorMessage))
);
}