Pi Agent with Custom Provider

{
  "providers": {
    "my-local-llm": {
      "baseUrl": "http://localhost:8000/v1",
      "api": "openai-completions",
      "apiKey": "$MY_LOCAL_API_KEY",
      "models": [
        {
          "id": "local/llm",
          "name": "Local LLM",
          "reasoning": true,
          "thinkingLevelMap": {
            "off": "none",
            "minimal": null,
            "low": "low",
            "medium": "medium",
            "high": null,
            "xhigh": "xhigh",
            "max": null
          }
          "input": ["text", "image"],
          "contextWindow": 32768,
          "maxTokens": 8192
        }
      ]
    }
  }
}

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *