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

Moonshot

LibreChat에서 Moonshot AI를 사용자 지정 endpoint로 구성하세요.

Moonshot AI는 LibreChat에 사용자 지정 endpoint로 추가할 수 있는 OpenAI 호환 API를 통해 Kimi 모델을 제공합니다.

API 키 발급받기

Moonshot platform에서 키를 생성하세요. 이를 .env 파일에 추가하세요:

MOONSHOT_API_KEY=your-api-key

구성

librechat.yamlendpoints.custom 아래에 해당 endpoint를 추가하세요:

    - name: "Moonshot"
      apiKey: "${MOONSHOT_API_KEY}"
      baseURL: "https://api.moonshot.ai/v1"
      models:
        default: ["kimi-k2.5"]
        fetch: true
      titleConvo: true
      titleModel: "current_model"
      modelDisplayLabel: "Moonshot"

참고 사항

  • kimi-k2.5kimi-k2-thinking과 같이 추론 기능이 있는 모델의 경우, 도구 호출(tool calls)과 함께 추론을 인터리빙(interleaved)하려면 엔드포인트 name"Moonshot"(대소문자 구분 없음)으로 설정해야 합니다. 다른 이름을 사용할 경우 thinking is enabled but reasoning_content is missing in assistant tool call message와 같은 오류가 발생합니다. 자세한 내용은 Moonshot 문서를 참조하세요.

이 가이드는 어떤가요?