OpenAI patents tool that suggests fixes for code errors in generated apps
OpenAI has filed a patent for a system that helps fix bugs in applications created by generative AI. When an error occurs, the system sends the error details and specific code lines to the AI engine, which then suggests a fix to the user.
In the filing’s own words
Disclosed are systems, apparatuses, processes, and computer-readable media for assisted debugging using a generative response engine. The present technology relates to an online development environment and debugging with a generative response engine. A method of the present technology includes displaying a user interface at a client device configured to generate a bespoke application with a generative response engine; detecting an application error based on executing the bespoke application, wherein the application error includes a stack trace with line numbers identifying a call order of functions of the bespoke application; providing a debug prompt to a generative response engine that includes information associated with the application error; receiving a response from the generative response engine including a suggestion to resolve the application error; and displaying an interface including the suggestion to resolve the application error.
What exactly they claim (claim 1)
1. A method, comprising: displaying a user interface at a client device configured to generate a bespoke application with a generative response engine; detecting a runtime exception based on executing the bespoke application, wherein the runtime exception includes a stack trace identifying a call order of functions of the bespoke application and one or more line numbers corresponding to code lines of the bespoke application associated with the call order; providing a debug prompt to the generative response engine that includes information associated with the runtime exception, wherein the debug prompt includes a structured input comprising the one or more line numbers, the code lines of the bespoke application corresponding to at least one of the one or more line numbers, and corresponding features identified in the stack trace; receiving a response from the generative response engine including a suggestion to resolve the runtime exception; and displaying an interface including the suggestion to resolve the runtime exception.
Facts
- Company
- OpenAI (OpenAI OpCo, LLC)
- Official title
- ASSISTED DEBUGGING WITH GENERATIVE RESPONSE ENGINE
- Publication number
- US20260349913A1
- Application number
- 19271308
- Filed
- Jul 16, 2025
- Published
- Nov 5, 2026
- Inventors
- 4
- Claims
- 20
Classified under
G06F 11/3698 Physics & computingG06F 8/75 Physics & computingMore from OpenAI in AI & software
- OpenAI patents voice system that detects when you stop talking Sep 22, 2026
- OpenAI patents remote control for AI agents running on your device Nov 3, 2026
- OpenAI patents system to catch AI models cheating on tasks Sep 10, 2026
- OpenAI patents method to check AI thinking for cheating Sep 10, 2026
- OpenAI patents system that turns photos into new AI-generated images Sep 10, 2026
Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.
