Forge
Forge's openai_compatible provider uses Chat Completions. Start from a shell with DODO_ROUTER_URL and DODO_ROUTER_API_KEY set. Verify your router URL and key.
Print the base URL, then start Forge's provider login.
printf '%s/v1\n' "$DODO_ROUTER_URL"
forge provider login openai_compatible
When prompted, paste the printed URL and the same router key you saved in DODO_ROUTER_API_KEY. Forge saves the provider credential locally.
Select the router slug as Forge's model ID. This is the ID returned by the router's GET /v1/models endpoint. The routing chain chooses the upstream model.
forge config set model openai_compatible "${DODO_ROUTER_URL##*/}"
forge -p "Reply with the word pong."
Look for the assistant's answer in the terminal. In Logs, select your router and open the request containing the prompt. If Forge reports Empty completion received and retries, stop the prompt and check the assistant text and finish reason in that trace, even if the router recorded HTTP 200.
Once the single prompt returns an answer in the terminal, run forge for an interactive session.