Skip to content

[Bug]: PROVIDER_ERROR (fp: 785f2349) #402

Open

Description

@dsoasti

Description

I'd love to write something but I have no idea why this window opened

Steps to reproduce

I'd love to write something but I have no idea why this window opened

Expected behavior

I'd love to write something but I have no idea why this window opened

Actual behavior

429 Provider returned error
meta-llama/llama-3.3-70b-instruct:free is temporarily rate-limited upstream. Please retry shortly, or add your own key to accumulate your rate limits: [url omitted]

open-codesign version

0.2.0

Platform

Windows

OS version

Windows 11 (10.0.26200)

Model provider (if relevant)

No response

Error code

PROVIDER_ERROR

Diagnostics bundle

Bundle saved locally at ~\Downloads\open-codesign-diagnostics-2026-07-08T19-10-07.zip. Attach it to this issue after submitting.

Logs

}
[2026-06-19 18:08:59.503] [info]   (main:ipc) agent.turn_start { runId: 'mqljfp46-gvjwhd', generationId: 'mqljfp46-gvjwhd' }
[2026-06-19 18:10:00.518] [info]   (main:ipc) agent.turn_end {
  runId: 'mqljfp46-gvjwhd',
  generationId: 'mqljfp46-gvjwhd',
  deltas: 0,
  tools: 0
}
[2026-06-19 18:10:00.533] [info]   (main:ipc) agent.end { runId: 'mqljfp46-gvjwhd', generationId: 'mqljfp46-gvjwhd' }
[2026-06-19 18:10:00.535] [error]  (main:ipc) [generate] step=send_request.fail {
  runId: 'mqljfp46-gvjwhd',
  generationId: 'mqljfp46-gvjwhd',
  provider: 'custom-openrouter-z1zq',
  modelId: 'meta-llama/llama-3.3-70b-instruct:free',
  ms: 61034,
  stopReason: 'error'
}
[2026-06-19 18:10:00.540] [error]  (main:ipc) generate.fail {
  runId: 'mqljfp46-gvjwhd',
  generationId: 'mqljfp46-gvjwhd',
  ms: 214814,
  provider: 'custom-openrouter-z1zq',
  modelId: 'meta-llama/llama-3.3-70b-instruct:free',
  baseUrl: '[url omitted]',
  status: 429,
  message: '429 Provider returned error\n' +
    'meta-llama/llama-3.3-70b-instruct:free is temporarily rate-limited upstream. Please retry shortly, or add your own key to accumulate your rate limits: [url omitted]',
  code: 'PROVIDER_ERROR'
}
[2026-06-19 18:10:00.832] [error]  (renderer:console) [store] applyGenerateError {"generationId":"mqljfp46-gvjwhd","designId":"e58314c3-7a5b-4f47-8ead-da1214d70dbb","message":"Error invoking remote method 'codesign:v1:generate': CodesignError: 429 Provider returned error\nmeta-llama/llama-3.3-70b-instruct:free is temporarily rate-limited upstream. Please retry shortly, or add your own key to accumulate your rate limits: [url omitted]"} {}
[2026-07-08 11:07:55.032] [info]   [boot] open-codesign starting {
  version: '0.2.0',
  platform: 'win32',
  electron: '39.8.9',
  node: '22.22.1'
}
[2026-07-08 11:07:58.151] [info]   (main:boot) templates.ensure {
  action: 'skipped',
  source: '[path omitted] Soasti[path omitted] CoDesign[path omitted]',
  dest: '[path omitted] Soasti[path omitted]',
  copiedFiles: 0,
  updatedFiles: 0
}
[2026-07-08 14:08:01.962] [info]   (diagnostics-ipc) diagnostics.reported {
  localId: 'db-12',
  code: 'GENERATION_FAILED',
  fingerprint: '7a92d5b3',
  persistedEventId: 12,
  bundlePath: '[path omitted] Soasti[path omitted]'
}

Activity

  1. added
    bugSomething isn't working
    triageAwaiting maintainer review
    on Jul 8, 2026
  2. github-actions commented on Jul 8, 2026

    @github-actions
    Contributor

    Thank you for the detailed report @dsoasti. The error you're seeing is a 429 rate limit from OpenRouter when using the free tier of meta-llama/llama-3.3-70b-instruct:free.

    What happened

    Open Router's free models have strict rate limits. When you tried to generate a design, the upstream provider returned a 429 status, which Open CoDesign correctly surfaces as a PROVIDER_ERROR (error code: PROVIDER_ERROR). The log confirms:

    [error] (main:ipc) generate.fail {
      ...
      provider: 'custom-openrouter-z1zq',
      modelId: 'meta-llama/llama-3.3-70b-instruct:free',
      status: 429,
      message: '... is temporarily rate-limited upstream. Please retry shortly, or add your own key to accumulate your rate limits'
    }
    

    The error window appeared because the generation failed – it's the app's way of notifying you that the request didn't go through.

    How to resolve

    • Wait and retry – Free OpenRouter rate limits reset after a short period (usually a few minutes). Try your prompt again later.
    • Use a paid model – Switch to a non-free model like meta-llama/llama-3.3-70b-instruct (without :free) and add your OpenRouter API key in settings. Paid tiers have much higher rate limits.
    • Use a different provider – Configure a different model (e.g., Claude, GPT, Gemini, DeepSeek) via your own API key or a direct provider connection.

    Code context

    Error handling for provider failures lives in apps/desktop/src/main/ipc/generate.ts (around line 120–150) where the main process captures provider errors and forwards them to the renderer. The specific error message comes from the pi-ai adapter in packages/providers/.

    We have seen similar reports (e.g., #385, #372) – this is expected behavior for rate-limited free endpoints and not a bug in Open CoDesign itself.

    Feel free to attach the diagnostics bundle you saved – it may help confirm there are no other issues. If you continue to see this error with a paid model, please let us know.


    Open-CoDesign Bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting maintainer review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions