Providers

StepFun

Plugin ของผู้ให้บริการ StepFun รองรับรหัสผู้ให้บริการสองรายการ:

  • stepfun สำหรับปลายทางมาตรฐาน
  • stepfun-plan สำหรับปลายทาง Step Plan

ติดตั้ง Plugin

ติดตั้ง Plugin อย่างเป็นทางการ แล้วรีสตาร์ท Gateway:

bash
openclaw plugins install @openclaw/stepfun-provideropenclaw gateway restart

ภาพรวมภูมิภาคและปลายทาง

ปลายทาง จีน (.com) โกลบอล (.ai)
มาตรฐาน https://api.stepfun.com/v1 https://api.stepfun.ai/v1
Step Plan https://api.stepfun.com/step_plan/v1 https://api.stepfun.ai/step_plan/v1

ตัวแปรสภาพแวดล้อมสำหรับการยืนยันตัวตน: STEPFUN_API_KEY

แค็ตตาล็อกในตัว

มาตรฐาน (stepfun):

การอ้างอิงโมเดล บริบท เอาต์พุตสูงสุด หมายเหตุ
stepfun/step-3.5-flash 262,144 65,536 โมเดลมาตรฐานเริ่มต้น

Step Plan (stepfun-plan):

การอ้างอิงโมเดล บริบท เอาต์พุตสูงสุด หมายเหตุ
stepfun-plan/step-3.5-flash 262,144 65,536 โมเดล Step Plan เริ่มต้น
stepfun-plan/step-3.5-flash-2603 262,144 65,536 โมเดล Step Plan เพิ่มเติม

เริ่มต้นใช้งาน

เลือกพื้นผิวผู้ให้บริการของคุณ แล้วทำตามขั้นตอนการตั้งค่า

มาตรฐาน

เหมาะที่สุดสำหรับ: การใช้งานทั่วไปผ่านปลายทาง StepFun มาตรฐาน

  • เลือกภูมิภาคปลายทางของคุณ

    ตัวเลือกการยืนยันตัวตน ปลายทาง ภูมิภาค
    stepfun-standard-api-key-intl https://api.stepfun.ai/v1 นานาชาติ
    stepfun-standard-api-key-cn https://api.stepfun.com/v1 จีน
  • เรียกใช้ onboarding

    bash
    openclaw onboard --auth-choice stepfun-standard-api-key-intl

    หรือสำหรับปลายทางจีน:

    bash
    openclaw onboard --auth-choice stepfun-standard-api-key-cn
  • ทางเลือกแบบไม่โต้ตอบ

    bash
    openclaw onboard --auth-choice stepfun-standard-api-key-intl \  --stepfun-api-key "$STEPFUN_API_KEY"
  • ตรวจสอบว่าโมเดลพร้อมใช้งาน

    bash
    openclaw models list --provider stepfun
  • การอ้างอิงโมเดล

    • โมเดลเริ่มต้น: stepfun/step-3.5-flash

    Step Plan

    เหมาะที่สุดสำหรับ: ปลายทางการให้เหตุผลของ Step Plan

  • เลือกภูมิภาคปลายทางของคุณ

    ตัวเลือกการยืนยันตัวตน ปลายทาง ภูมิภาค
    stepfun-plan-api-key-intl https://api.stepfun.ai/step_plan/v1 นานาชาติ
    stepfun-plan-api-key-cn https://api.stepfun.com/step_plan/v1 จีน
  • เรียกใช้ onboarding

    bash
    openclaw onboard --auth-choice stepfun-plan-api-key-intl

    หรือสำหรับปลายทางจีน:

    bash
    openclaw onboard --auth-choice stepfun-plan-api-key-cn
  • ทางเลือกแบบไม่โต้ตอบ

    bash
    openclaw onboard --auth-choice stepfun-plan-api-key-intl \  --stepfun-api-key "$STEPFUN_API_KEY"
  • ตรวจสอบว่าโมเดลพร้อมใช้งาน

    bash
    openclaw models list --provider stepfun-plan
  • การอ้างอิงโมเดล

    • โมเดลเริ่มต้น: stepfun-plan/step-3.5-flash
    • โมเดลทางเลือก: stepfun-plan/step-3.5-flash-2603

    การกำหนดค่าขั้นสูง

    การกำหนดค่าเต็ม: ผู้ให้บริการมาตรฐาน
    json5
    {  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,          },        ],      },    },  },}
    การกำหนดค่าเต็ม: ผู้ให้บริการ Step Plan
    json5
    {  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> เพื่อตรวจสอบหรือสลับโมเดล

    ที่เกี่ยวข้อง

    Was this useful?
    On this page

    On this page