الانتقال إلى المحتوى الرئيسي
يدعم Plugin مزوّد StepFun معرّفَي مزوّد:
  • stepfun لنقطة النهاية القياسية
  • stepfun-plan لنقطة نهاية Step Plan
المزوّد القياسي وStep Plan هما مزوّدان منفصلان بنقاط نهاية وبادئات مراجع نماذج مختلفة (stepfun/... مقابل stepfun-plan/...). استخدم مفتاح الصين مع نقاط النهاية .com ومفتاحًا عالميًا مع نقاط النهاية .ai.

تثبيت Plugin

ثبّت Plugin الرسمي، ثم أعد تشغيل Gateway:
openclaw plugins install @openclaw/stepfun-provider
openclaw gateway restart

نظرة عامة على المنطقة ونقطة النهاية

نقطة النهايةالصين (.com)عالمي (.ai)
قياسيhttps://api.stepfun.com/v1https://api.stepfun.ai/v1
Step Planhttps://api.stepfun.com/step_plan/v1https://api.stepfun.ai/step_plan/v1
متغير بيئة المصادقة: STEPFUN_API_KEY

الكتالوج المضمّن

قياسي (stepfun):
مرجع النموذجالسياقالحد الأقصى للإخراجملاحظات
stepfun/step-3.5-flash262,14465,536النموذج القياسي الافتراضي
Step Plan (stepfun-plan):
مرجع النموذجالسياقالحد الأقصى للإخراجملاحظات
stepfun-plan/step-3.5-flash262,14465,536نموذج Step Plan الافتراضي
stepfun-plan/step-3.5-flash-2603262,14465,536نموذج Step Plan إضافي

البدء

اختر سطح المزوّد واتبع خطوات الإعداد.
الأفضل لـ: الاستخدام العام عبر نقطة نهاية StepFun القياسية.
1

اختر منطقة نقطة النهاية

خيار المصادقةنقطة النهايةالمنطقة
stepfun-standard-api-key-intlhttps://api.stepfun.ai/v1دولية
stepfun-standard-api-key-cnhttps://api.stepfun.com/v1الصين
2

شغّل التهيئة

openclaw onboard --auth-choice stepfun-standard-api-key-intl
أو لنقطة نهاية الصين:
openclaw onboard --auth-choice stepfun-standard-api-key-cn
3

بديل غير تفاعلي

openclaw onboard --auth-choice stepfun-standard-api-key-intl \
  --stepfun-api-key "$STEPFUN_API_KEY"
4

تحقق من توفر النماذج

openclaw models list --provider stepfun

مراجع النماذج

  • النموذج الافتراضي: stepfun/step-3.5-flash

الإعداد المتقدم

{
  env: { STEPFUN_API_KEY: "your-key" },
  agents: { defaults: { model: { primary: "stepfun/step-3.5-flash" } } },
  models: {
    mode: "merge",
    providers: {
      stepfun: {
        baseUrl: "https://api.stepfun.ai/v1",
        api: "openai-completions",
        apiKey: "${STEPFUN_API_KEY}",
        models: [
          {
            id: "step-3.5-flash",
            name: "Step 3.5 Flash",
            reasoning: true,
            input: ["text"],
            cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
            contextWindow: 262144,
            maxTokens: 65536,
          },
        ],
      },
    },
  },
}
{
  env: { STEPFUN_API_KEY: "your-key" },
  agents: { defaults: { model: { primary: "stepfun-plan/step-3.5-flash" } } },
  models: {
    mode: "merge",
    providers: {
      "stepfun-plan": {
        baseUrl: "https://api.stepfun.ai/step_plan/v1",
        api: "openai-completions",
        apiKey: "${STEPFUN_API_KEY}",
        models: [
          {
            id: "step-3.5-flash",
            name: "Step 3.5 Flash",
            reasoning: true,
            input: ["text"],
            cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
            contextWindow: 262144,
            maxTokens: 65536,
          },
          {
            id: "step-3.5-flash-2603",
            name: "Step 3.5 Flash 2603",
            reasoning: true,
            input: ["text"],
            cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
            contextWindow: 262144,
            maxTokens: 65536,
          },
        ],
      },
    },
  },
}
  • المزوّد حزمة خارجية رسمية؛ ثبّتها قبل الإعداد.
  • step-3.5-flash-2603 متاح حاليًا فقط على stepfun-plan.
  • يكتب مسار مصادقة واحد ملفات تعريف مطابقة للمنطقة لكل من stepfun وstepfun-plan، لذلك يمكن اكتشاف السطحين معًا.
  • استخدم openclaw models list وopenclaw models set <provider/model> لفحص النماذج أو تبديلها.
للاطلاع على النظرة العامة الأوسع للمزوّدين، راجع مزوّدو النماذج.

ذو صلة

اختيار النموذج

نظرة عامة على جميع المزوّدين، ومراجع النماذج، وسلوك تجاوز الفشل.

مرجع الإعداد

مخطط الإعداد الكامل للمزوّدين، والنماذج، وPlugins.

اختيار النموذج

كيفية اختيار النماذج وإعدادها.

منصة StepFun

إدارة مفاتيح API الخاصة بـ StepFun ووثائقها.