Skip to main content
LibreChat is joining ClickHouse to power the open-source Agentic Data Stack 🎉 Learn more
LibreChat

ShuttleAI

Cấu hình ShuttleAI làm endpoint tùy chỉnh trong LibreChat.

ShuttleAI cung cấp quyền truy cập vào các mô hình Shuttle của họ thông qua API tương thích với OpenAI, được sử dụng trong LibreChat như một endpoint tùy chỉnh.

Nhận API key

Tạo một khóa từ trang khóa ShuttleAI. Thêm nó vào tệp .env của bạn:

SHUTTLEAI_API_KEY=your-api-key

Cấu hình

Thêm endpoint vào dưới endpoints.custom trong tệp librechat.yaml của bạn:

    - name: "ShuttleAI"
      apiKey: "${SHUTTLEAI_API_KEY}"
      baseURL: "https://api.shuttleai.com/v1"
      models:
        default: [
          "shuttle-2.5", "shuttle-2.5-mini"
          ]
        fetch: true
      titleConvo: true
      titleModel: "shuttle-2.5-mini"
      summarize: false
      summaryModel: "shuttle-2.5-mini"
      modelDisplayLabel: "ShuttleAI"
      dropParams: ["user", "stop"]

Hướng dẫn này thế nào?