360 Secure SkillHub
360 安全技能中心

Pordl App Setup

通过设置自定义 Base URL,把聊天界面、编程助手、写作工具等任何 OpenAI 兼容应用指向 PORDL 作为模型后端;提供通用配置项(Base URL、API Key、模型)、多款应用的专属设置说明、推荐参数以及常见连接失败与限流问题的排查步骤。

plagtech
plagtech
热度 15.97
最近更新 2026-07-18 07:04:30
分类:开发依赖:第三方 API应用场景:API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pordl-app-setup
Metadata
name
pordl-app-setup
description
Connect any OpenAI-compatible application to PORDL as its model backend by setting a custom base URL. Use this skill when the user wants to point a chat UI, coding assistant, or writing tool (Open WebUI, LibreChat, Continue, Cline, Aider, Obsidian AI plugins, or anything built on the OpenAI SDK) at a custom OpenAI-compatible endpoint, or asks how to use PORDL inside an existing app.
version
1.0.0
homepage
https://api.pordl.dev
metadata
{"openclaw":{"requires":{"bins":["curl"]},"envVars":[{"name":"PORDL_API_KEY","required":false,"description":"PORDL API key from pordl.dev. This skill walks the user through creating one if missing."}]}}

PORDL App Setup

Point any OpenAI-compatible app at PORDL in under five minutes. One key, flat monthly pricing, automatic model routing.

Agent Instructions

Walk the user through one step at a time and confirm each step succeeded before continuing. Never ask the user to paste their API key into chat — have them enter it directly in the app's settings or set it as an environment variable. If the connection fails, work through the Troubleshooting section in order.

The Universal Setup

Any app that supports a custom OpenAI endpoint works with PORDL:

  • Base URL: https://api.pordl.dev/v1
  • API Key: the user's pd_live_ key from https://api.pordl.dev (free tier: 100K credits/month, no card required)
  • Model: auto (PORDL picks the best model per request), or any model from https://api.pordl.dev/v1/models

App-Specific Notes

Open WebUI

Settings → Connections → OpenAI API → set the base URL and key above. Models populate automatically.

LibreChat

Add a custom endpoint in librechat.yaml with baseURL: https://api.pordl.dev/v1 and apiKey: ${PORDL_API_KEY}.

Continue / Cline / Aider (coding assistants)

Configure an OpenAI-compatible provider with the base URL above. For coding, routing_mode: "balanced" (the default) sends simple completions to budget models and complex refactors to stronger ones.

Anything on the OpenAI SDK

from openai import OpenAI
client = OpenAI(api_key="pd_live_...", base_url="https://api.pordl.dev/v1")

Recommended Settings

  • Streaming: on — responses render as they generate.
  • Context size: match the selected model's limit (see /v1/models); 8K–32K is practical for most chat sessions.
  • Max response length: 400–600 tokens for chat pacing; 1500+ for long-form drafting.

Troubleshooting

"Could not connect" or "Invalid API key"

  • Key should start with pd_live_
  • Base URL must be exactly https://api.pordl.dev/v1 (with /v1)
  • Check account status at https://api.pordl.dev

Responses are slow

  • Use auto or a budget model; reduce context size if set very high
  • Confirm streaming is enabled

Hit the monthly credit limit

Content Policy

All requests pass an automated content-safety check; prohibited content is refused. See https://api.pordl.dev/aup.

Links