openrouter 0.2.0

A library to interact with the OpenRouter API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "error": {
    "message": "Provider returned error",
    "code": 502,
    "metadata": {
      "raw": "{\n  \"error\": {\n    \"code\": 500,\n    \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n    \"status\": \"INTERNAL\"\n  }\n}\n",
      "provider_name": "Google AI Studio",
      "isDownstreamPipeClean": true,
      "isErrorUpstreamFault": true
    }
  },
  "user_id": "user_2s8cCd55e4z69e7xmlKZpzDxwV0"
}