Summary
On macOS, generation can fail with a custom provider / GPT-5.4 setup and the app produces no visible output. The user only sees a generic generation failure, while diagnostics show the underlying error:
Error invoking remote method 'codesign:v1:generate': CodesignError: 400 Instructions are required
This appears to be surfaced as a RENDERER_ERROR, but the logs suggest the request made it through build_request.ok and failed after send_request, so the classification and user-facing error handling may be misleading.
User Impact
- macOS users can repeatedly hit generate and get no output at all
- the UI does not provide an actionable explanation
- the failure is easy to misread as a renderer issue, while the actual problem looks like an upstream/provider request contract error
Environment
- App:
0.1.3
- Platform:
darwin
- Electron:
39.8.8
- Node:
22.22.1
- Provider:
custom-custom-bt65
- Model:
gpt-5.4
Diagnostic Report
- Code:
RENDERER_ERROR
- Fingerprint:
0414cb45
- Occurred at:
2026-04-22T06:08:36.761Z
- Bundle path:
/Users/wuhao/Downloads/open-codesign-diagnostics-2026-04-22T06-10-16.zip
Error Seen In Diagnostics
[store] applyGenerateError {"generationId":"mo9njby6-g8208z","designId":"c572117b-5068-4e74-86b1-7d4640272721","message":"Error invoking remote method 'codesign:v1:generate': CodesignError: 400 Instructions are required"}
Relevant Log Tail
[generate] step=build_request.ok {
runId: 'mo9nl6uz-y9t0ja',
generationId: 'mo9nl6uz-y9t0ja',
provider: 'custom-custom-bt65',
modelId: 'gpt-5.4',
ms: 1,
messages: 3,
skills: 0,
skillWarnings: 0
}
[generate] step=send_request {
runId: 'mo9nl6uz-y9t0ja',
generationId: 'mo9nl6uz-y9t0ja',
provider: 'custom-custom-bt65',
modelId: 'gpt-5.4'
}
agent.turn_start { runId: 'mo9nl6uz-y9t0ja', generationId: 'mo9nl6uz-y9t0ja' }
[context-prune] step=caps {
runId: 'mo9nl6uz-y9t0ja',
generationId: 'mo9nl6uz-y9t0ja',
messages: 2,
before: 253,
after: 253,
textLimit: 8192,
toolInputLimit: 24576,
toolResultLimit: 8192,
window: 3
}
Notes / Hypotheses
Possible causes to investigate:
- request shape mismatch for custom providers targeting
gpt-5.4
- missing or empty
instructions field in a Responses-style request path
- provider adapter not translating prompt/messages correctly for this custom endpoint
- error classification is too generic (
RENDERER_ERROR) and hides the real failure mode from users
Expected Behavior
One of the following should happen:
- generation succeeds on macOS with this provider/model setup, or
- the app shows a clear provider/request validation error explaining what is missing, instead of a generic failure / no-output experience
Suggested Follow-up
- inspect the custom provider request builder for
gpt-5.4
- log the effective request mode/path (chat vs responses) for this provider
- surface provider-side 400 contract errors more directly in the UI
- consider classifying this separately from renderer errors
Summary
On macOS, generation can fail with a custom provider / GPT-5.4 setup and the app produces no visible output. The user only sees a generic generation failure, while diagnostics show the underlying error:
This appears to be surfaced as a
RENDERER_ERROR, but the logs suggest the request made it throughbuild_request.okand failed aftersend_request, so the classification and user-facing error handling may be misleading.User Impact
Environment
0.1.3darwin39.8.822.22.1custom-custom-bt65gpt-5.4Diagnostic Report
RENDERER_ERROR0414cb452026-04-22T06:08:36.761Z/Users/wuhao/Downloads/open-codesign-diagnostics-2026-04-22T06-10-16.zipError Seen In Diagnostics
Relevant Log Tail
Notes / Hypotheses
Possible causes to investigate:
gpt-5.4instructionsfield in a Responses-style request pathRENDERER_ERROR) and hides the real failure mode from usersExpected Behavior
One of the following should happen:
Suggested Follow-up
gpt-5.4