Comment

Comment by summarity

Getting a lot of errors from OpenRouter's endpoint "Failed to get response from the AI model; retried 5 times (total retry wait time: 60.71 seconds) Last error: 429 Provider return error"

It works when it works, but will probably be flaky AF for a few days.

Works well with Copilot:

    COPILOT_PROVIDER_API_KEY=<OR key> \
    COPILOT_PROVIDER_BASE_URL=https://openrouter.ai/api/v1 \
    COPILOT_MODEL=deepseek/deepseek-v4.1-flash-1017 \
    COPILOT_PROVIDER_MAX_PROMPT_TOKENS=1048576 \
    COPILOT_PROVIDER_MAX_OUTPUT_TOKENS=700000 \
    COPILOT_OFFLINE=true \
    copilot

700000 because there's no detail yet on the safe completion limit for most harnesses (OR lists 1M for both which makes no sense). COPILOT_OFFLINE enables all calls except to OR (no GH servers).
parent summarity 14 days ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton